Skip to content

fix(desktop): expose local gateway settings in remote mode - #1247

Merged
nixuuu merged 2 commits into
devfrom
fix/workers-remote-gateway-settings
Nov 24, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/workers-remote-gateway-settings

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Show the local Desktop worker and the gateway address saved by the app in Workers and Desktop settings. Identify workers registered on the remote gateway separately and label stale worker data during an outage.
  • Open the existing local settings window from the outage UI. Put the saved address first when editing an existing connection. Address changes retain the paired credential, certificate pin, and worker profile for the same gateway.
  • Keep the worker’s own connection settings in its existing profile. Offline inspection or reassignment of a worker’s enrollment endpoint would be a separate feature.

Thanks @marcinniewinski for reporting this.

Verification

  • Verified cb719e493 locally on Linux. Ran Electron with its renderer sandbox and an isolated Secret Service keychain. Checked initial pairing, reachable gateway settings, a cold start with the gateway unreachable, the prefilled address, native Cancel and Save, reconnection without a new pairing, and persistence across restart. An unchanged save closed the chooser without rewriting the configuration.
  • Also exercised an outage after a successful connection, startup recovery for an older unpaired profile, and the Workers and Desktop screens in local mode with its worker connected.
  • Ran the three focused Desktop test files through check:tmp. All 10 passed, including the bundled local gateway, PostgreSQL and worker, remote enrollment, TLS pinning, configuration validation, and restart durability.
  • Built the Linux Desktop runtime. Web typecheck, focused lint and formatting, and diff checks passed. Windows and macOS were not run locally. GitHub CI provides the merge gate.

Copy audit

  • This computer now describes the local Desktop in remote mode. Workers on the remote gateway labels the gateway’s list, and the offline copy identifies when that list is stale or has yet to load.
  • Open desktop settings becomes Edit gateway address at remote recovery entry points. Desktop gateway address identifies the address used by the app. The form explains that an enrolled worker keeps its connection settings and gives the invitation path for switching gateways.
  • Checked the labels and address layout in Chromium at desktop width and a 390 px viewport. Actions and status labels use text.

Related: #1154

@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 19:10
@nixuuu
nixuuu disabled auto-merge November 24, 2026 19:14
@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 19:17
@nixuuu
nixuuu merged commit 268c741 into dev Nov 24, 2026
21 checks passed
@nixuuu
nixuuu deleted the fix/workers-remote-gateway-settings branch November 24, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant