SSH reconnect reliability (#19398)

Release Notes:

- SSH Remoting: Fix message reliability across restarts

---------

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Conrad Irwin 2024-10-18 15:28:08 -06:00 committed by GitHub
parent be474a6d6f
commit 98ecb43b2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 420 additions and 79 deletions

View file

@ -26,7 +26,7 @@ async fn test_sharing_an_ssh_remote_project(
.await;
// Set up project on remote FS
let (client_ssh, server_ssh) = SshRemoteClient::fake(cx_a, server_cx);
let (forwarder, server_ssh) = SshRemoteClient::fake_server(server_cx);
let remote_fs = FakeFs::new(server_cx.executor());
remote_fs
.insert_tree(
@ -67,6 +67,7 @@ async fn test_sharing_an_ssh_remote_project(
)
});
let client_ssh = SshRemoteClient::fake_client(forwarder, cx_a).await;
let (project_a, worktree_id) = client_a
.build_ssh_project("/code/project1", client_ssh, cx_a)
.await;