fix: increase Language Server startup timeout from 10s to 20s
Description
Increase the Language Server startup timeout from 10 seconds to 20 seconds. The current 10s limit is too short for some environments (e.g. Windows, cloud workstations) where the LS process itself starts quickly but the LSP initialize handshake takes longer to complete.
The timeout value is extracted into a named constant LS_STARTUP_TIMEOUT_MS so the error message stays in sync with the actual value.
Hotfix for: #2240 (closed)
Related Issues
Relates to #2240 (closed)
How has this been tested?
-
Manually verified the constant and error message are consistent.
-
No existing tests reference the hardcoded 10s timeout value.
-
If
src/browserorsrc/commonhas been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE. -
Consider an end-to-end test for significant new features that aren't covered by integration tests.
Screenshots (if appropriate)
N/A
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog - None - other non-user-facing changes