Repository navigation
fix: report known content generation failure counts - #1123
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When an artist requests several videos and some or all runs fail, the worker can send the failed results without an overall explanation. The API currently replies "Unknown error" despite having failure counts. Report the known count instead, such as "Content generation failed: 2 run(s) failed".
Completed callbacks also retain supplied failure/timeout counts when no video is produced or after media delivery. Explicit messages, batch status, failed-batch media suppression, authentication, validation, state-write order, captions and download/URL fallbacks remain unchanged. This adds no retry, credit, generation or media-delivery policy.
The pure worker fixture is pinned to current Tasks main
fcb3a2ec; its three producer-source hashes match. Only that exact fixture has the accepted formatting exception, checked by hash. Current polling labels non-completed runs as failed, so distinct per-run timeout inputs are defensive callback coverage rather than proof of ordinary worker timeout reporting.The branch now normally merges actual main
66b84be3, including the released email repair. The eleven callback-fix blobs and full patch are unchanged; all 27 reviewed files and 11 local callback dependency blobs remain identical. Successor:59c0b861, tree95406edc, published for fresh CI.Validation: 61 focused cases across eight files pass on the combined branch (43 callback/media/producer plus 18 email cases). Three earlier edge cases remain attributed to the identical callback source. Before the callback repair, seven reporting assertions fail while 14 controls pass. Repo lint, targeted formatting, diff and bounded callback formatter/media/fixture/schema plus email production/test type checks pass; this is not a whole-handler/project local typecheck. No real chat post, media download, provider request, job, email or database operation was performed.
Related: API #341 finding, tracked under Mono #358 and epic #318. This addresses the bounded count-reporting finding, not the complete historical PR or epic.