openwork icon indicating copy to clipboard operation
openwork copied to clipboard

[Bug]: Remote workspaces keep stale OpenWork endpoint after app update or host port change

Open jcllobet opened this issue 7 months ago • 3 comments

Summary: * Remote workspaces can keep a stale OpenWork host endpoint after an app upgrade or host restart that changes the local server port. This still shows up in remote workspaces: Test connection and Recover keep targeting the old endpoint instead of surfacing a specific stale-endpoint error or reconciling to the new host URL.

Steps to reproduce: *

  1. Create or connect a remote workspace backed by a local OpenWork host.
  2. Update OpenWork to a newer version, or restart into a build where the local host port changes.
  3. Reopen the existing remote workspace.
  4. Click Test connection or Recover.

Expected behavior: * If the saved remote workspace endpoint is stale, OpenWork should either refresh the workspace to the current host URL or show a precise error that the stored endpoint no longer matches the active OpenWork host.

Actual behavior: * The remote workspace keeps the old endpoint and Test connection / Recover fail against it without clearly identifying that the saved host URL is stale.


Label: bug

jcllobet avatar Apr 10 '26 06:04 jcllobet

@OmarMcAdam I experienced this today on the latest version (not sure if this was meant to be solved already or it should still be happening). I also belive it is the root cause for why Nathan couldn't get the remote workspaces setup on the email report last night.

jcllobet avatar Apr 10 '26 06:04 jcllobet

should be fixed in #1386

src-opn avatar Apr 10 '26 17:04 src-opn

let me verify, I had the remote workspace in an older version so that can totally be the case.

jcllobet avatar Apr 10 '26 17:04 jcllobet