Skip to content

fix: report known content generation failure counts - #1123

Merged
sidneyswift merged 2 commits into
mainfrom
codex/content-callback-summary-current-main
Oct 24, 2026
Merged

sidneyswift merged 2 commits into
mainfrom
codex/content-callback-summary-current-main

Conversation

@sswiftdrtv

@sswiftdrtv sswiftdrtv commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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, tree 95406edc, 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.

@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
api Ready Ready Preview Oct 24, 2026 6:51am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T06:47:08.353142Z d5326f3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sidneyswift
sidneyswift merged commit 0205515 into main Oct 24, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — 59c0b861 Deployed Oct 24, 2026 by vercel[bot]
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.

2 participants