tailscale / tailscale/github-action
Action does not seem to work on `ubuntu-slim` runner
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
Using ubuntu-latest works, but ubuntu-slim causes the tailscale status to re-try until it fails.
Extract from workflow file:
- name: Tailscale
uses: tailscale/github-action@v4
with:
oauth-client-id: ${{ env.DEVOPS_GITHUB_TAILSCALE_TS_OAUTH_CLIENT_ID }}
audience: ${{ env.DEVOPS_GITHUB_TAILSCALE_TS_AUDIENCE }}
tags: tag:github-actions
ping: devops-prod
output partially redacted:
Run tailscale/github-action@v4
with:
oauth-client-id: ***
audience: ***
tags: tag:github-actions
ping: devops-prod
version: 1.94.2
timeout: 2m
retry: 5
use-cache: true
.....
Cache restored successfully
Found Tailscale 1.94.2 in cache: /opt/hostedtoolcache/tailscale/1.94.2/Linux-amd64
▶️ copy tailscale from cache
/usr/bin/sudo cp /opt/hostedtoolcache/tailscale/1.94.2/Linux-amd64/tailscale /usr/local/bin/tailscale
▶️ copy tailscaled from cache
/usr/bin/sudo cp /opt/hostedtoolcache/tailscale/1.94.2/Linux-amd64/tailscaled /usr/local/bin/tailscaled
▶️ chmod tailscale
/usr/bin/sudo chmod +x /usr/local/bin/tailscale
▶️ chmod tailscaled
/usr/bin/sudo chmod +x /usr/local/bin/tailscaled
Starting tailscaled daemon...
Waiting for tailscaled daemon to become ready...
▶️ get tailscale status
/usr/local/bin/tailscale status --json
failed to connect to local tailscaled (which appears to be running as tailscaled, pid 168). Got error: 503 Service Unavailable: no backend
##[debug]Waiting for daemon... (0ms elapsed)
▶️ get tailscale status
/usr/local/bin/tailscale status --json
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
##[debug]Waiting for daemon... (500ms elapsed)
▶️ get tailscale status
/usr/local/bin/tailscale status --json
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
##[debug]Waiting for daemon... (1000ms elapsed)
▶️ get tailscale status
/usr/local/bin/tailscale status --json
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
##[debug]Waiting for daemon... (1500ms elapsed)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shown Tailscale action workflow on both ubuntu-latest and ubuntu-slim, comparing the daemon startup and status output. Read the workflow step and the action's ubuntu-slim handling; done means tailscale status succeeds on ubuntu-slim without repeated retries or a missing backend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript, ubuntu
- Domain
- ci-cd, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100