Repository navigation
Fix duplicate and lost IME terminal commits - #9235
Conversation
|
Caution Review failedFailed to post review comments. We encountered an issue with GitHub. Use ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (4)src/renderer/src/**/*.{tsx,ts,css}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/renderer/src/**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,jsx,ts,tsx,sh,ps1}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (3)📚 Learning: 2026-06-16T15:35:16.815ZApplied to files:
📚 Learning: 2026-06-24T11:33:31.894ZApplied to files:
📚 Learning: 2026-07-08T00:01:30.534ZApplied to files:
🪛 Betterleaks (1.6.1)config/patches/@[email protected][high] 6-6: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) [high] 7-7: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) 📝 WalkthroughWalkthroughAdds a patched dependency entry for 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
Co-authored-by: Orca <[email protected]>
ea55499 to
0d834ca
Compare
Co-authored-by: Orca <[email protected]>
Summary
Fixes #8861
Deterministic reproduction
Environment: Ubuntu 22.04 ARM64, headful X11 at 1600x1000, Openbox, IBus 1.5.26, ibus-hangul 1.5.4, Electron 43.1.0 / Chrome 150, and a real Orca PTY.
Expected visible input and exact PTY bytes:
Implementation
Risk and performance
The residual correctness risk is a narrow ambiguity when an intentional repeated string is identical to the duplicate observation during the pending-finalizer window. Gating reconciliation to that existing window limits the surface.
The ordinary keypress path adds one function call and a boolean check. Reconciliation runs only when composition finalization is already pending. This adds no timer, render, IPC, PTY, SSH, or relay work, so a measurable throughput or latency regression is not expected.
This logic belongs in the terminal input state machine. We should upstream it and remove the package patch after the corresponding dependency release is adopted.
Validation
Made with Orca 🐋