[PR #7547] feat(desktop): Gracefully Handle Server Disconnects #12434

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

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

State: open
Merged: No


What does this PR do?

Currently if you open the web app without a server running, it will just throw an error, with this PR:

  1. When you open the app, and fails to connect the server, the select server dialog appears, without being able to close
  2. When you lose server connection, the select server dialog appears, without being able to close until you reconnect

How did you verify your code works?

Before:

image

Now:

image image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7547 **State:** open **Merged:** No --- ### What does this PR do? Currently if you open the web app without a server running, it will just throw an error, with this PR: 1. When you open the app, and fails to connect the server, the select server dialog appears, without being able to close 2. When you lose server connection, the select server dialog appears, without being able to close until you reconnect ### How did you verify your code works? Before: <img width="1366" height="718" alt="image" src="https://github.com/user-attachments/assets/0a3c3432-77ab-4c0e-83cb-3be7b5325e05" /> Now: <img width="1278" height="722" alt="image" src="https://github.com/user-attachments/assets/a1dee003-12b7-4843-a68f-13529b43073e" /> <img width="1051" height="621" alt="image" src="https://github.com/user-attachments/assets/436485bc-95ea-4b89-a1fb-9881f957b6a2" /> <img width="2253" height="964" alt="image" src="https://github.com/user-attachments/assets/396d5fab-4e28-40c9-b1dc-120d7bc64866" />
yindo added the pull-request label 2026-02-16 18:17:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12434