zed/crates
Nathan Sobo 17c9aa1819 Remove ShareWorktree message
Instead, create an empty worktree on guests when a worktree is first *registered*, then update it via an initial UpdateWorktree message.

This prevents the host from referencing a worktree in definition RPC responses that hasn't yet been observed by the guest. We could have waited until the entire worktree was shared, but this could take a long time, so instead we create an empty one on guests and proceed from there.

We still have randomized test failures as of this commit:

SEED=9519 MAX_PEERS=2 ITERATIONS=10000 OPERATIONS=7 ct -p zed-server test_random_collaboration

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-02-23 11:56:09 -07:00
..
chat_panel Automatically include current view id in element state ids 2022-02-17 13:44:46 -08:00
client Download language servers on-demand 2022-02-21 13:54:52 -08:00
clock WIP - Wait for code action anchors to be valid 2022-02-14 18:05:43 -08:00
collections
contacts_panel Automatically include current view id in element state ids 2022-02-17 13:44:46 -08:00
diagnostics Automatically include current view id in element state ids 2022-02-17 13:44:46 -08:00
editor Pass an AsyncAppContext to fake language server request handlers 2022-02-23 16:14:36 +01:00
file_finder
find Allow matching on active editor's stale results if find is slow 2022-02-18 17:01:22 +01:00
fsevent
fuzzy In random collaboration test, add failing assertion for worktree convergence 2022-02-15 14:55:38 -08:00
go_to_line
gpui Don't insert input in editor when control keys are pressed 2022-02-21 18:21:27 -07:00
gpui_macros Clean db pool on drop only if assertions fail or it's the last iteration 2022-02-16 15:07:41 +01:00
journal
language Pass an AsyncAppContext to fake language server request handlers 2022-02-23 16:14:36 +01:00
lsp Pass an AsyncAppContext to fake language server request handlers 2022-02-23 16:14:36 +01:00
outline
project Remove ShareWorktree message 2022-02-23 11:56:09 -07:00
project_panel Automatically include current view id in element state ids 2022-02-17 13:44:46 -08:00
project_symbols Don't select entire item when jumping to a project symbol 2022-02-22 12:56:43 -08:00
rpc Remove ShareWorktree message 2022-02-23 11:56:09 -07:00
server Remove ShareWorktree message 2022-02-23 11:56:09 -07:00
snippet
sum_tree In random collaboration test, add failing assertion for worktree convergence 2022-02-15 14:55:38 -08:00
text Simplify undo_to_transaction and redo_to_transaction 2022-02-19 10:52:21 +01:00
theme Show document highlights from the language server when moving the cursor 2022-02-22 17:16:31 -08:00
theme_selector
util Simplify undo_to_transaction and redo_to_transaction 2022-02-19 10:52:21 +01:00
workspace Allow languages to be registered at any time 2022-02-22 10:35:20 -08:00
zed v0.17.0 2022-02-23 06:26:45 -07:00