Repository navigation
test(terminal): cover live macOS Korean syllable flush - #12284
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe macOS Korean IME scenario runner now supports delayed key input, intermediate preedit assertions, native composition commits, and final PTY output checks. A new end-to-end test verifies that 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
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.
Summary
rkskeksequence.가나has reached xterm while the active native preedit visibly contains다.가나다\nPTY bytes and가나다\rxterm data.한글and leading-vowel native scenarios from current main.Screenshots
No visual change.
Testing
pnpm lintpnpm typecheckpnpm testpnpm buildRan:
가나plus다preedit boundary and exact final PTY bytes.git diff --check.AI Review Report
Reviewed the native event boundary before and after Enter, including the failure mode where an immediate Enter masks a one-syllable display lag. The test now separates physical typing from composition commit and verifies both the user-visible preedit and the exact committed bytes.
Cross-platform compatibility was checked. This PR changes only a macOS-gated native E2E test; Linux/IBus, Windows IME, SSH and folder-workspace routing, shortcuts, labels, paths, shell behavior, production Electron code, and runtime behavior are unchanged. The broader terminal IME suite passed 269 tests covering Windows, Linux/IBus, Chinese, Japanese, Vietnamese, Sogou/fcitx, cancellation, and deduplication event shapes.
Security Audit
No production command execution, dependency, IPC, authentication, secret, or path-handling changes. The macOS-only test invokes fixed AppleScript commands with the Electron numeric process ID and fixed physical key codes, and runs only behind
ORCA_E2E_NATIVE_MACOS_KOREAN=1.Notes
PR #12280 typed
gksrmfand pressed Enter in the same native batch, which could not observe the reported liverkskekstate. The runtime composition fixes are already on main via #12278 and #12280; this PR closes the native regression-test gap.