Skip to content

Bind failed chat reads to published response contracts - #1073

Merged
sidneyswift merged 1 commit into
mainfrom
codex/chat-read-error-doc-contract
Oct 21, 2026
Merged

sidneyswift merged 1 commit into
mainfrom
codex/chat-read-error-doc-contract

Conversation

@sidneyswift

@sidneyswift sidneyswift commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

A failed chat lookup must return an error rather than missing history or a successful empty list. Bind eight canonical Research/Sessions route exports to their published 500 schemas, retaining the existing fixture producer and the original three API-owned Artist/Projects response identities. Compatibility cases preserve current POST running/pending 200 resume and GET finish-only 200 SSE; a resumed POST does not accept the submitted new turn.

Built on the actual merged DB-only runtime #1072, 3a23d06f69a6db19dcd0c1092b17b27ba4d25771. Companion head: 610c069c8420cdd9e9dad3f3bf5766b2c827d352. The diff now contains only four contracts/tests/README files; no runtime implementation changes. Both the runtime tree and companion delta are identical to their independently reviewed candidate versions.

Validation on the refreshed source: 134 API contract tests, dedicated response types, owned lint/format/diff and coordinated fixture check pass. Whole-API TypeScript remains the previously recorded 211 identical baseline/candidate diagnostics, not a global pass; exact source-tree equivalence preserves that comparison. No global typecheck was unnecessarily rerun. Fresh exact-head Spec and Standards reviews each pass with zero findings. The test, format, lint and compatibility workflows all pass on this exact revision; the Vercel preview check passes. No unresolved review threads were found.

After the qualifying actual merge of this PR, Marketing #210 must refresh its source pin to that merge and receive final checks/review before release; retained Docs then follows the actual Marketing merge. Combined #1070/#1071 and Marketing #209 remain held, with their submission/client/Stop/disconnect acceptance unresolved. No new live-run rejection, POST503, queue or replay promise is introduced. All service leaves in tests are synthetic; no customer/provider request, real run, production write or manual hosting operation occurs.

@vercel

vercel Bot commented Oct 21, 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 21, 2026 8:43am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

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

⚙️ Run configuration
  • Configuration used: Repository: recoupable/api/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0cff52e7-b441-4182-9b6a-a2c8e0685701
  • 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.

This branch was successfully deployed

1 active deployment
Preview — 610c069c Deployed Oct 21, 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.

1 participant