tailscale / tailscale/github-action

Setup Tailscale step taking two minutes

Open
#159 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
137
PR merge metrics
No merged PRs in 30d

Description

This "Setup Tailscale" step always seems to take around two minutes to complete, which is suspicious because I notice there is a TIMEOUT: 2m variable in there:

https://github.com/simonw/scrape-doge-gov/blob/239805970ea155976b111b1d1671c5f64c9d8a84/.github/workflows/scrape.yml#L33-L39

    - name: Setup Tailscale
      uses: tailscale/github-action@v3
      with:
        oauth-client-id: ${{ secrets.TAILSCALE_OAUTH_CLIENT_ID }}
        oauth-secret: ${{ secrets.TAILSCALE_OAUTH_SECRET }}
        args: "--exit-node=${{ secrets.TAILSCALE_EXIT_NODE }} --exit-node-allow-lan-access=true"
        tags: tag:github-actions

GitHubActions workflow logging screenshot - the Setup Tailscale step has been running for 1m58s and has TIMEOUT: 2m for the line that is executing

I wrote up more detailed notes here - I'm using this Action to configure an exit node via an Apple TV: https://til.simonwillison.net/tailscale/tailscale-github-actions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced .github/workflows/scrape.yml lines 33-39 and the tailscale/github-action@v3 Setup Tailscale step. Reproduce the workflow and inspect the log around TIMEOUT: 2m; the issue is done when the cause of the two-minute wait is identified and the action behaves as expected or the documented behavior is clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.