Skip to content

[build-presets] Test SourceKit-LSP in the swift-syntax macOS job #72030

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

Merged

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 2, 2024

SourceKit-LSP depends on swift-syntax sufficiently much that changed runtime behavior of swift-syntax can make sourcekit-lsp fail, as it happened in swiftlang/sourcekit-lsp#1110.

Only testing sourcekit-lsp on macOS, not Linux for now. Testing on one platform should be sufficient.

SourceKit-LSP depends on swift-syntax sufficiently much that changed runtime behavior of swift-syntax can make sourcekit-lsp fail, as it happened in swiftlang/sourcekit-lsp#1110.

Only testing sourcekit-lsp on macOS, not Linux for now. Testing on one platform should be sufficient.
@ahoppen
Copy link
Member Author

ahoppen commented Mar 2, 2024

@swift-ci Please smoke test

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Mar 2, 2024

@swift-ci Please smoke test

@ahoppen ahoppen merged commit 48e65c6 into swiftlang:main Mar 2, 2024
ahoppen added a commit to ahoppen/swift that referenced this pull request Mar 6, 2024
I added the test-sourcekit-lsp command because I thought that we weren’t running sourcekit-lsp tests on the swift-syntax PR testing job (swiftlang#72030). Then the job started failing with a TSAN failure and I thought that we would now not run sourcekit-lsp tests on the sourcekit-lsp PR testing job, so I added it there as well.

Turns out that my first assumption that we weren’t running sourcekit-lsp tests on swift-syntax PRs was wrong and the downstream failure of that was just due to racing PRs. Furthermore, the `test-sourcekit-lsp` flag doesn’t even exist. Instead, it got typo-corrected (?) to `test-sourcekit-lsp-sanitize-all`, which enabled the TSAN sanitizer on the swift-syntax and sourcekit-lsp PR testing jobs. And that caused test failures.

So, remove the `test-sourcekit-lsp` arguments again. After I made sourcekit-lsp build with strict concurrency / Swift 6 mode, I’ll re-enable TSAN on the sourcekit-lsp PR tests and fix any remaining TSAN issues.
@ahoppen ahoppen deleted the ahoppen/test-sourcekitlsp-in-swiftsyntax-job branch March 6, 2024 17:19
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.

1 participant