Skip to content

Log Tailscale's output and host details when Serve fails - #462

Merged
panarch merged 1 commit into
mainfrom
tailscale-serve-failure-logs
Oct 22, 2026
Merged

panarch merged 1 commit into
mainfrom
tailscale-serve-failure-logs

Conversation

@panarch

@panarch panarch commented Oct 22, 2026

Copy link
Copy Markdown
Owner

When Tailscale Serve could not be enabled on a Mac mini, the log said only that tailscale serve did not finish within 10 seconds. The Tailscale CLI can wait without a limit after printing where to turn on HTTPS for the tailnet, and Caffold threw that output away when it stopped the command.

  • A Tailscale command that runs past 10 seconds now leaves what it printed on stdout and stderr in its failure line.
  • Serve failure lines (Serve status unreadable, enabling or disabling failed, the mapping not reaching the requested state) end with the Tailscale version, whether this host has the HTTPS capability, Tailscale's health warnings, and where the CLI's links resolve.
  • Screens, API responses, and Serve decisions are unchanged.

When a Tailscale Serve command ran past its 10-second limit, Caffold dropped
what the CLI had printed, so the log said only "did not finish within 10 seconds".
The CLI's output is now read while it runs and kept on a timeout, and each Serve
failure line ends with the Tailscale version, whether this host has the HTTPS
capability, Tailscale's health warnings, and where the CLI's links resolve.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://tailscale-serve-failure-logs-caffold.taehoon-moon.workers.dev (commit 90aa77f)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f5bc1931-caffold.taehoon-moon.workers.dev 90aa77f 2026-10-22T04:10:37.609Z Visit the dashboard ↗

@panarch panarch self-assigned this Oct 22, 2026
@panarch
panarch merged commit e6f6971 into main Oct 22, 2026
10 checks passed
@panarch
panarch deleted the tailscale-serve-failure-logs branch October 22, 2026 04:48
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