Repository navigation
Conversation
nwparker
force-pushed
the
nwparker/wsl-mover-p1-journal-temps
branch
from
October 23, 2026 11:44
31935d0 to
aa0303a
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-p1-move-ux
branch
from
October 23, 2026 11:45
3af041a to
d5584ac
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-p1-journal-temps
branch
from
October 23, 2026 14:31
aa0303a to
30f85c9
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-p1-move-ux
branch
from
October 23, 2026 14:31
d5584ac to
9c35a58
Compare
D1b-10 real-host run on awin, report bug 9: - A host that will not connect now refuses as host-unavailable, in the preview and at start, instead of "Orca could not check these projects" / an unexpected error. - A run that ends without committing reports its result on the progress channel, so a window that only follows the run (reloaded mid-move, or started elsewhere) leaves "Moving… Preparing" for the result instead of sticking there until a reload. - The preview counts terminal panes, as the terminal blockers do, not tabs. - Small transfers read in B or KB, not "0.0 MB of 0.0 MB". - A distro that stopped after the add-host list was read refreshes the list, so the button becomes Start and add, with a message that says so. - The add-host copy no longer says bridge projects keep working "as they are" with no mention that they can move to the host. Co-Authored-By: Claude <[email protected]>
nwparker
force-pushed
the
nwparker/wsl-mover-p1-journal-temps
branch
from
October 23, 2026 15:42
30f85c9 to
9142d03
Compare
nwparker
force-pushed
the
nwparker/wsl-mover-p1-move-ux
branch
from
October 23, 2026 15:42
9c35a58 to
15fa1d7
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.
Summary
Move-dialog and add-host fixes from the D1b-10 real-host run on awin (report bug 9).
Before / after
Mechanism
prepareWslMove: a connect that throws becomeswsl_move_host_unavailable(detail: connect_failed). Nothing is journaled at that point, so a refusal is safe at start too.reportWslMoveRunEnd: after any run that did not commit, main sends one more progress event carrying theresult. A window that adopted the run moves to its result stage; a window that started the run already gets the result from its own call. The driver's own line count is unchanged.wslMoveCountsreadsterminalLayoutsByTabIdand counts leaves per terminal tab.formatWslMoveBytesuses B and KB below 1 MB.AddWslHostDialogBodyrefreshes the distro list on adistro-stoppedrefusal, so consent to start stays explicit.Why this approach
Starting a stopped distro must stay the user's explicit choice, so refreshing the list beats silently starting it. Sending the end on the existing progress channel avoids a new IPC channel.
Testing
wsl-move-driver.test.ts: connect failure refuses as host-unavailable in preview and start, and the end event carries the result (fails on the old code).wsl-move-dialog-store.test.ts: an adopted run ends on its result; an unfollowed end opens nothing.wsl-move-scope-rows.test.ts: pane counting (fails on the old code).AddWslHostFormPanel.test.tsx: the new description copy.pnpm tcand the changed-code quality gate pass.Not changed
The result dialog's "Use on this computer again" promise is met now that #29833 is below this stack; its sidebar section lists every moved project, not only those with chats.