Commit bc1891c
authored
telemetry: add "initialized" lsp stage aws#1001
## 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](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize)"
message back and forth, and then they send an
"[initialized](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialized)"
message back and forth. The related pr is
[here](aws/aws-toolkit-visual-studio-staging#2339).
## 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.1 parent 6c8686f commit bc1891c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1708 | 1708 | | |
1709 | 1709 | | |
1710 | 1710 | | |
| 1711 | + | |
1711 | 1712 | | |
1712 | 1713 | | |
1713 | 1714 | | |
| |||
0 commit comments