[WRONG BRANCH] fix(cursor): retain adjacent mid-stream echo diagnostics - #380
[WRONG BRANCH] fix(cursor): retain adjacent mid-stream echo diagnostics#380luvs01 wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 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 |
⏳ DRAFT
What to do
Its title has been prefixed with |
Motivation
corruptionWatchwhich could be overwritten by a later marker inside the 512-character corruption window, losing earlier findings and their accumulated corruption evidence.Description
corruptionWatchwith a bounded arraycorruptionWatchesto track multiple concurrent pending watches and preserve up toMAX_MIDSTREAM_FINDINGSfindings. (editedsrc/adapters/cursor/envelope-echo.ts).recordedand removing the settled watch. (editedsrc/adapters/cursor/envelope-echo.ts).findings()path to flush all remaining pending watches before returning recorded findings. (editedsrc/adapters/cursor/envelope-echo.ts).tests/cursor-envelope-echo-retry.test.ts).Testing
bun test tests/cursor-envelope-echo-retry.test.ts, and the updated tests passed.bun run typecheckwhich completed successfully.bun run privacy:scanwhich completed successfully.bun run test) but it encountered numerous unrelated timeouts and shared-state failures outside the modified Cursor observer code; those failures are existing, unrelated CI-scale issues and were not caused by this focused change.Codex Task