Repository navigation
test(wsl-mover): e2e for move + 3 reloads + undo; moved panes' first view carries their whole history (restore redesign 3/3) - #32969
Closed
nwparker wants to merge 3 commits into
Conversation
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 01:02
98e3702 to
ce77bdd
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 24, 2026 01:03
94e8c74 to
747e314
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 02:29
ce77bdd to
4083c81
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 24, 2026 02:29
747e314 to
755de79
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 02:36
4083c81 to
9c76368
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 24, 2026 02:36
755de79 to
e545d10
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 02:47
9c76368 to
f89d4cb
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 24, 2026 02:48
e545d10 to
6891add
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 03:17
f89d4cb to
45c58fe
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 24, 2026 03:17
6891add to
efc9b09
Compare
This comment has been minimized.
This comment has been minimized.
This was referenced Oct 24, 2026
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 24, 2026 09:13
45c58fe to
a524f62
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
2 times, most recently
from
October 24, 2026 23:20
554460a to
398b984
Compare
This comment has been minimized.
This comment has been minimized.
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
3 times, most recently
from
October 25, 2026 00:20
ad091bc to
b1e5b73
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 25, 2026 01:47
247dfe8 to
0797306
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 25, 2026 01:47
b1e5b73 to
5b6cd87
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 25, 2026 02:21
0797306 to
c67e00c
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
2 times, most recently
from
October 25, 2026 06:31
391f26d to
304cde7
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
2 times, most recently
from
October 25, 2026 08:24
46bc798 to
ca0cf9b
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 25, 2026 08:24
304cde7 to
af2b211
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 25, 2026 10:17
ca0cf9b to
e37bcce
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 25, 2026 10:17
af2b211 to
11f826c
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 25, 2026 11:07
e37bcce to
e8d20f8
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 25, 2026 11:07
11f826c to
23add1b
Compare
…redesign 3/3, WIP) Co-Authored-By: Claude <[email protected]>
…ed history The host replays a moved pane's checkpoint once, but every remote subscribe snapshot carried at most 1000 rows, so the desktop's first view of a 2,000-line pane lost its first half. Only for panes whose session is a moved one, the subscribe snapshot now tries 5000 rows first, then 2000, then the usual ladder, within the same byte budget. Co-Authored-By: Claude <[email protected]>
…ead of sleeping Main's flaky-test ratchet flags it: it now waits until the host terminal shows the printer's last line before the pane sleeps, and each longer timeout says why. Co-Authored-By: Claude <[email protected]>
nwparker
force-pushed
the
nwparker/wsl-mover-restore-hold-reload
branch
from
October 25, 2026 12:15
e8d20f8 to
88e80a7
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-restore-e2e-undo
branch
from
October 25, 2026 12:15
23add1b to
953b086
Compare
8 of 9 tasks
Contributor
Author
|
Contained in the dark landing PR #34059 (its head commit is an ancestor of the landing branch). Closing in favour of it; branch kept. |
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.
ELI5
This PR proves the new restore works end to end, and fixes the one gap the test found: the first time the desktop showed a moved terminal, it showed only the last ~1,000 lines of its history.
What Changed
tests/e2e/wsl-move-restore-lifecycle.spec.ts):deep/), and the browser tab and the pre-move draft are there.<worktree>@@moved-<key>), the snapshot tries 5,000 rows, then 2,000, then the usual ladder, within the same 512 KiB budget.Why
The e2e showed that the checkpoint replay itself is correct (no duplicates across reloads), but the shared subscribe cap cut the first view. Raising the cap only for moved panes keeps the shared remote limit unchanged. Undo needed no further code: slice 1 stopped routing moved panes' history through scrollback refs, so the move never removes the local history folders, and slice 2 put undo on the same hold-and-reload path.
Linked Issue
Stacked on #32965 (2/3), which is stacked on #32956 (1/3).
Visual Proof
N/A: behavior change only. Evidence is the e2e output:
launch 0..3: first=1 last=1(before the fix:first=0on the first two launches), andundo: first=1 last=1.Testing
Review
Self-reviewed (the author can't spawn a separate reviewer).
Agent skill upstream boundary
Notes
Gated behind the internal WSL hosts gate. The larger row count applies only to moved-pane session ids.