fix(release): backport one-click Tailnet mobile access - #5980
Conversation
GPT 5.6 Review — ✅ no blocking findingsGPT 5.6 completed its review of This comment is updated in place on each push. Review detailsNo findings. False positive or not applicable? A repository writer can comment: |
UX Review (Fable 5) — 🟡 CONCERNSUX-level review of UX-Verdict: CONCERNS One click now silently restarts the whole gateway — "Set up & show QR" never discloses the interruption, and the old manual copy still narrates the steps it automates. Watch
Suggestions
[UX-REVIEWED] 03d6577 |
Design Review (Fable 5) — 🟡 CONCERNSDesign-level review of Design-Verdict: CONCERNS Sound client-owned orchestration across the restart boundary, but the one-click button silently restarts the whole gateway, and the description claims restart mechanics the diff doesn't contain. Watch
Suggestions
[DESIGN-REVIEWED] 03d6577 |
Opus 4.8 Review — ✅ no blocking findingsReviewed Review detailsBoth candidates are self-rated low confidence. Let me verify the key falsification points before concluding. For Candidate 1: For Candidate 2: No new grounded defects surfaced during falsification (the restart claim/release, the No findings. [OPUS-REVIEWED] 03d6577 Verdict parsed from the review's SHA-scoped output markers for commit False positive or not applicable? A repository writer can comment: |
First Principles Review (Fable 5) — 🟡 CONCERNSPremise-level review of First-Principles-Verdict: CONCERNS A What this change shipsIntent: let an operator get the dashboard onto a phone without walking three separate steps — an ADDITION carrying real fixes.
Watch
Subtractions
[FIRST-PRINCIPLES-REVIEWED] 03d6577 |
Summary Backports #5961 to
release/0.4.0as the same two patches, in order: -feat(tailnet): make phone access one click-fix(gateway): harden phone access and restart safety## What changes - Adds the Gateway one-click Tailscale mobile setup flow and QR display. - Detects Tailscale/MagicDNS/HTTPS-consent prerequisites and provides actionable states. - Applies Tailnet trust only across the formal Gateway restart boundary. - Coalesces concurrent restart requests and waits for response flush, process exit, port release, and ownership handoff before rebind/reexec. - Preserves Windows process-tree handling, macOS/Linux service-manager grace, and symlink/realpath safety. - Keeps audit work off the async request loop. ## Backport integrity Both cherry-picks applied without conflicts. Their stable patch IDs exactly match the source commits from #5961. ## Targeted validation - Backend Tailnet/governance/health/restart/venv tests: 187 passed -TailnetMobileCardtests: 40 passed The source PR is fully green, including Windows/macOS/Linux, Python 3.10/3.12, frontend, packaging, security, AI review, and coverage gates. ## Platform boundary The guided flow works on Windows, macOS, and Linux once Tailscale is installed, running, signed in, MagicDNS and tailnet HTTPS consent are enabled, the OS grants any required permissions, and the phone is permitted by the same tailnet ACL. Those external security prerequisites cannot be bypassed silently by Gateway.Screenshots