Describe the bug
I am writing a hook that will help keep my LSP install updated. However, I cannot update the LSP because copilot is launching it before running hooks. This seems out of order to me.
2026-05-04T23:34:50.080Z [DEBUG] LSP csharp server for Q:\source\TestConsole2: [Program] Language server initialized
...
2026-05-04T23:35:04.709Z [DEBUG] Executing hook: ./.github/hooks/scripts/session-start.ps1
Affected version
GitHub Copilot CLI 1.0.41-0
Steps to reproduce the behavior
- Add a lsp.json
- Configure an LSP
- Add a hooks/copilot-hooks.json
- Configure a session-start hook that runs a session-start.ps1
- Add a session-start.ps1 which prints "Hello"
- Start Copilot
- Observe the logs
Expected behavior
I expected that the session-start.ps1 would be complete prior to initializing LSPs.
Additional context
No response
Describe the bug
I am writing a hook that will help keep my LSP install updated. However, I cannot update the LSP because copilot is launching it before running hooks. This seems out of order to me.
Affected version
GitHub Copilot CLI 1.0.41-0
Steps to reproduce the behavior
Expected behavior
I expected that the session-start.ps1 would be complete prior to initializing LSPs.
Additional context
No response