Repository navigation
feat: deliver editorial images from content callbacks - #1097
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. ⚙️ Run configuration
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. Comment |
sidneyswift
force-pushed
the
codex/content-callback-images
branch
from
October 21, 2026 23:14
f295413 to
63b7d5e
Compare
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.
Completed content runs already produce an editorial image, but the callback schema strips
imageUrland the poster delivers only videos. Retain optionalimageUrland post editorial images before videos, with a URL fallback if download fails or the reported MIME is unsupported. This is a bounded successor to #438.Use the returned PNG/JPEG/WebP/GIF MIME instead of mislabeling every image PNG. Share the existing download path and retain video Buffer/null behavior; add an image-specific filename fallback. Preserve completed-video selection, auth, thread-state retry skip, captions, video labels and failed-run counts. No image-only job, new generation step, SDK upgrade, billing change or automatic caller. MIME is reported metadata, not byte verification; existing outbound callback trust and buffering limits remain.
The existing Tasks poll mapper also drops the already-produced image. Its source companion is required for the normal pipeline; recommend API receiver first. Tasks main auto-deploys Trigger, so that companion's merge is a worker release boundary. No manual deploy or real worker call is performed here. Docs owns callback contract/publication companion; no active fixture edited.
Validation:
Head
f295413dd6704655c84fd0b153bdadd8f542bbd1, tree2f6093f6da1b42f42c645e296c24f27a3d0d43b7, base8ec416923fc8139556bdb5ebd97f2b73d4663f94. Original #438 remains untouched.API companion: recoupable/tasks#162
Refreshed onto actual API #1096 merge
7bb7677a750ff1554c2bb8396ee80c366454f3c1; new head63b7d5e10748cdde1eb504da9de3ab3e7c4b7809. Identical feature patch by range-diff. Fresh focused tests: 381 passed across 51 files; lint passed; 211 pre-existing TypeScript diagnostics byte-identical. Fresh exact-head CI and Records acceptance pending; earlier full CI totals describe preceding head.