Skip to content

fix(opencode): increase LSP diagnostics timeout to 10s#13281

Open
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:fix/eslint-diagnostics-timeout
Open

fix(opencode): increase LSP diagnostics timeout to 10s#13281
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:fix/eslint-diagnostics-timeout

Conversation

@Danztee
Copy link
Contributor

@Danztee Danztee commented Feb 12, 2026

What does this PR do?

Found out that the 3s timeout for LSP diagnostics is a bit too short for ESLint. It usually takes around 4-5s to spin up and send the first set of issues, so it was basically timing out and getting empty results for no reason. I bumped it to 10s which should be plenty.

How did you verify your code works?

I mocked a slow server that takes 4s to respond... worked fine with the 10s limit whereas the old code just gave up.

Fixes #13272

Fixes anomalyco#13272. Increased diagnostics timeout from 3s to 10s to accommodate slow LSP servers like ESLint during initialization.
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Danztee
Copy link
Contributor Author

Danztee commented Feb 12, 2026

please can you check this @rekram1-node @adamdotdevin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESLint LSP server initializes but diagnostics timeout with empty result

1 participant

Comments