Skip to content

Retry incomplete caption requests across processor slots - #12

Merged
devhims merged 1 commit into
mainfrom
fix/caption-slot-fallback
Aug 19, 2026
Merged

Retry incomplete caption requests across processor slots#12
devhims merged 1 commit into
mainfrom
fix/caption-slot-fallback

Conversation

@devhims

@devhims devhims commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • retry empty, partial caption-track results through an alternate processor slot
  • retry transcript NOT_FOUND responses through an alternate processor slot
  • preserve genuine empty caption results and terminal transcript 404s after all slots agree
  • keep unrelated resource 404s non-retryable

Root cause

YouTube can transiently return a playable player response without its caption catalog. The processor previously exposed that as either an empty partial 200 or a transcript 404, while the Worker only failed over on 502, 503, and 504. A healthy alternate processor slot was therefore never attempted.

Impact

Caption and transcript requests can recover transparently when one processor session receives an incomplete YouTube response, without changing the public contract for genuinely captionless videos.

Validation

  • npm --prefix platform run build
  • npm --prefix platform test
  • focused processor-client regression suite: 9 tests passed
  • full platform suite: 184 tests passed
  • processor container suite: 7 tests passed
  • git diff --check

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
video2ctx-web Ready Ready Preview Aug 19, 2026 10:19am

@devhims
devhims marked this pull request as ready for review August 19, 2026 11:01
@devhims
devhims merged commit 316afa3 into main Aug 19, 2026
7 checks passed
@devhims
devhims deleted the fix/caption-slot-fallback branch August 19, 2026 11:01
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