Use errgroup for bounded transcription work

This commit is contained in:
2026-08-31 23:55:08 +00:00
parent f1eef5b5e9
commit 7c782a2603
5 changed files with 47 additions and 80 deletions

View File

@@ -16,7 +16,7 @@ Generate raw per-speaker transcripts from prepared audio using WhisperX.
- discovers prepared audio from manifest inputs or canonical audio directory.
- derives the transcript identity from the prepared `.flac` filename.
- dispatches WhisperX requests through a bounded worker pool.
- dispatches one WhisperX request per prepared file through a bounded errgroup.
- validates each output as JSON.
- writes run-local outputs then materializes canonical transcript outputs only
after every planned request succeeds.

View File

@@ -372,7 +372,7 @@ own those files.
## Stage 5 — Replace The Transcription Worker Pool With Errgroup
**Status: Pending**
**Status: Completed**
### Goal