Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 3, 2024

I saw a failure in CI where a sourcekitd diagnostic request got cancelled without an LSP cancellation request. I am suspecting that there is some implicit cancellation going on in sourcekitd despite key.cancel_builds: 0, which doesn’t make sense to me. Adding some explicit logging to sourcekit-lsp to check if we cancel the request for some reason.

I saw a failure in CI where a sourcekitd diagnostic request got cancelled without an LSP cancellation request. I am suspecting that there is some implicit cancellation going on in sourcekitd despite `key.cancel_builds: 0`, which doesn’t make sense to me. Adding some explicit logging to sourcekit-lsp to check if we cancel the request for some reason.
@ahoppen ahoppen requested review from bnbarham and hamishknight June 3, 2024 15:20
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 3, 2024 15:20
@ahoppen
Copy link
Member Author

ahoppen commented Jun 3, 2024

@swift-ci Please test

@ahoppen ahoppen enabled auto-merge June 3, 2024 16:20
@ahoppen ahoppen merged commit 9d970e4 into swiftlang:main Jun 3, 2024
@ahoppen ahoppen deleted the request-cancellation-logging branch August 4, 2025 10:48
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