fix(responses): surface rewrite failures before tee cancellation - #3672
fix(responses): surface rewrite failures before tee cancellation#3672devswha wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe relay now reports native passthrough rewrite failures without waiting for upstream cancellation. Tests cover resolved and rejected cancellation. Documentation describes the failure events and ChangesSSE rewrite failure handling
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to Responses SSE rewrite failures now reach clients promptly rather than waiting for upstream cancellation, while cancellation continues in the background. No concrete current-head merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
✅ Deterministic PR hygiene checks passed. |
⏳ DRAFT
What to do
Review readiness checklist
2/4 boxes ticked. This PR stays in draft until every box above is ticked. Hygiene✅ Deterministic PR hygiene checks passed. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
리뷰 · 우선순위 70 / 80이 PR은 Responses SSE 페이로드 rewrite가 실패했을 때, tee의 한쪽 지금 한 줄 패치라 부작용면은 “cancel이 완료되기 전에 downstream이 abort하는가”인데, 그게 오히려 원하는 동작(inspection 해제·클라이언트 해제)입니다. #3664 WebSocket pool 등과 충돌면은 작고, split-train과도 무관합니다.
메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Owner-authorized admin merge of #3683, carrying #3672 with original contributor commits and attribution preserved. Exact head: 75cf985. All functional producers in full cross-platform run https://github.com/lidge-jun/opencodex/actions/runs/33981578769 succeeded, including all Linux/macOS/Windows suite jobs, unsharded macOS control, type/privacy gates and platform smokes. Any remaining queued ci aggregation is evaluated directly by its success/skipped allowlist; no unexecuted tests or failures are bypassed. Independent implementation/security review passed. Foundation restacking preserved the complete layer diff byte-for-byte and retained original contributor commits. Child retargeting precedes auto-deletion. Final dev inclusion will be checked immediately after merge. Co-authored-by: Hako <25837994+devswha@users.noreply.github.com>
|
Carried into #3683 and merged to dev as |
|
Landed via #3683 at |
## Summary - Archive the five completed A runtime/routing work units and record the disposition of original PRs #3672, #3679, #3568, #3581 and #3671. All five originals are closed and their credited changes are on dev. - Record the actual final stack integration through #3716, dev merge `a2f69c8aa60976345740ae6f3d2301f89297328e`, including GitHub's automatic recognition of folded parents. Related #3661 remains open for the residual recovery scope. - [Outcome and evidence](https://github.com/lidge-jun/opencodex/blob/5a9476e522c085b3e2308935d89401d07d5ae015/devlog/_fin/260906_a_runtime_stack/090_outcome.md). ## Verification - Final candidate full CI [33991642514](https://github.com/lidge-jun/opencodex/actions/runs/33991642514): all 24 actual cross-platform producers and aggregate passed. - Integrated dev CI [33993960826](https://github.com/lidge-jun/opencodex/actions/runs/33993960826): all 17 applicable producers and aggregate passed; two dispatch-only jobs correctly skipped. - Diff against verified integration is confined to the five A documentation units. Runtime, tests and dependencies are byte-identical. Independent factual, attribution and privacy-content review passed; remote privacy scan passed at exact head `5a9476e522c085b3e2308935d89401d07d5ae015`. - No local product tests, typechecks or builds were run, as requested by the owner. ## Checklist - [x] Scope stays focused and avoids unrelated cleanup. - [x] Docs or release notes were updated when needed. - [x] Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.
Summary
Verification
bun run test tests/responses/sse-payload-rewrite.test.ts tests/responses/sse-failed-tail.test.ts— 23 passed, 0 failed on the final head with bundled Bun 1.4.0.bun run typecheckandbun run privacy:scan— passed on the final head.cd docs-site && bun run build— passed, 425 pages.bun run test:changedon final head077dd61f6— 5,221 passed, 4 skipped, 0 failed across 264 files.Checklist
Review readiness
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.