Pre-flight Checks
Bug Description
The desktop app health check does not retry when the local server sidecar is still initializing. This causes:
- MCP local connections to repeatedly disconnect and reconnect
- IDE freezes when switching between sessions
- Server marked as unhealthy even though it is still starting up
Steps to Reproduce
- Open OpenCode desktop app
- Server sidecar starts but health check fires immediately
- Health check fails because server is not ready yet
- Desktop app shows server as down
- IDE becomes unresponsive or MCPs disconnect
Expected Behavior
Health check should retry with exponential backoff until the server is ready, up to a reasonable timeout.
Actual Behavior
Health check fails instantly on first attempt, causing cascading instability.
Operating System
Windows
Agent / Client
OpenCode Desktop
Shell
PowerShell
Relevant Logs
Server stdout shows "sidecar process spawned, waiting for server to become healthy" followed immediately by health check error without retries.
Additional Context
Related PR: #24138 which implements retry logic.
Pre-flight Checks
Bug Description
The desktop app health check does not retry when the local server sidecar is still initializing. This causes:
Steps to Reproduce
Expected Behavior
Health check should retry with exponential backoff until the server is ready, up to a reasonable timeout.
Actual Behavior
Health check fails instantly on first attempt, causing cascading instability.
Operating System
Windows
Agent / Client
OpenCode Desktop
Shell
PowerShell
Relevant Logs
Server stdout shows "sidecar process spawned, waiting for server to become healthy" followed immediately by health check error without retries.
Additional Context
Related PR: #24138 which implements retry logic.