Route log write errors swallowed #201

Open
opened 2026-11-21 12:36:48 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-core/src/route.rs (route log append, ~line 430)
What is hacky: failure to write the log is ignored silently.
Proper fix: surface or count failures (warning once) while still not failing the prompt.
Original comment: "ponytail: a failed log write must not fail the prompt"

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-core/src/route.rs (route log append, ~line 430) What is hacky: failure to write the log is ignored silently. Proper fix: surface or count failures (warning once) while still not failing the prompt. Original comment: "ponytail: a failed log write must not fail the prompt" Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the core label 2026-11-21 12:36:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#201