Skip to content

[WIP] Fix failing GitHub Actions workflow runtime and setup#14796

Merged
pelikhan merged 2 commits intopinsupdatefrom
copilot/fix-github-actions-workflow-f5a391d2-6b81-4fae-ab56-1675a4ff6688
Feb 10, 2026
Merged

[WIP] Fix failing GitHub Actions workflow runtime and setup#14796
pelikhan merged 2 commits intopinsupdatefrom
copilot/fix-github-actions-workflow-f5a391d2-6b81-4fae-ab56-1675a4ff6688

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

Fix Integration Test: Workflow Runtime & Setup

Root Cause

The TestRuntimeSetupIntegration test was failing because it expected an outdated SHA for actions/setup-node@v6:

  • Expected (old): 395ad3262231945c25e8478fd5baf05154b1d79f
  • Actual (current): 6044e13b5dc448c55e2357c09f80417699197238 (from action_pins.json)

The action_pins.json file was recently updated with newer action SHAs, but the integration test wasn't updated to match.

Implementation Plan

  • Investigate failing test logs
  • Identify root cause (outdated SHA in test expectations)
  • Update test to use current SHA from action_pins.json
  • Run the specific failing test to verify fix
  • Run full unit test suite to ensure no regressions
  • Commit and push changes
Original prompt

Fix the failing GitHub Actions workflow Integration: Workflow Runtime & Setup
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 63124258048
Job URL: https://github.com/github/gh-aw/actions/runs/21870586097/job/63124258048


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Update the test expectation to use the current SHA for actions/setup-node@v6.2.0
(6044e13b5dc448c55e2357c09f80417699197238) instead of the outdated SHA
(395ad3262231945c25e8478fd5baf05154b1d79f). The action_pins.json file was
recently updated with newer action SHAs, and this test needed to be synchronized.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review February 10, 2026 15:24
Copilot AI review requested due to automatic review settings February 10, 2026 15:24
@pelikhan pelikhan merged commit 139c14c into pinsupdate Feb 10, 2026
@pelikhan pelikhan deleted the copilot/fix-github-actions-workflow-f5a391d2-6b81-4fae-ab56-1675a4ff6688 branch February 10, 2026 15:24
Copilot AI requested a review from pelikhan February 10, 2026 15:25
Copilot stopped work on behalf of pelikhan due to an error February 10, 2026 15:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the workflow runtime/setup integration test to align its expected pinned actions/setup-node@v6 SHA with the current value in action_pins.json, fixing a failing integration test in the workflow compiler/runtime setup area.

Changes:

  • Updated the expected actions/setup-node pinned SHA in TestRuntimeSetupIntegration to the current pin.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 51 to 55
expectSetup: []string{
"Setup Node.js",
"actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f",
"actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238",
"node-version: '24'",
},
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test still hard-codes the pinned actions/setup-node SHA, which is what caused the failure when action_pins.json was updated. To avoid future breakage, consider deriving the expected SHA from the same source as the compiler (e.g., GetActionPinByRepo("actions/setup-node") and asserting on "actions/setup-node@"+pin.SHA, or using GetActionPin("actions/setup-node") and checking it’s present in the lock content). This would keep the integration test automatically in sync with pin updates (same applies to the other hard-coded action SHAs in this file).

Copilot uses AI. Check for mistakes.
pelikhan added a commit that referenced this pull request Feb 10, 2026
* updated pins

* [WIP] Fix integration tests for updated pins (#14791)

* Initial plan

* Initial plan for fixing integration tests

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Update integration tests with new action pins

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* [WIP] Fix failing GitHub Actions workflow Integration: Workflow Compiler (#14792)

* Initial plan

* Update action pin SHAs in runtime integration tests

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* [WIP] Fix failing GitHub Actions workflow runtime and setup (#14796)

* Initial plan

* Fix TestRuntimeSetupIntegration by updating setup-node SHA

Update the test expectation to use the current SHA for actions/setup-node@v6.2.0
(6044e13b5dc448c55e2357c09f80417699197238) instead of the outdated SHA
(395ad3262231945c25e8478fd5baf05154b1d79f). The action_pins.json file was
recently updated with newer action SHAs, and this test needed to be synchronized.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Add retry logic for transient GitHub API errors in live integration test (#14799)

* Initial plan

* Add retry logic for transient GitHub API errors in frontmatter hash test

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Address code review feedback: extract retry config constants and scope core mock

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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.

3 participants