johannes
70d8bc2aaf
Move flycheck wait into lsp::Client
...
ci / check (push) Canceled after 0s
ci / check (pull_request) 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
hermes
9b8cf48e21
M3: lens LSP diagnostics + lsp tool
...
ci / check (push) Canceled after 0s
- seq log: monotonic project/file seq with change source
- minimal LSP JSON-RPC client (no lsp-types): framing, requests with timeout, server->client requests,
publishDiagnostics with versions, $/progress + rust-analyzer serverStatus busy tracking
- manager: built-in table (rust-analyzer, tsserver, pyright, gopls, clangd), outermost-root detection,
lazy spawn, idle eviction, crash restart with 2-failure breaker, degradation notes, ContentModified retry,
session-start warmup, config overrides/disable
- turn-end hook: diagnostics for files changed this turn, errors first, per-file cap, total cap,
unchanged findings not repeated, one 'no problems' after a fix; agent_end/off modes
- lsp tool: diagnostics, definition, references, hover, symbols
- tests: real rust-analyzer + pyright (skipped if absent); tests/lens_e2e.sh proves an introduced type error
is surfaced and fixed without prompting
Closes #21 , closes #22 , closes #23 , closes #24 , closes #25 , closes #26
2026-09-30 10:48:37 +00:00