What happens
Running bun dev:desktop can fail with Failed to spawn OpenCode Server (Health check timed out) on some macOS environments.
Reproduction
- Run
bun dev:desktop
- Desktop spawns sidecar through
/bin/zsh -il -c ...
- Sidecar health check times out after 30s
Notes
- On the same machine,
SHELL=/bin/sh bun dev:desktop starts successfully.
- This suggests interactive shell startup hooks can delay sidecar startup enough to miss the health-check window.
What happens
Running
bun dev:desktopcan fail withFailed to spawn OpenCode Server (Health check timed out)on some macOS environments.Reproduction
bun dev:desktop/bin/zsh -il -c ...Notes
SHELL=/bin/sh bun dev:desktopstarts successfully.