Skip to content

Response time improvements - #224

Merged
JonatanWaern merged 2 commits into
mainfrom
reduce-workpool-usage
Jun 15, 2026
Merged

Response time improvements#224
JonatanWaern merged 2 commits into
mainfrom
reduce-workpool-usage

Conversation

@JonatanWaern

Copy link
Copy Markdown
Contributor

No description provided.

@JonatanWaern
JonatanWaern force-pushed the reduce-workpool-usage branch from 5e91469 to cbb33af Compare June 15, 2026 08:59
@JonatanWaern
JonatanWaern marked this pull request as ready for review June 15, 2026 08:59
@JonatanWaern
JonatanWaern requested review from TSonono and Copilot June 15, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve responsiveness of the custom LSP request $/getKnownContexts by avoiding a blocking wait on analysis state before computing known contexts.

Changes:

  • Removed an ctx.wait_for_state(AnalysisProgressKind::Isolated, AnalysisWaitKind::Existence, ...) call from GetKnownContextsRequest::handle, so the request returns immediately.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/actions/requests.rs Outdated
@JonatanWaern
JonatanWaern force-pushed the reduce-workpool-usage branch from cbb33af to d4fc3b3 Compare June 15, 2026 11:20
@JonatanWaern
JonatanWaern merged commit 1a38449 into main Jun 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants