Skip to content

[ca] test: update wasm golden files for gh-aw-mcpg v0.2.1 upgrade#22486

Merged
pelikhan merged 1 commit intomainfrom
fix/update-wasm-golden-files-969cc6d8fe05ca17
Mar 23, 2026
Merged

[ca] test: update wasm golden files for gh-aw-mcpg v0.2.1 upgrade#22486
pelikhan merged 1 commit intomainfrom
fix/update-wasm-golden-files-969cc6d8fe05ca17

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

CI was failing because golden test files were not updated when gh-aw-mcpg was upgraded from v0.2.0 to v0.2.1 in #22471.

Failure

TestWasmGolden_CompileFixtures was failing for 3 subtests:

  • basic-copilot
  • smoke-copilot
  • with-imports

The compiled output referenced ghcr.io/github/gh-aw-mcpg:v0.2.1 but the golden files still contained v0.2.0.

Fix

Updated the 3 golden files using go test -update to regenerate them with the correct v0.2.1 image references.

Validation

  • make fmt - Code formatted successfully
  • make test-unit - All unit tests pass (including TestWasmGolden_CompileFixtures)
  • make recompile - All 177 workflows compiled successfully (no lock file changes needed)

Triggered by failed CI run: https://github.com/github/gh-aw/actions/runs/23451374269

Warning

⚠️ Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • releaseassets.githubusercontent.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "releaseassets.githubusercontent.com"

See Network Configuration for more information.

Note

🔒 Integrity filter blocked 1 item

The following item were blocked because they don't meet the GitHub integrity level.

  • github/gh-aw#23451374269 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Cleaner ·

  • expires on Mar 25, 2026, 6:25 PM UTC

The golden test files were not updated when gh-aw-mcpg was upgraded
from v0.2.0 to v0.2.1, causing TestWasmGolden_CompileFixtures to fail.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review March 23, 2026 18:50
Copilot AI review requested due to automatic review settings March 23, 2026 18:50
@pelikhan pelikhan merged commit e7aee15 into main Mar 23, 2026
49 checks passed
@pelikhan pelikhan deleted the fix/update-wasm-golden-files-969cc6d8fe05ca17 branch March 23, 2026 18:50
Copy link
Copy Markdown
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 WASM golden fixture outputs to match the gh-aw-mcpg container image tag after the upgrade to v0.2.1, fixing CI failures in TestWasmGolden_CompileFixtures.

Changes:

  • Regenerated basic-copilot, smoke-copilot, and with-imports WASM golden files.
  • Updated hardcoded image references from ghcr.io/github/gh-aw-mcpg:v0.2.0 to v0.2.1 in the compiled outputs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/basic-copilot.golden Updates golden output to reference gh-aw-mcpg:v0.2.1 (download + docker run command).
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates golden output to reference gh-aw-mcpg:v0.2.1 (download + docker run command).
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/with-imports.golden Updates golden output to reference gh-aw-mcpg:v0.2.1 (download + docker run command).

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

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