Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 1, 2025

When I added the log structure to build/logMessage in #2022 I must have assumed that the entire BSP notifciation was an extension defined by SourceKit-LSP and didn’t realized that this was actually a change that made the notification non-compliant with BSP. Change it up a little bit to make it compliant again.

@ahoppen
Copy link
Member Author

ahoppen commented Sep 1, 2025

@swift-ci Please test


/// The request id that originated this notification.
/// The originId field helps clients know which request originated a notification in case several requests are handled by the
/// client at the same time. It will only be populated if the client defined it in the request that triggered this notification. */
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// client at the same time. It will only be populated if the client defined it in the request that triggered this notification. */
/// client at the same time. It will only be populated if the client defined it in the request that triggered this notification.

When I added the log structure to `build/logMessage` in swiftlang#2022 I must have assumed that the entire BSP notifciation was an extension defined by SourceKit-LSP and didn’t realized that this was actually a change that made the notification non-compliant with BSP. Change it up a little bit to make it compliant again.
@ahoppen
Copy link
Member Author

ahoppen commented Sep 2, 2025

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Sep 2, 2025

@swift-ci Please test Windows

@ahoppen ahoppen enabled auto-merge September 2, 2025 18:47
@ahoppen ahoppen merged commit 6301397 into swiftlang:main Sep 3, 2025
3 checks passed
@ahoppen ahoppen deleted the log-bsp-compliant branch September 3, 2025 05:05
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