Repository navigation
Fork CI flake: wait for End's caret move before checking Mod+B bold - #1501
Merged
Merged
Conversation
…ecks (CI flake) Upstream's "bolds $word after '$prefix' with Mod+B over a selection" read the editor right after pressing End. ProseMirror reads End's caret move from Chrome's selectionchange, which can arrive after the key press resolves on a loaded runner, so the markers shown around the selection were still there and the bold check read nothing. Wait until the selection has collapsed (the caret left the markers) first. Step 2 of 2: adds the lines announced in step 1 and moves them to "added". Co-Authored-By: Claude Opus 5.5 <[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.
Part of the CI flake hunt; step 2 of pull request 1461.
Root cause. Upstream's "bolds $word after '$prefix' with Mod+B over a selection" read the editor right after pressing End. ProseMirror reads End's caret move from Chrome's
selectionchange, which can arrive after the key press resolves on a loaded runner, so the markers shown around the selection were still there and the bold check read nothing. The test now waits until the selection has collapsed (the caret left the markers) before it checks.This adds the lines announced in step 1 and moves their entry in
.github/fork-seams.jsonto "added".Checks run locally against main:
fork-schema-check,fork-upstream-files-checkandfork-seam-checkall pass. The browser test itself was not run here (local sockets are blocked on this machine); CI Test Web runs it.🤖 Generated with Claude Code