Bug: failed LAN Whisper partials lose diagnostic stderr and audio by default #10

Open
opened 2026-05-24 04:41:45 +00:00 by mathieu · 0 comments
Owner

When a live partial fails, the runner writes per-partial stderr to a temporary file such as live-partials/0003.err, but cleanup removes the whole tmpdir unless WAYSTT_LANWHISPER_KEEP_AUDIO=1.

Result: after the observed failure (partial failed 3), the exact curl/server error and offending WAV were already gone, making root-cause analysis impossible.

Expected behavior:

  • On failure, preserve diagnostic artifacts automatically, or at least copy/log the failing .err content before cleanup.
  • Include the failing segment path, file size/duration, curl exit code, and server response in session.log.

Related observed message:

LAN Whisper: partial failed 3
Audio processing failed: one or more live chunks failed transcription
When a live partial fails, the runner writes per-partial stderr to a temporary file such as `live-partials/0003.err`, but cleanup removes the whole tmpdir unless `WAYSTT_LANWHISPER_KEEP_AUDIO=1`. Result: after the observed failure (`partial failed 3`), the exact curl/server error and offending WAV were already gone, making root-cause analysis impossible. Expected behavior: - On failure, preserve diagnostic artifacts automatically, or at least copy/log the failing `.err` content before cleanup. - Include the failing segment path, file size/duration, curl exit code, and server response in `session.log`. Related observed message: ```text LAN Whisper: partial failed 3 Audio processing failed: one or more live chunks failed transcription ```
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
mathieu/murmur-wayland#10
No description provided.