Repository navigation
Wait for the pane to settle before the worktree test reads its grid - #92
Merged
Merged
Conversation
The shell panel eases open over 180 ms of real time, so the pane kept shrinking after the test read its terminal grid. On a fast machine the test saw 39 rows and then 36 and failed with "the skeleton is on another grid". It now waits until the grid holds still for one full open duration before reading it.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
The ignored test
switching_between_worktreesfailed on a fast machine with "mid-switch the skeleton is on another grid" (36 rows against 39).The shell panel eases open over
Reveal::MS(180 ms) of real time. The test read the pane's terminal grid right after opening the shell, while the panel was still growing. It now waits until the grid is unchanged for one full open duration before reading it. The app is unchanged.cargo test -- --ignored switching_between_worktreespassed three runs in a row.removing_a_worktreeanda_missing_claude_offers_the_setup_windowpass, andcargo testgives 294 passed.Fixes #91