[Bug]: “This Machine” build location does not persist; “Local build” runs on target server
Existing issue
- I have searched the existing issues and found no duplicate.
Problem description
The deployment settings summary shows “Build Location: Local Machine” after selecting “This Machine”, but after saving and reopening settings it shows “Build Location: Server” and the picker selects “Remote”. More importantly, a deployment labelled “Local build” ran docker buildx on the remote target, not on the Mac. On a small target this caused the build to fail under memory pressure.
Expected: the chosen build location persists, and a local build uses the desktop machine’s resources before transferring the result. Actual: the selection resets and the build executes on the target server.
Steps to reproduce
- In OpenShip Desktop, configure a GitHub-sourced SvelteKit/Bun project targeting an SSH-connected Ubuntu server.
- Open Deployment settings → deployment target picker → Advanced → Build location. Select “This Machine”, then Continue.
- Confirm the summary says “Build Location: Local Machine” and click Save changes.
- Reopen Deployment settings. The summary now says “Build Location: Server”; reopening the picker shows “Remote” selected.
- Select “This Machine” again and start a deployment. The deployment UI calls it “Local build”, but
docker buildxis observed running on the Ubuntu target.
Environment
- OpenShip version/commit: Desktop 0.7.2
- Deployment method: GitHub source, SSH-connected remote server, sandboxed Docker runtime
- Operating system: macOS Apple Silicon (desktop); Ubuntu x86_64 (target)
- Browser (if applicable): OpenShip desktop app
Logs and screenshots
Additional context
Global Build Preferences was set to Local. Restarting the desktop app did not fix the picker reset. The project has not had a successful deployment. I have omitted deployment logs because an earlier log contained environment secrets.
Source: oblien/openship