Repository navigation
cmux-next CI: run OmnibarFieldEditorTests in the isolated field-editor step - #17626
Conversation
…or step In the shared package-test process the omnibar's field editor lost its IME marked text mid-test (markedTextNeverCompletesAndItsCommitDoes): 1 of 4 whole-package runs on the fleet, 0 of 11 with the suite alone or with only CmuxNextBrowserTests. The editor itself dropped it while still first responder, so no wait in the test can fix it. The suite joins OmnibarTypingTests in its own process; every test still runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r-field-editor-isolated
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…r-field-editor-isolated
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/37531168822 at cbae0d8 failed: cmux-next swift test, wait for the same-tree cmux-tui. |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/37531238294 at 32e07d1 failed: cmux-next swift test, wait for the same-tree cmux-tui. |
…17652) * test(cmux-next): a density change keeps the omnibar's selection and marked text Red on the current code: the density binding writes the field text again, which replaces the active field editor's storage, drops the marked text and puts the caret at the end. OmnibarViewTests changes the density while the other omnibar suites run, which is the flake in OmnibarFieldEditorTests and OmnibarSelectionViewTests (#17601, #17626). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cmux-next): a density change restyles the omnibar field in place The density binding wrote the field text again, which replaced the active field editor's storage: an input method's composition was dropped and the caret moved to the end of the URL. It now sets the font on the editor's text in place, as a theme change recolors it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(cmux-next): the density test runs the bar's appliers, not a global change Changing DesignSettings.shared mid-test would disturb the suites running beside it, the failure this PR fixes. The test runs the bar's density appliers directly instead; restyle documents that it sets only the font while editing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Summary
OmnibarFieldEditorTests.markedTextNeverCompletesAndItsCommitDoesfails intermittently on CI (for example #17520, job 112399297991:isComposingfalse, 35.8 s) and blocks unrelated PRs.The failure isn't a check that runs too early. On a fleet mini, running the whole package the way CI does, the failure reproduced in 1 of 4 runs. In that run, the field editor itself dropped its IME marked text partway through the test (
editor.hasMarkedText()false while it was still first responder), and the omnibar state followed. No wait inside the test can fix that. With the suite alone (8 runs) or with onlyCmuxNextBrowserTestsat CI's width (3 runs), it passed every time.So the suite now runs in the existing isolated field-editor step, next to
OmnibarTypingTests, which runs alone for the same reason ("unrelated UI suites can change focus"). It's skipped in the shared step, and every test still runs.CmuxNextBrowserTestsonly, width 6Verification
cmux-next swift testjob on this PR runs the suite in the isolated step.Changelog
none
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Moves
OmnibarFieldEditorTestsinto the existing isolated field-editor CI step so its intermittent IME-related failures no longer block unrelated PRs.CmuxNextBrowserTests..github/workflows/cmux-next.yml.Written for commit e610376. Summary will update on new commits.