Skip to content

Add Node setup for aw-gpu-runner-T4 custom jobs#27360

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/add-node-setup-to-aw-gpu-runner-t4
Closed

Add Node setup for aw-gpu-runner-T4 custom jobs#27360
Copilot wants to merge 3 commits intomainfrom
copilot/add-node-setup-to-aw-gpu-runner-t4

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

Summary

Add automatic Node.js setup to custom frontmatter jobs that run on aw-gpu-runner-T4.

Changes

  • Inject Setup Node.js into custom jobs with runs-on using aw-gpu-runner-T4
  • Honor top-level runtimes.node.version overrides for the injected step
  • Skip injection when the custom job already contains a setup-node step
  • Add unit tests for default Node 24 behavior, runtime override behavior, and no-duplicate behavior

Validation

  • make fmt
  • go test -v -run "TestBuildCustomJobs(AddsNodeSetupForAWGPURunner|AddsNodeSetupForAWGPURunnerWithRuntimeOverride|SkipsNodeSetupForAWGPURunnerWhenAlreadyPresent)|TestBuildCustomJobsRunsOnForms" ./pkg/workflow/
  • make agent-finish (fails due to pre-existing repository gosec findings unrelated to this change)
  • parallel_validation (Code Review + CodeQL; no security alerts in changed code)

Copilot AI and others added 3 commits April 20, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants