Repository navigation
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 8 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (7)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe SSE decoder now recognizes CR, LF, and CRLF line endings, including CRLF split across chunks. New tests cover delimiter handling and event dispatch. English and Korean guides and byte-accounting documentation describe the supported behavior. ChangesSSE line endings
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change appears ready for normal validation; no specific merge-blocking behavior has been identified. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The change corrects event framing without introducing a new exposed interface or weakening the inspected validation and resource limits. No material security risk introduced or worsened by this change was identified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (5 skipped: 5 unsupported.) ✨ 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
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
|
Please review the current head @coderabbitai review @codex review |
✅ Action performedReview finished.
|
|
Please review the current head @coderabbitai review @codex review |
|
…ks (carry #6439) (#6446) * fix(streaming): decode CR-delimited server-sent events * fix: address review feedback for PR #6439 * fix(streaming): keep CR/LF delimiter search native and cover split CRLF framing Carry follow-up for #6439. Replace the per-character delimiter loop with cached indexOf cursors for the next CR and LF, so the shared decoder keeps native, linear scanning on every provider stream. Add explicit cases for a CRLF split between chunks (including an empty chunk in between), LFCR, many records in one chunk for each framing, a UTF-8 code point split next to CR, and raw versus escaped CR in data. Give the Korean guide section a Korean heading and record the cursor search in the byte-accounting owner doc. Co-authored-by: 정우철 <[email protected]> --------- Co-authored-by: 정우철 <[email protected]>
Summary
8b23fe340a53799aac5ad7654582a75df7ade7c8; this PR contains only this change.Verification
Validated on Windows with Bun 1.4.0 at current head
12d862cdf38b6088a93c32530917ca56f97f7182. The layout and file-size guards run from a fresh worktree with the default test budget; no guard, fixture directory, baseline cap, or timeout was changed.bun run scripts/test.ts tests/responses/sse-carriage-return.test.ts tests/responses/sse-decoder.test.ts: PASS, 14 pass / 0 fail.bun node_modules/typescript/bin/tsc --noEmit: PASS, exit 0.bun scripts/structure-ssot.ts: PASS, exit 0.bun scripts/privacy-scan.ts: PASS, exit 0.bun run scripts/test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts tests/ci-workflows/file-size-ratchet.test.ts: PASS, 27 pass / 0 fail.The first validation from the original Windows checkout failed on a pre-existing EPERM fixture directory and, in some runs, a five-second subprocess timeout. Those attempts remain historical failures; the fresh-worktree current-head guard result above replaces neither the failure record nor a required CI run. The first cold file-size scan for #6429 also exceeded five seconds, then passed at the same head on the same default budget. No inaccessible fixture was deleted and no test budget was raised.
Integration validation used actual local merges of all ten PR heads onto dev
03ed9a3b1c1535d25f8f47c3d6bf38db8ffc1fc9(local-only assembled commitdd7d1fe254c3fc86144a2c3cce0ae483332b55bb). Owner-contract edits in runtime/config/usage now merge independently; shared observe.ts consumers merge without a source conflict. Additive EN/KO document-append conflicts and test-map insertion conflicts were reconciled by retaining both sections/registrations, not choosing one PR over another.Full
bun run testandbun run test:changedremain unrun: nine small independently validated revisions plus a combined 24-file run share one Windows machine, so repeated full repository runs on each draft would be disproportionate. The explicit regression files cover the touched behavior and source-oracle consumers; broader platform/integration coverage remains for exact-head CI. Updated-head CI and automated review must be confirmed separately; older-head results, queued jobs, skipped jobs, and approval-pending runs are not passing evidence.Review response: Documented the fixture collector and its assertion that decoder retention is released. Added function documentation addresses the warning in source; the remote coverage percentage is not claimed as rerun. All descriptions retain only the gate-managed canonical readiness checklist.
Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit