[Bug]: Remote workspaces keep stale OpenWork endpoint after app update or host port change
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: *
- Create or connect a remote workspace backed by a local OpenWork host.
- Update OpenWork to a newer version, or restart into a build where the local host port changes.
- Reopen the existing remote workspace.
- Click
Test connectionorRecover.
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
@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.
should be fixed in #1386
let me verify, I had the remote workspace in an older version so that can totally be the case.