Fix ready backlog recovery fairness #201
No reviewers
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
javascript
question
symphony
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/voicy!201
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/VOI-71-ready-recovery-fairness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
claim-readyscheduling between oldest and newest bucketsValidation
yarn build-tsyarn test:worker-clientyarn lintManual QA: required after deploy. Send a fresh short Telegram voice while ready backlog remains non-empty and confirm worker logs show recovered ready
claimBucket/schedulingBucketalternation and prompt completion.Post-merge production QA found one remaining VOI-71 acceptance gap after deploying #201.
What passed:
c6cadbc:yarn build-ts,yarn test:worker-client,yarn lint, andyarn test:worker-apiagainst temporary Mongo.c6cadbc, rebuilt, and restarted.What failed:
6a18c3b17ef284c99461bbe2was created asqueued_for_download(7,179 bytes, sourceMessageId556970593) but stayed queued for several minutes.6a03b36bd6d99f6f4ad9ec66withtranscriptionConcurrency=1; DB snapshot still hadready=54,queued_for_download=13,downloading=6,transcribing=2.So the oldest/newest fairness work helps, but a huge stale backlog item can still monopolize transcription and block a fresh short job. I moved VOI-71 back to
in-progresswith the production evidence and required rework.