Files
zed/crates/remote
狐狸 b25dc09370 remote: Separate handshake and resync timeouts during remote reconnection (#65457)
## Summary

Remote reconnection previously reusing the heartbeat timeout (5 secs),
and started the resync timeout before the new connection completed its
handshake. As a result, the timeout could expire before the handshake
finished.

Refactored the code to introduce separate timeouts for the handshake and
resync, with the resync timeout starting after the handshake completes.

Also moved the tests previously located in the middle of the file to the
end.

## Testing

A new integration test.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [ ] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- Improved timeout handling for SSH reconnections
2026-10-14 16:08:57 +00:00
..