Skip to content

fix(host): keep profile settings across helper restarts - #159

Closed
dantraynor wants to merge 1 commit into
fix/connect-tunnel-closefrom
fix/restore-profile-prefs
Closed

dantraynor wants to merge 1 commit into
fix/connect-tunnel-closefrom
fix/restore-profile-prefs

Conversation

@dantraynor

@dantraynor dantraynor commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

tsnet.Server.Start replaces a profile's stored prefs with defaults on every
launch, keeping only the node identity. After a browser or helper restart a
custom coordination server, hostname, Shields Up, LAN access, DNS, SSH,
advertised routes, and a disabled subnet-route setting all reverted. With a
custom server, the node then contacted the default control plane.

Read the current profile's saved prefs from the state store before Start, pass
the coordination server and hostname into tsnet, and reapply the remaining
settings in the startup edit. Profiles with no saved prefs keep the existing
startup defaults.

Fixes #153
@dantraynor
dantraynor added this pull request to stack #161 October 22, 2026 06:29
@dantraynor dantraynor closed this Oct 22, 2026
@dantraynor
dantraynor deleted the fix/restore-profile-prefs branch October 22, 2026 06:36
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