Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(connections): show Tailscale HTTPS setup failures #30005

Closedvoltcrash(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/30005/headopened View on GitHub

voltcrash(GitHub profile, opens in a new tab)commented

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.

before: failed route preflight shows no setup warning

after: the same failure shows host guidance and keeps authorized clients visible

Fixes pingdotgg/t3code#14746. Related: pingdotgg/t3code#16238.

Implemented and verified with gpt-6.1-sol through the Codex harness in T3 Code.

    1. Pushed81b5914

    2. Pushed67d326f

Sign in to join this conversation.