github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Setup Tailscale step taking two minutes

Open simonw opened this issue 8 months ago • 16 comments

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

simonw avatar Feb 23 '25 15:02 simonw