setup-node icon indicating copy to clipboard operation
setup-node copied to clipboard

v7: "Set up Node" step hangs indefinitely after toolcache install completes inside job container (self-hosted ARC dind)

Open insoln opened this issue 1 month ago • 0 comments

Description

On our self-hosted ARC runners (containerMode: dind, container jobs), two separate Careerum/lms Asset build jobs using actions/setup-node@v7 have been stuck on the "Set up Node" step for over 40 minutes. The same step completed in about 69 seconds in an earlier run. The jobs are still in progress.

Observed evidence

  • GitHub jobs 118327806317 and 118327888582 (runs 39330688625 and 39330713011) show Set up Node in progress from 22:23:54 and 22:28:00 UTC respectively. Both previous steps completed.
  • In both job containers the node setup/index.js process remains alive but sleeping; the runner worker keeps renewing the jobs. The action step log page is empty (the previous step log ends normally). Live job logs are unavailable from the GitHub API while in progress.
  • Node 24.22.0 is already present in /__w/_tool/node/24.22.0/x64, with the x64.complete marker and a working bin/node --version. This only proves installation happened; it does not prove the action returned from all later code paths.
  • The stalled process holds an established TCP connection to 20.250.119.67:443 (a GitHub edge IP) with no tx/rx queue progress. From the same container, curl --resolve github.com:443:20.250.119.67 https://github.com/actions/node-versions/releases/latest times out during TLS handshake. Normal DNS now returns 140.82.121.4 for github.com and current requests to api.github.com, raw.githubusercontent.com and nodejs.org succeed quickly.
  • No further filesystem I/O is observed after Node installation. The exact pending HTTP request inside the Node process is unknown; the edge connection is correlated evidence, not a proven source-level call site.

Environment

  • actions/setup-node@v7 (949feb2413d6458794dcd2491c4babbbce0c15c1)
  • ARC gha-runner-scale-set v0.14.2, docker-in-docker, Linux x64, ephemeral runner jobs with container image ghcr.io/careerum/base-image-lms:8b6c82b.
  • GitHub Actions runner uid 1001; job container root; /__w/_tool bind mounted into the container.

Could the action/toolkit enforce a finite timeout and retry for network calls to stale GitHub edge IPs? Guidance on extracting the exact pending request from a live action process would help. We have not canceled the two jobs yet.

insoln avatar Oct 19 '26 23:10 insoln