Skip to content

fix(egress): retry a transcribe submit that failed instead of dropping it - #48

Merged
zyx1121 merged 1 commit into
mainfrom
fix/egress-retry-transcribe-submit
Nov 4, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
fix/egress-retry-transcribe-submit

Conversation

@zyx1121

@zyx1121 zyx1121 commented Nov 4, 2026

Copy link
Copy Markdown
Member

Why

When transcribe refused an upload, egress-upload deleted the local MP4. The recording never got a transcript, and winlab-helper was never told. The 11-02 wnc-ahts recording was lost this way.

What

  • egress-upload: a failed submit keeps the MP4 as retry-<sha>.mp4 with need_submit=1, and logs the HTTP code and body.
  • egress-transcribe: resends it every 10 minutes. After 6 hours it hands off with TRANSCRIPT_STATUS=failed and an empty TX_JOB_ID, so the helper runs its own ASR.
  • README: documents the retry.

Verify

Installed on egress01 and egress02. The lost recording was requeued on egress02 from Nextcloud through the new path.

🤖 Generated with Claude Code

…g it

A failed submit deleted the local MP4, so the recording never got a
transcript and winlab-helper was never told (the 11-02 wnc-ahts recording).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 5519afb into main Nov 4, 2026
4 checks passed
@zyx1121
zyx1121 deleted the fix/egress-retry-transcribe-submit branch November 4, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant