Tailscale HTTPS setup failures were only logged, leaving Connections without useful guidance and the desktop saved setting hard to disable. This change publishes bounded failure state through the server config stream, shows host-side guidance across clients, and keeps the desktop switch tied to the saved setting. Endpoint advertisement still requires a successful probe.
The merge with current main preserves route ownership safety and records failures from its preflight check too. No raw CLI output reaches clients.
verified at 8ad0ce102185b802a2d605c5e3f1caf45dedc71f:
- merged
github/main with a merge commit and preserved the route-ownership guard.
- fixed the real review finding: failed route preflight now publishes sanitized tailscale setup feedback instead of returning before failure tracking starts.
- routed background repairs through
configureTailscaleServe, so successful repair clears a startup diagnostic while preserving route arguments, the 30-second interval, and error handling.
- the authorized-clients finding is stale after the merge: the section is gated by access scopes, independently of endpoint availability.
- blacksmith:
vp run check:changed passed format, lint, knip, graphql, affected-package typechecks (37 packages), focused tests and react compiler checks. the complete DirectEndpoints and websocket suites passed all 43 tests.
- real chrome/web/server check with serve enabled and no tailscale executable: before the fix, setup failed without a warning. after the fix, the actual websocket config reported
tailscaleServeFailure: "unknown", the warning survived reload, and authorized clients and permissions remained usable. same isolated state and viewport in both captures, with no mocked responses or cli.
- two independent source reviewers found no remaining blocker on this head.
unverified: connected-tailnet permission denial and successful https routing, native electron restart, native mobile rendering, and platform packaging. existing focused tests cover permission classification and recovery.


Fixes pingdotgg/t3code#14746. Related: pingdotgg/t3code#16238.
Implemented and verified with gpt-6.1-sol through the Codex harness in T3 Code.