Problem Statement
The Daily News workflow failed at engine startup with exit code 127 because the Copilot CLI could not find node inside the AWF chroot environment. The agent never started — this is a complete pre-activation failure.
Affected Workflows and Runs
- Workflow: Daily News (Copilot CLI engine)
- Failed run: §25311165057 — 2026-05-04T09:20Z
- Engine version: GitHub Copilot CLI v1.0.40, model
claude-sonnet-4.6
- Other Copilot CLI workflows may be equally affected if the runner configuration is shared
Root Cause
The AWF chroot environment did not have node on its PATH. The Copilot CLI requires Node.js at runtime. The runner's Node.js install (via setup-node, nvm, or /opt/hostedtoolcache) was either not present or its bin/ directory was not bind-mounted into the chroot.
Error log:
[entrypoint][ERROR] Copilot CLI requires Node.js, but 'node' is not available inside AWF chroot.
[entrypoint][ERROR] Ensure Node.js is installed on the runner and reachable from PATH inside the chroot.
[entrypoint][ERROR] Example locations include /opt/hostedtoolcache/... and /home/runner/.nvm/...
[WARN] Command completed with exit code: 127
Process exiting with code: 127
Probable Root Cause
One of:
setup-node step ran but its toolcache path is not bind-mounted into the chroot
- Runner image changed and no longer ships Node.js at the expected location
- Workflow/runner misconfiguration where PATH inside chroot differs from host PATH
Proposed Remediation
- Check the runner's
/opt/hostedtoolcache and ~/.nvm for the Node.js binary location
- Verify the AWF chroot bind-mount configuration includes the Node.js
bin/ directory (or set GH_AW_NODE_BIN env var to the absolute path)
- Add a pre-flight check in the Daily News workflow:
node --version || echo 'Node.js missing' before the agent step
- Check if other Copilot CLI workflows on the same runner are also failing
Success Criteria
- Daily News completes next scheduled run without exit code 127
- Copilot CLI engine runs are stable across other workflows on the same runner
Parent Issue
Part of failure investigation report: #aw_fail6h (2026-05-04 6h window)
Generated by [aw] Failure Investigator (6h) · ● 239K · ◷
Problem Statement
The Daily News workflow failed at engine startup with exit code 127 because the Copilot CLI could not find
nodeinside the AWF chroot environment. The agent never started — this is a complete pre-activation failure.Affected Workflows and Runs
claude-sonnet-4.6Root Cause
The AWF chroot environment did not have
nodeon itsPATH. The Copilot CLI requires Node.js at runtime. The runner's Node.js install (viasetup-node,nvm, or/opt/hostedtoolcache) was either not present or itsbin/directory was not bind-mounted into the chroot.Error log:
Probable Root Cause
One of:
setup-nodestep ran but its toolcache path is not bind-mounted into the chrootProposed Remediation
/opt/hostedtoolcacheand~/.nvmfor the Node.js binary locationbin/directory (or setGH_AW_NODE_BINenv var to the absolute path)node --version || echo 'Node.js missing'before the agent stepSuccess Criteria
Parent Issue
Part of failure investigation report: #aw_fail6h (2026-05-04 6h window)