LSP server crashes permanently disable language features for the session #9434

Open
opened 2026-02-16 18:12:26 -05:00 by yindo · 1 comment
Owner

Originally created by @sauerdaniel on GitHub (Feb 15, 2026).

Originally assigned to: @rekram1-node on GitHub.

Problem

When an LSP server fails to spawn or crashes, it gets added to a broken set and is never retried during the session. This means if an LSP server temporarily fails (e.g., due to resource constraints or a transient error), the user loses LSP features for the entire session.

Expected behavior

Failed LSP servers should be retried with exponential backoff rather than permanently disabled. If a server recovers (e.g., resource pressure subsides), LSP features should resume.

Current behavior

broken: Set<string> marks failed servers permanently — no retry mechanism exists.

Originally created by @sauerdaniel on GitHub (Feb 15, 2026). Originally assigned to: @rekram1-node on GitHub. ## Problem When an LSP server fails to spawn or crashes, it gets added to a `broken` set and is never retried during the session. This means if an LSP server temporarily fails (e.g., due to resource constraints or a transient error), the user loses LSP features for the entire session. ## Expected behavior Failed LSP servers should be retried with exponential backoff rather than permanently disabled. If a server recovers (e.g., resource pressure subsides), LSP features should resume. ## Current behavior `broken: Set<string>` marks failed servers permanently — no retry mechanism exists.
Author
Owner

@sauerdaniel commented on GitHub (Feb 16, 2026):

Status: fix is implemented in PR #9142. Remaining blocker is CI on e2e (windows) (NotFoundError), which cascades to the linux gate.

@sauerdaniel commented on GitHub (Feb 16, 2026): Status: fix is implemented in PR #9142. Remaining blocker is CI on `e2e (windows)` (`NotFoundError`), which cascades to the linux gate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9434