Prevent worker crashes from huge transcriber output #199

Merged
backmeupplz merged 1 commit from codex/VOI-KANEO-72-worker-output-cap into main 2026-05-21 13:58:44 +00:00
backmeupplz commented 2026-05-21 13:50:28 +00:00 (Migrated from github.com)

Summary

  • cap Windows worker child-process stdout/stderr capture at 1 MiB while retaining total byte counts and truncation flags
  • keep output-file transcript parsing intact even when transcribers emit large progress/log streams
  • fail oversized stdout-only fallback in a controlled, non-retryable way instead of letting Node hit ERR_STRING_TOO_LONG
  • cap final transcript preview logging so completion logs do not include unbounded transcript text

Validation

  • yarn build-ts
  • yarn test:worker-client
  • yarn lint

Manual QA / Deployment

Manual production follow-up is required after review/merge: update the Windows worker checkout/install on backm@borodutch-pc, restart scheduled task VoicyWorker4070Ti, then confirm C:\voicy-worker\logs\worker.log shows the worker starts and processes jobs after restart. No browser or Telegram Web QA is required for this code-only worker crash guard.

## Summary - cap Windows worker child-process stdout/stderr capture at 1 MiB while retaining total byte counts and truncation flags - keep output-file transcript parsing intact even when transcribers emit large progress/log streams - fail oversized stdout-only fallback in a controlled, non-retryable way instead of letting Node hit ERR_STRING_TOO_LONG - cap final transcript preview logging so completion logs do not include unbounded transcript text ## Validation - yarn build-ts - yarn test:worker-client - yarn lint ## Manual QA / Deployment Manual production follow-up is required after review/merge: update the Windows worker checkout/install on backm@borodutch-pc, restart scheduled task `VoicyWorker4070Ti`, then confirm `C:\voicy-worker\logs\worker.log` shows the worker starts and processes jobs after restart. No browser or Telegram Web QA is required for this code-only worker crash guard.
Sign in to join this conversation.
No reviewers
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
backmeupplz/voicy!199
No description provided.