ZIm/crates/proto/proto
Kirill Bulatov 5cf41d11db
Batch diagnostics updates (#35794)
Diagnostics updates were programmed in Zed based off the r-a LSP push
diagnostics, with all related updates happening per file.

https://github.com/zed-industries/zed/pull/19230 and especially
https://github.com/zed-industries/zed/pull/32269 brought in pull
diagnostics that could produce results for thousands files
simultaneously.

It was noted and addressed on the local side in
https://github.com/zed-industries/zed/pull/34022 but the remote side was
still not adjusted properly.

This PR 

* removes redundant diagnostics pull updates on remote clients, as
buffer diagnostics are updated via buffer sync operations separately
* batches all diagnostics-related updates and proto messages, so
multiple diagnostic summaries (per file) could be sent at once,
specifically, 1 (potentially large) diagnostics summary update instead
of N*10^3 small ones.

Buffer updates are still sent per buffer and not updated, as happening
separately and not offending the collab traffic that much.

Release Notes:

- Improved diagnostics performance in the collaborative mode
2025-08-23 10:38:12 -04:00
..
ai.proto collab: Remove CountLanguageModelTokens RPC message (#29314) 2025-04-23 23:10:47 +00:00
app.proto Add minidump crash reporting (#35263) 2025-08-23 10:37:25 -04:00
buf.yaml Extract a proto crate out of rpc (#12852) 2024-06-10 12:49:53 -06:00
buffer.proto project: Fix search filter patterns on remote projects (#34748) 2025-08-23 10:35:51 -04:00
call.proto Stop sending redundant LSP proto requests (#35581) 2025-08-23 10:37:26 -04:00
channel.proto Add channel reordering functionality (#31833) 2025-06-04 16:56:33 +00:00
core.proto Use git config --global user.email for email address in automatic Co-authored-by (#32624) 2025-06-12 19:39:08 +00:00
debugger.proto debugger: Fix not being able to stop a Go debug session when no breakpoints were ever hit (#35190) 2025-08-23 10:36:03 -04:00
git.proto git: Add option to branch from default branch in branch picker (#34663) 2025-08-23 10:37:24 -04:00
lsp.proto Batch diagnostics updates (#35794) 2025-08-23 10:38:12 -04:00
notification.proto Split protobufs into separate files (#28130) 2025-04-04 16:15:49 -07:00
task.proto Split protobufs into separate files (#28130) 2025-04-04 16:15:49 -07:00
toolchain.proto python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
worktree.proto debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
zed.proto Use new language server info on remote servers (#35682) 2025-08-23 10:37:27 -04:00