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.