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

Tailscale daemon causing runner to hang on teardown

Open DuckThom opened this issue 10 months ago • 0 comments

Issue

When a runner is done (successful or not) while tailscaled is running, the Action hangs indefinitely untill either killed by a timeout or when a cancel action takes place.

Workaround / Fix

For now, I've added a step in my workflow to disconnect from TS manually and kill the tailscaled process

      - name: Teardown
        if: always()
        run: |
          sudo -E tailscale down 
          sudo -E killall tailscaled 

DuckThom avatar Apr 01 '25 09:04 DuckThom