0b46e36
Avoid parsing in randomized collaboration integration test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
ebecb6d
Use the lowest zstd compression level during tests
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
303e8e1
Wait for version before returning code actions
Antonio Scandurra
created
50a3172
Wait for version before returning completions
Antonio Scandurra
created
e824a6f
Avoid stalling server when test notifications aren't being processed
Antonio Scandurra
created
1fbcea6
Randomly detach requests on guest to let them race with other local ops
Antonio Scandurra
created
e3c4ce2
Remove unnecessary waiting when handling save RPC requests
Click to expand commit body
Add saving to the randomized integration test
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
3315750
Remove waiting for edits when handling code action RPC requests
Click to expand commit body
Add code actions to the randomized integration test
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
41ba980
Remove unnecessary waiting during completion RPC requests
Click to expand commit body
Also, add completion requests to the randomized collaboration integration test,
to demonstrate that this is valid.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
90f31bb
Allow FakeLanguageServer handlers to handle multiple requests
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
c4dff12
Allow multiple fake language servers to be started for a given project
Also, improve error in tests when FakeServer never receives a request,
using the new `start_waiting` method on the DeterministicExecutor.
Max Brunsfeld
created
77afc33
Fix duplicate element_state error in tests
Max Brunsfeld
created
bee7055
Avoid storing operations when no buffers are being loaded
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
93ed34f
In random collaboration test, compare all guests' buffers to the host's buffers
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
06fb9cc
Restore synchronization between responses and incoming messages
Click to expand commit body
This removes the need to buffer pending messages in Client.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
cf4291a
Distinguish between "foreground" and "background" RPC messages
Click to expand commit body
Some types of messages, which entail state updates on the host, should be
processed in the order that they were sent. Other types of messages should
not block the processing of other messages.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
2085869
Add a `Test` message that we can use to assert on the behavior of Peer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
0173025
Close buffers in randomized integration test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
7c5a5c4
Print the correct seed on randomized test failure
Antonio Scandurra
created
38f225b
Clean db pool on drop only if assertions fail or it's the last iteration
Antonio Scandurra
created
c3ba8f5
Ensure worktree updates are observed in order on the server