6d8635f
Merge pull request #2349 from zed-industries/randomized-tests-operation-script
Click to expand commit body
Restructure randomized integration test to allow editing and replaying a plan, fix discovered bugs
Antonio Scandurra
created
12a286a
Forget buffered operations when resyncing with the host
Click to expand commit body
Previously, we could end up with a situation where the host did not
see an operation but a guest that didn't have that buffer open would. When
such guest would finally open the buffer, they would apply the operation
without however sending it to the host. The guest wouldn't bother resyncing
it because it wasn't part of its open buffers.
5eb1719
Re-send worktree if reconnecting while initial scan isn't finished yet
Click to expand commit body
Previously, if the client was disconnected while the initial worktree
state was being sent, it would not see the remaining state after reconnecting.
This was due to `scan_id` and `completed_scan_id` both being initialized to
`0`, so the client would ask for updates since `0` and get nothing.
This commit changes the worktree to initialize `scan_id` to `1` and
`completed_scan_id` to `0`, so that we get the full worktree again on reconnect.
Antonio Scandurra
created
172441a
Cancel pending calls when participant fails to reconnect
Click to expand commit body
Previously, we would only cancel pending calls when the room became
empty.
Antonio Scandurra
created
5e37c89
Ensure project is still alive by the time remote LSP request starts