Move flycheck wait into lsp::Client #105

Merged
hermes merged 1 commits from lsp-client-diagnostics into main 2026-10-01 21:42:17 +00:00
1 Commits
Author SHA1 Message Date
johannes 70d8bc2aaf Move flycheck wait into lsp::Client
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
Client::diagnostics_after now owns the rust-analyzer on-save check protocol
(flycheck begin/end, publish after end, busy, settle). The counters are
private, and Manager::diagnostics only picks the server and passes the sync
step. Reader state is one Arc<Shared> instead of eight cloned Arcs.

Adds a fake LSP server and a manager test that fails if the first empty
publish after a change is taken as the result.
2026-10-01 23:32:14 +02:00