Repository navigation
Open each file in the view-area tests once the one before it is shown - #852
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Nov 14, 2026
…n shell boundary The Windows hook tests read a Memory diagnostic as proof that their payload crossed the shell, and #852 widened that reading from one cause to the two a failed ask leaves. That holds only while no cause is recorded for a session the hook never read, so this case pins it: a request with no valid session is turned away before the ask and leaves no diagnostics file. A mutation that asked anyway fails it.
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
The view-area tests double-clicked several Explorer files back to back and then expected their tabs in click order.
Each open reads its file on its own worker thread (
herdr-core/src/runtime/documents.rs,start_document_open), and a file's view is added to the end of its area when its read lands (split_tree.rs,insert), so two opens close together are placed in the order their reads finish.That is the failure in #789:
f05.txtlanded beforef03.txtandf04.txtin one run, andf06.txtbeforef05.txtin the next.The tests now open one file at a time through
keepOpenInTurn, which double-clicks a row and waits until that file is selected and kept open in the area in use before opening the next; every expected shape is unchanged.Closes #789
Review
web/e2e/s7.spec.ts: the helper and its seven call sites (pinNineand six tests that opened two to four files in a row). The wait is on the shown state, and each double-click stays one action outside the poll.docs/UI_BEHAVIOR.mddoes not promise it today, and this PR does not change the product. If the answer is yes, it is a core change (placing a view when its open is asked for, or landing reads in request order) and a separate issue.Evidence
@(big.txt >small.txt)twice and@(>small.txt big.txt)once in 3 runs.web/e2e/s7.spec.tspassed 16/16 with the fix (retries 0); before the fix, the six-areas test passed 10/10 locally, so the race needs CI's timing to show up in it.