Skip to content

Remove the LSP parent process watchdog - #4811

Draft
jakebailey with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-lsp-exit-on-parent-pid-not-found
Draft

Remove the LSP parent process watchdog#4811
jakebailey with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-lsp-exit-on-parent-pid-not-found

Conversation

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The LSP incorrectly exits when a client-provided parent PID is not visible, as commonly occurs across container boundaries.

Changes

  • Remove parent-process monitoring from LSP initialization.
  • Remove the watchdog callback from server options and state.
  • Delete platform-specific process-liveness helpers.

The server now relies on its stdio and signal lifecycle rather than interpreting processId.

Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix LSP shutdown issue when parent process PID is missing Remove the LSP parent process watchdog Jul 31, 2026
Copilot AI requested a review from jakebailey July 31, 2026 21:10
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.

LSP exits when parent process PID is not found

2 participants