[ca] test: update wasm golden files for gh-aw-mcpg v0.2.1 upgrade#22486
Merged
[ca] test: update wasm golden files for gh-aw-mcpg v0.2.1 upgrade#22486
Conversation
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>
Contributor
There was a problem hiding this comment.
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, andwith-importsWASM golden files. - Updated hardcoded image references from
ghcr.io/github/gh-aw-mcpg:v0.2.0tov0.2.1in 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI was failing because golden test files were not updated when
gh-aw-mcpgwas upgraded fromv0.2.0tov0.2.1in #22471.Failure
TestWasmGolden_CompileFixtureswas failing for 3 subtests:basic-copilotsmoke-copilotwith-importsThe compiled output referenced
ghcr.io/github/gh-aw-mcpg:v0.2.1but the golden files still containedv0.2.0.Fix
Updated the 3 golden files using
go test -updateto regenerate them with the correctv0.2.1image references.Validation
make fmt- Code formatted successfullymake test-unit- All unit tests pass (includingTestWasmGolden_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
The following domain was blocked by the firewall during workflow execution:
releaseassets.githubusercontent.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter: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.
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: