Repository navigation
Harden SSE chat-stream CRLF boundaries (#714) - #722
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe SSE chat stream parser now handles CRLF boundaries across chunks, preserves single-line payloads, skips empty events, and recognizes padded ChangesSSE parser handling
Estimated code review effort: 2 (Simple) | ~10 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/utils/chat-stream.test.tstypescript-eslint does not support TS 7.0. Oops! Something went wrong! :( ESLint: 10.9.1 Error: typescript-eslint does not support TS 7.0. src/utils/chat-stream.tsESLint skipped: the matched ESLint configuration already failed (config-incompatibility). 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 |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
me | 1f37e8b | Commit Preview URL Branch Preview URL |
Aug 26 2026, 06:12 AM |
Bundle ReportChanges will decrease total bundle size by 631.89kB (-54.67%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: molecular-mars-esmAssets Changed:
Files in
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
Kernel of closed #714 only. Not a Jules reopen.
Per-line trailing CR strip after
split('\n'), skip blank lines, restore.trim()on the single-line fast path so padded[DONE]still matchesDONE_MARKER. Tests for split CRLF, consecutive blanks, and padded[DONE].Files:
src/utils/chat-stream.ts+src/utils/chat-stream.test.tsonly. No.jules/engine.md. No journal. Noenv.d.tsstubs.Stay draft. Overlay 69ca717 stays. Hire LinkedIn. Live fbdfd60 stands. Stay off #698 #691 #597.
Closes nothing until freeze + dual PASS (issue #714 is already closed).
Summary by CodeRabbit
Bug Fixes
Tests