[PR #7962] fix(desktop): improve server detection & connection logic #12574

Closed
opened 2026-02-16 18:17:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7962

State: closed
Merged: Yes


Refactors a lot of the logic involved with determining which server to connect to on startup, how we test server health, and how we handle retries and fall back to local servers (there was also some bugs with how local servers were being initialized - --port={port} is invalid syntax). Not sure how much this will solve but it's a definitive improvement.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7962 **State:** closed **Merged:** Yes --- Refactors a lot of the logic involved with determining which server to connect to on startup, how we test server health, and how we handle retries and fall back to local servers (there was also some bugs with how local servers were being initialized - `--port={port}` is invalid syntax). Not sure how much this will solve but it's a definitive improvement.
yindo added the pull-request label 2026-02-16 18:17:28 -05:00
yindo closed this issue 2026-02-16 18:17:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12574