Skip to content

[6.2][SourceKit] Allow passing cancel_on_subsequent_request: 0 for all requests that use a OncePerASTToken #81605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented May 19, 2025

…equests that use a OncePerASTToken

We need this option for `collectVariableType` (aka inlay type hints) but since I’m at it, I’m adding an option to disable the implicit request cancellation for all requests that have it since we don’t want it in LSP at all.

Prerequisite to fixing swiftlang/sourcekit-lsp#2021 / rdar://145871554, need to adopt this option in SourceKit-LSP.
@ahoppen ahoppen requested a review from bnbarham May 19, 2025 11:48
@ahoppen ahoppen requested a review from a team as a code owner May 19, 2025 11:48
@ahoppen
Copy link
Member Author

ahoppen commented May 19, 2025

@swift-ci Please test

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.

2 participants