Repository navigation
Conversation
Co-authored-by: sisyphus-dev-ai <[email protected]>
Owner
Author
|
On hold for the owner to review the Korean light-theme before/after captures linked above (desktop 1280 px and phone 390 px). Please do not merge until the owner has seen them. |
|
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 5 minutes. View limit details
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. |
Owner
Author
|
Superseded by #4726 |
devswha
added a commit
that referenced
this pull request
Nov 26, 2026
…an agent menu (#4726) ## Fixes - [#4697](#4697) — Grok minimal mode could report a send as successful while a mock Grok still held the message in its queue and had not drawn the queue count. A known active turn now needs a new matching echo or other existing confirmation; ambiguity is reported as “Not confirmed,” without an extra Enter. Codex reviewed original head `f8ee09ecf` once and reported no reproduced HIGH or MEDIUM findings. Closes #3977 - [#4700](#4700) — A recorded-screen test switched to an agent menu immediately after the fallback pasted text, following an `agent.prompt` refusal. The fallback now checks again before pressing Enter and reports partial delivery if it cannot rule out a menu. A confirmed withheld Enter allows a later explicit retry; a lost response does not. Codex reviewed `14da0c383` once; its two reproduced MEDIUM findings were fixed together in `bc3e9613d` without a second review. Closes #3764 Supersedes #4697 #4700 CodeRabbit was rate-limited on both source PRs and did not review them. Both fixes reuse the existing Chat composer and its notices; no new composer control or layout was added. ## Before and after ### #4697 — Grok confirmation Korean light-theme isolated demo: [desktop before](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3977-1280-before.png) / [desktop after](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3977-1280-after.png) · [phone before](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3977-390-before.png) / [phone after](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3977-390-after.png). ### #4700 — Fallback Enter Korean light-theme isolated demo: [desktop before](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3764-1280-before.png) / [desktop after](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3764-1280-after.png) · [phone before](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3764-390-before.png) / [phone after](https://github.com/devswha/ovis/blob/d1038884c66983ab7dedd6be820ff63e8a7bbef5/3764-390-after.png). ## Validation - Focused unit tests for both source PRs: 310 passed across 9 files (Grok send and queue, pending-agent-only, compose, input-line send, prompt guard, agent input send, fallback answer, and composer draft). - `bun run typecheck` and `git diff --check` passed. - `UNIT_TEST_WORKERS=4 bun run check fast`: workflow syntax, generated files, typecheck, and build passed; unit step exited 1 (27,966 passed, 2 failed, 247 skipped). Both failures (`server/ssh-account-add.test.ts` and `scripts/plugin-tui.test.ts`) reproduced on unchanged main `b0f20e7bc` with the same long `TMPDIR`. Both files passed with a short `TMPDIR` on the combined branch and on main (136 passed, 0 failed each). The full command was not rerun with the short path. - CI runner image: `unconfirmed-input-demo-regression`, `composer-send-demo-regression`, and `composer-draft-demo-regression` passed. - Full integration and native Windows checks were not run locally. The captures above are the original isolated-demo evidence, not newly taken screenshots. --------- Co-authored-by: sisyphus-dev-ai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What broke
Grok's minimal mode can draw its queue count after the message has joined the queue. When the count had not drawn, Chat could report success while the message was still waiting.
Fix
During a known active turn, an empty count with no new matching echo is not confirmation. Use the existing unconfirmed result and translated “Not confirmed” note, and do not press another Enter. This does not claim to distinguish identical queued rows from different clients.
Validation
HERDR_TEST_MODE=unit bun test ./server/core/grok-chat-send.test.ts ./src/lib/compose.test.ts(100 passed).HERDR_TEST_MODE=unit bun test ./server/core/pending-agent-only.test.ts ./server/core/grok-queue.test.ts --timeout 15000(71 passed).git diff --check.bun run check fastpassed typecheck and build but failed in TUI parity, the old Codex prompt-frame case, and runner-launcher tests during concurrent runs. All those cases passed in the exact targeted replay on both main and the branch using the same shortTMPDIR.UNIT_TEST_WORKERS=4 bun run check fastwrote a successful exit-0 verification report for unchangedf8ee09ecf(27,953 unit tests passed, 0 failed). Its monitoring shell returned 134 after the report was written.Before and after
Korean light-theme isolated demo: desktop before / desktop after · phone before / phone after.
Review notes
Codex reviewed pushed head
f8ee09ecfonce and reported no reproduced HIGH or MEDIUM findings.Closes #3977