fix(diagnosis): Diagnosis.Queue crashes on unexpected messages #14

Closed
opened 2026-11-01 16:49:00 +00:00 by jfro · 0 comments
Owner

diagnosis/queue.ex:55 has no catch-all handle_info, so a stray message crashes the queue. mix test already logs one: FunctionClauseError on {:fake_ai_run, ...} (a test leak). Add a catch-all that logs and ignores, and fix the leaking test.

Found in the pre-1.0 gap audit of main @ 69e09f0.

diagnosis/queue.ex:55 has no catch-all `handle_info`, so a stray message crashes the queue. `mix test` already logs one: FunctionClauseError on `{:fake_ai_run, ...}` (a test leak). Add a catch-all that logs and ignores, and fix the leaking test. Found in the pre-1.0 gap audit of main @ 69e09f0.
jfro added this to the v1.0 milestone 2026-11-01 16:49:00 +00:00
jfro closed this issue 2026-11-01 17:59:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/lamplighter#14
No description provided.