Skip to content

recent_projects: Fix remote reconnect when server is not running (#49834) (cherry-pick to preview)#49871

Merged
Veykril merged 1 commit intov0.225.xfrom
cherry-pick-v0.225.x-43255200
Feb 25, 2026
Merged

recent_projects: Fix remote reconnect when server is not running (#49834) (cherry-pick to preview)#49871
Veykril merged 1 commit intov0.225.xfrom
cherry-pick-v0.225.x-43255200

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Feb 23, 2026

Cherry-pick of #49834 to preview


Closes #49363

When an existing remote workspace's connection is dead (e.g. the server
died and reconnect failed, leaving the client in ServerNotRunning
state), remote_connection() returns None. Previously this caused an
error dialog, blocking reconnection — the user had to manually switch to
another project and back to recover.

Now the code falls through to establish a fresh connection instead,
matching the previous behavior where clicking "Reconnect" would just
work.

Release Notes:

  • Fixed remote reconnect failing with an error when the server is not
    running, now establishes a fresh connection instead.

@zed-zippy zed-zippy bot requested review from a team as code owners February 23, 2026 11:40
@zed-zippy zed-zippy bot requested review from SomeoneToIgnore and reflectronic and removed request for a team February 23, 2026 11:40
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 23, 2026
@zed-community-bot zed-community-bot bot added the bot Pull requests authored by a bot label Feb 23, 2026
)

Closes #49363

When an existing remote workspace's connection is dead (e.g. the server
died and reconnect failed, leaving the client in `ServerNotRunning`
state), `remote_connection()` returns `None`. Previously this caused an
error dialog, blocking reconnection — the user had to manually switch to
another project and back to recover.

Now the code falls through to establish a fresh connection instead,
matching the previous behavior where clicking "Reconnect" would just
work.

Release Notes:

- Fixed remote reconnect failing with an error when the server is not
running, now establishes a fresh connection instead.
@Veykril Veykril force-pushed the cherry-pick-v0.225.x-43255200 branch from af5920c to 7aa5a8c Compare February 25, 2026 07:02
@Veykril Veykril merged commit a8a046a into v0.225.x Feb 25, 2026
27 checks passed
@Veykril Veykril deleted the cherry-pick-v0.225.x-43255200 branch February 25, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants