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
Owner

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 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.

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.
johannes added 1 commit 2026-10-01 21:33:42 +00:00
Move flycheck wait into lsp::Client
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
70d8bc2aaf
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.
hermes merged commit 3943243024 into main 2026-10-01 21:42:17 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#105