ZIm/crates/collab/src
Kirill Bulatov 740686b883
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-07 14:45:41 +00:00
..
api collab: Remove Stripe events polling (#35736) 2025-08-06 16:53:43 +00:00
bin windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
db collab: Remove unused billing queries (#35679) 2025-08-05 22:42:45 +00:00
llm collab: Remove unused billing queries (#35679) 2025-08-05 22:42:45 +00:00
rpc Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
stripe_client collab: Enable automatic tax calculation for all new subscriptions (#34720) 2025-07-18 21:42:48 +00:00
tests collab: Remove unused StripeBilling methods (#35740) 2025-08-06 17:42:12 +00:00
api.rs Rework authentication for local Cloud/Collab development (#35450) 2025-08-01 00:55:17 +00:00
auth.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs Stop sending redundant LSP proto requests (#35581) 2025-08-05 13:36:05 +00:00
env.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
lib.rs collab: Remove GET /billing/preferences endpoint (#34566) 2025-07-16 17:55:01 +00:00
llm.rs collab: Remove GET /billing/preferences endpoint (#34566) 2025-07-16 17:55:01 +00:00
main.rs collab: Remove Stripe events polling (#35736) 2025-08-06 16:53:43 +00:00
migrations.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
rpc.rs Batch diagnostics updates (#35794) 2025-08-07 14:45:41 +00:00
seed.rs Update names of collab auth functions to clarify behavior (#32648) 2025-06-13 00:35:18 +00:00
stripe_billing.rs collab: Remove unused StripeBilling methods (#35740) 2025-08-06 17:42:12 +00:00
stripe_client.rs collab: Enable automatic tax calculation for all new subscriptions (#34720) 2025-07-18 21:42:48 +00:00
tests.rs onboarding ui: Add theme preview tiles and button functionality to basic page (#35413) 2025-07-31 18:40:41 +00:00
user_backfiller.rs Update names of collab auth functions to clarify behavior (#32648) 2025-06-13 00:35:18 +00:00