Skip to content

Conversation

@XiaoxuanLu
Copy link
Contributor

Problem

LanguageServerSetupStage does not include initialized stage which is needed in VS and LSP protocol.
VS had an issue where needed to diagnose and measure customer failures that occur after the lsp was successfully started but the IDE failed to make a successful "initialized" communication.
For reference, LSP clients send an "initialize" message back and forth, and then they send an "initialized" message back and forth. The related pr is here.

Solution

I add the initialized stage in common's definition. The initialize stage is defined as handshake in common's definition so we do not need to make any modification for initialize.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@XiaoxuanLu XiaoxuanLu requested a review from a team as a code owner March 11, 2025 00:26
@justinmk3 justinmk3 changed the title add initialized stage in langaugeServerSetupStage telemetry: add "initialized" lsp stage Mar 11, 2025
@justinmk3 justinmk3 merged commit bc1891c into main Mar 11, 2025
5 checks passed
@justinmk3 justinmk3 deleted the xiaoluk/languageServerSetupStage branch March 11, 2025 17:33
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