Repository navigation
test: verify published content callback image contract - #1098
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
marked this pull request as ready for review
October 21, 2026 23:52
sidneyswift
marked this pull request as draft
October 22, 2026 00:10
sidneyswift
force-pushed
the
codex/content-callback-docs-contract
branch
from
October 22, 2026 00:27
beebbce to
325b29a
Compare
sidneyswift
marked this pull request as ready for review
October 22, 2026 00:40
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.
Binds the documented optional
results[].imageUrland callback responses to the actual route, validator, handler and poster from #1097. Synthetic cases cover image retention/order, MIME and download fallback, the existing filename rule, video-only compatibility, secret validation before JSON parsing, the unconfigured-bot 503, 400 issue paths, normal 200 acknowledgement and skipped terminal retries. Only contract tests, the shared fixture and verification README change; runtime behavior is unchanged.The Records P2/P3 correction records the actual 200/400/401/503 schemas, examples and shared CORS boundaries. A 200 acknowledgement does not prove file delivery; no stable 500 envelope, browser-preflight, image-only generation or exactly-once guarantee is added. Both this PR and Marketing #222 remain drafts pending Records acceptance. Marketing currently pins this preparatory API candidate and must refresh to the actual merge before release.
Validation: 285 focused tests across 28 files pass, including 20 published-callback cases and both model-option suites from #1099; the new response cases first failed for the missing fixture (8 failed, 12 passed). Constructor typecheck, full lint, changed-file formatting and whitespace pass. Whole-project TypeScript retains exactly 211 inherited diagnostic lines with none added; it is not clean. The two shared fixtures match. Source acceptance, actual merge pins, normal publication and real Slack delivery are separate gates; original #438 and broader holds remain open.
Rebased onto actual #1099 merge
3ae02e2dcc79f3d3188fb4371a288108a455a755. The complete three-file callback contribution is byte-identical to the prior corrected version; all five sibling files match the accepted merge. Fresh real-base review and Records acceptance remain separate from readiness; no automatic Cubic review ran after the branch rewrite.Summary by cubic
Binds the documented optional
results[].imageUrlcallback field from #1097 to the actual route, validator, handler, and poster using synthetic bot/thread/media leaves. Only the contract tests, shared fixture, andlib/contracts/README.mdchange; runtime behavior is unchanged.content.jsonsource hash to preserve the callback example's source formatting; the API fixture release precedes the actual Marketing source pin, and the coordinator owns merge/release.Written for commit 325b29a. Summary will update on new commits.