1.7 KiB
1.7 KiB
id, title, status, assignee, created_date, labels, dependencies, references, parent_task_id, priority
| id | title | status | assignee | created_date | labels | dependencies | references | parent_task_id | priority | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ML-169.4 | Phase 1: Async message audit (LiveComponent → Parent handle_info coverage) | To Do | 2026-05-08 08:59 |
|
|
ML-169 | 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