Skip to content

Conversation

ahoppen and others added 19 commits June 7, 2024 09:22
…yntaxFromSourceKitLSPBuild`

I don’t remember the exact failure scenario but there were issues where the modules could be found but linking against the swift-syntax libraries from the sourcekit-lsp build failed. If this happens, skip any macro tests.
…rectory

Finder seems to generally struggle opening a temporary directory with many subfolders and eg. hang when zipping the diagnose bundle. Place the diagnose folders in a dedicated subfolder to avoid this.
It turns out that this message was more noise than help. For example, it would often show up when adding a new file to a SwiftPM project: The file gets added before we reload the package and thus we don’t have build settings for the new file for a short while. Since we can’t dismiss the notification we sent to the client, the notification will stick around.

Let’s just remove the message.
…r bundle

The realpath will be more useful than eg. `/Library/Developer/Toolchains/swift-latest.xctoolchain`.
Include signpost events in OS Logs gathered using `sourcekit-lsp diagnose`
Save sourcekit-lsp diagnose bundles in subdirectories of temporary directory
Try linking again SwiftSyntax in `SkipUnless.canBuildMacroUsingSwiftSyntaxFromSourceKitLSPBuild`
…g-compiler-args

Remove warning message about missing compiler arguments
…set it using `sh`

In particular, this affects Amazon Linux 2, which has a glibc that doesn’t support `posix_spawn_file_actions_addchdir_np`.

rdar://128016626
…hain-txt

Resolve symlinks in toolchain path when creating sourcekitd reproducer bundle
Currently the name of the command is `source-kit-lsp` in `sourcekit-lsp --help` output:

```
❯ sourcekit-lsp --help
OVERVIEW: Language Server Protocol implementation for Swift and C-based languages

USAGE: source-kit-lsp <options> <subcommand>
```
…dexing-instructions

Simplify instructions to enable background indexing to not require building SourceKit-LSP
Fix incorrect command name in `sourcekit-lsp --help` output
…mazonlinux

When setting a working directory on process launch is not supported, set it using `sh`
@ahoppen ahoppen requested a review from bnbarham June 22, 2024 13:53
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 22, 2024 13:53
@ahoppen
Copy link
Member Author

ahoppen commented Jun 22, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 13e0f72 into swiftlang:release/6.0 Jun 25, 2024
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