Files
orca/src
NeilandClaude 9e1443ecf2 fix(wsl-move): undo connects the WSL host after a relaunch, and startup heals a crash mid-pairing save (#33279)
* fix(wsl-move): undo connects the WSL host after a relaunch, and startup heals a crash mid-pairing save

Undo is the user's act, so it connects the host the way Connect would before asking it anything;
without that, a relaunched host with no open work refused every undo as unreachable.

A crash between refreshWslHostPairing's two writes leaves the record's bridge port off the saved
pairing, and the overlay then drops the WSL link. Startup realigns the record to the pairing.

Co-Authored-By: Claude <noreply@anthropic.com>

* test(wsl-hosts): startup realigns bridge ports before any bridge connects, and not while gated off

Co-Authored-By: Claude <noreply@anthropic.com>

* test(wsl-move): undo's terminal stop never connects a host whose Remove is pending

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-28 03:35:39 -07:00
..