Skip to content

nightly

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 00:37
Auto merge of #17886 - Wilfred:prime_caches_quiescent, r=Veykril

internal: ServerStatusParams should consider 'prime caches' in quiescent status

Priming caches is a performance win, but it takes a lock on the salsa database and prevents rust-analyzer from responding to e.g. go-to-def requests.

This causes confusion for users, who see the spinner next to rust-analyzer in the VS Code footer stop, so they start attempting to navigate their code.

Instead, set the `quiescent` status in LSP to false during cache priming, so the VS Code spinner persists until we can respond to any LSP request.