--- id: ML-169.4 title: "Phase 1: Async message audit (LiveComponent → Parent handle_info coverage)" status: To Do assignee: [] created_date: "2026-05-08 08:59" updated_date: "2026-05-11 06:46" labels: - audit - ready dependencies: [] references: - lib/music_library_web/components/release.ex - lib/music_library_web/live/collection_live/show.ex - lib/music_library_web/live/scrobble_live/release_show.ex parent_task_id: ML-169 priority: medium --- ## Description Audit every LiveComponent message producer against its parent LiveView's handle_info clauses. Identify any missing or dead handlers. Pre-flagged concern: the Release component renders in CollectionLive.Show with `on_release_loaded={:release_loaded}`, but CollectionLive.Show has no `handle_info({:release_loaded, _})` clause. Needs investigation — is this a dead message or a missing handler? ## Acceptance Criteria - [ ] #1 Every send(self(), ...) call site in lib/music_library_web/components/ matched against handle_info in its consumer LiveViews - [ ] #2 Release component's {:release*loaded, *} message traced end-to-end in CollectionLive.Show context — either confirmed harmless or flagged as bug - [ ] #3 All 11 message-producing components verified: RecordForm, AddRecord, Chat, Release, ArtistLive.Form, RecordSetLive.Form, RecordSetLive.RecordPicker, ScrobbleRulesLive.Form, ScrobbledTracksLive.Form, OnlineStoreTemplateLive.Form, ScrobbleRulePicker - [ ] #4 Any send/2 calls using non-{**MODULE**, \_} patterns found and verified - [ ] #5 Findings report written as a Backlog.md document with file:line references, severity ratings, and fix recommendations