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
{{ message }}
Repository navigation
[awf] Runner Setup: node not found on aw-gpu-runner-T4 breaks copilot-engine workflows #2222
Three daily agentic workflows (daily-news.md, daily-fact.md, daily-issues-report.md) are failing 100% of the time on the aw-gpu-runner-T4 runner with:
/bin/bash: line 1: node: command not found
All three workflows use engine: copilot, which requires Node.js to invoke the Copilot CLI binary. The runtimes: node: version: "24" frontmatter is not provisioning Node.js correctly on this runner type.
Duplicate auto-created failure issues (#28245, #28568) accumulating each day
The same workflows work on ubuntu-latest runners where Node.js is pre-installed
Root Cause
The aw-gpu-runner-T4 runner image does not include Node.js in PATH. The runtimes: node: frontmatter directive either:
Is not processed before the copilot engine step executes, or
Is not supported / not functioning on GPU runner images
The relevant runner setup logic lives in actions/setup/sh/install_copilot_cli.sh and the copilot engine execution path in pkg/workflow/copilot_engine_execution.go (in gh-aw). On the firewall side, copilot-setup-steps.yml and the agent container entrypoint (containers/agent/entrypoint.sh) must ensure Node.js is available in PATH before the user command runs.
Proposed Solution
Verify GPU requirement: Confirm whether daily-news.md, daily-fact.md, and daily-issues-report.md actually use T4 GPU acceleration. If not, change runs-on: aw-gpu-runner-T4 → ubuntu-latest in workflow frontmatter.
Fix runner image: If GPU runners are intentionally used, ensure the aw-gpu-runner-T4 image includes Node.js 20+ in PATH — matching the ubuntu-latest baseline. Update the runner image build or provisioning scripts.
Add pre-flight check: In copilot-setup-steps.yml (.github/copilot-setup-steps.yml), add a step that installs/activates Node.js via actions/setup-node as a fallback guard before any copilot engine invocation.
Fix runtimes: frontmatter handling: Investigate why runtimes: node: version: "24" is not effective on GPU runner types and fix the runtime provisioning logic so it works uniformly across runner variants.
Activity