zed/crates/client
Tom Houlé 8d28ca5c01
client: Reconnect cloud websocket after it disconnects (#57078)
The cloud websocket was established once during sign-in and never
re-established. On any server restart or transient network drop the
connection task exited. yawc itself does not reconnect.

This wraps `connect_to_cloud` in a long-lived task that re-establishes
the websocket with exponential backoff and jitter, reusing
`INITIAL_RECONNECTION_DELAY` and `MAX_RECONNECTION_DELAY` so the
behavior matches the Collab reconnect loop in the same module.

Part of CLO-713.

Release Notes:

- N/A
2026-05-21 15:21:19 +00:00
..
src
Cargo.toml
LICENSE-GPL