You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runner uses Node 20 (and only Node 20) for its own internal use - for instance, hashFiles
To Reproduce
Set up a self-hosted runner VM without Node 20. Try to use hashFiles:
Error: The template is not valid. .github/workflows/test-cluster-config.yaml (Line: 86, Col: 16): An error occurred trying to start process '/nix/store/rk9vdi5iv0rdydcrbcp2qkrqc24y748q-github-runner-2.337.0/lib/externals/node20/bin/node' with working directory '/var/lib/private/github-runner/runner/_work/tier0-cluster/tier0-cluster'. No such file or directory
So it seems like this one's coming from the Nix package rather than the runner itself.
The Node 20 removal in the changelog is about JavaScript actions (runs.using: node20). When did you start seeing this issue, since the switch over yesterday should not have caused this. Did you just upgrade your version of NixOS? The runner also bundles its own Node for internal things like hashFiles, and that's still Node 20:
The official runner release still ships externals/node20 for this. nixpkgs stopped including it in the github-runner package by default in 26.05 (NixOS/nixpkgs@eca36e4374ee0001681d615d269d0d1e9b7ddb5d), so that path doesn't exist and hashFiles fails:
On 26.05 you can add it back in your NixOS configuration (usually /etc/nixos/configuration.nix, or wherever your flake defines services.github-runners), not the runner's own config:
In part, this feels a little bit like "one rule for me, and another for thee." If Node 20 is insecure (and I think reasonable people will agree that it is) then the runner shouldn't ship it or rely on it, right?
@nyarly I think a ticket will need to be opened for nixpkgs as well, if we need to downgrade to node20 to use it then it should be allowed, alternatively maybe they will have a better solution.
They're making exactly the same policy decision GitHub is: Node 20 is known insecure and shouldn't be used. It's kind of absurd to suggest that this good decision be overturned because it's inconvenient to you
Moving the runner's internal Node to 24 is something we'll need to do regardless, so I'll leave this open to track that.
@salmanmkc can you at least allow running older version of github-runner until this is resolved? I was forced to upgrade because github-runner refused to work and now I'm stuck with broken CI/CD, with no way moving forward or backward.
Activity
salmanmkc commentedon Sep 24, 2026
So it seems like this one's coming from the Nix package rather than the runner itself.
The Node 20 removal in the changelog is about JavaScript actions (
runs.using: node20). When did you start seeing this issue, since the switch over yesterday should not have caused this. Did you just upgrade your version of NixOS? The runner also bundles its own Node for internal things likehashFiles, and that's still Node 20:runner/src/Runner.Common/Util/NodeUtil.cs
Lines 31 to 32 in 397b032
hashFilesusing it:runner/src/Runner.Worker/Expressions/HashFilesFunction.cs
Line 73 in 397b032
The official runner release still ships
externals/node20for this. nixpkgs stopped including it in thegithub-runnerpackage by default in 26.05 (NixOS/nixpkgs@eca36e4374ee0001681d615d269d0d1e9b7ddb5d), so that path doesn't exist andhashFilesfails:https://github.com/NixOS/nixpkgs/blob/1bc55b9def8165e82073919945c3239903fe4dc2/pkgs/by-name/gi/github-runner/package.nix#L18-L21
On 26.05 you can add it back in your NixOS configuration (usually
/etc/nixos/configuration.nix, or wherever your flake definesservices.github-runners), not the runner's own config:The second line is needed because nixpkgs marks Node 20 as insecure. Option definition: https://github.com/NixOS/nixpkgs/blob/1bc55b9def8165e82073919945c3239903fe4dc2/nixos/modules/services/continuous-integration/github-runner/options.nix#L284-L294
Moving the runner's internal Node to 24 is something we'll need to do regardless, so I'll leave this open to track that.
nyarly commentedon Sep 24, 2026
In part, this feels a little bit like "one rule for me, and another for thee." If Node 20 is insecure (and I think reasonable people will agree that it is) then the runner shouldn't ship it or rely on it, right?
nyarly commentedon Sep 24, 2026
Updating the
nodeRuntimesoption is insufficient now, because https://github.com/NixOS/nixpkgs/blob/af281f96cee7512b4e89748c86881d8dcaeb64ea/pkgs/by-name/gi/github-runner/package.nix#L29We have to track NixOS unstable because of the aggressive upgrade requirements of the Github Runner
takeda commentedon Sep 25, 2026
@nyarly I think a ticket will need to be opened for nixpkgs as well, if we need to downgrade to node20 to use it then it should be allowed, alternatively maybe they will have a better solution.
nyarly commentedon Sep 25, 2026
They're making exactly the same policy decision GitHub is: Node 20 is known insecure and shouldn't be used. It's kind of absurd to suggest that this good decision be overturned because it's inconvenient to you
takeda commentedon Sep 25, 2026
@salmanmkc can you at least allow running older version of github-runner until this is resolved? I was forced to upgrade because github-runner refused to work and now I'm stuck with broken CI/CD, with no way moving forward or backward.
The workaround given doesn't work either:
salmanmkc commentedon Oct 1, 2026
Auto closed with the PR above. Keeping it open until the runner release is done (will do it next week)
salmanmkc commentedon Oct 6, 2026
This runner version 2.338.0 has node 24 now on the internals. Can manually download it at the link I shared, rollout ie happening.