mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
f126950f9d
Opening a remote project while its workspace was still reconnecting
started a second client with the same `workspace-{id}` server
identifier. The new proxy killed the old server, the old client's
reconnect attached to the new server, and each reconnect killed the SSH
master that both clients shared, so neither connection settled. The new
client then waited out the full 60s initial timeout although its proxy
had already exited with 255.
- `open_remote_project` now focuses a workspace that is reconnecting and
waits for the reconnect to end, instead of starting a second client.
- A new `RemoteClient` stops any older live client with the same
identifier and cancels its reconnect loop, which covers the entry points
that skip workspace matching.
- The initial connection fails as soon as the proxy exits, instead of
after the 60s timeout.
Release Notes:
- Improved remote server reconnect for the same workspace