mirror of
https://github.com/hanzoai/lsp.git
synced 2026-09-30 22:52:48 +00:00
Rust answered four queries in five against a warm root. The fifth came back `rpc -32801: content modified`, which the daemon passed up as an error and the door turned into a 502. -32801 is the protocol's one retryable answer: the server computed against state it has since replaced, so the result is stale rather than wrong, and the spec has the client ask again. rust-analyzer says it for anything asked while a workspace is still loading, which is exactly when a cold root is queried. Retried in Call, so every op gets it without each caller learning the code, and bounded twice over: a few attempts, and the caller's context underneath that. A server that never settles still ends as an error rather than a request that never returns. Co-authored-by: Hanzo Dev <[email protected]>