8000
Skip to content

Fix wasm golden tests and lint error after mcpg version bump to v0.1.14#20588

Merged
pelikhan merged 3 commits intomainfrom
copilot/fix-tests-gh-aw
Mar 11, 2026
Merged

Fix wasm golden tests and lint error after mcpg version bump to v0.1.14#20588
pelikhan merged 3 commits intomainfrom
copilot/fix-tests-gh-aw

Conversation

Copy link
Copy Markdown
Contributor
Copilot AI commented Mar 11, 2026

Three wasm golden test fixtures and a lock file were still referencing the old MCP gateway image version (v0.1.8) after DefaultMCPGatewayVersion was bumped to v0.1.14, causing golden comparison failures. A separate staticcheck lint error (S1021) was also introduced in a test file.

Changes

  • Golden files (basic-copilot, smoke-copilot, with-imports): Updated ghcr.io/github/gh-aw-mcpg:v0.1.8v0.1.14 to match current DefaultMCPGatewayVersion
  • example-blocked-domains.lock.yml: Same version update for consistency
  • compiler_orchestrator_engine_test.go:192: Merged split var/assignment into compiler := NewCompiler() to resolve S1021 staticcheck warning

Copilot AI and others added 2 commits March 11, 2026 20:18
…ror S1021

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review March 11, 2026 20:36
Copilot AI review requested due to automatic review settings March 11, 2026 20:36
@pelikhan pelikhan merged commit 495504a into main Mar 11, 2026
46 of 47 checks passed
@pelikhan pelikhan deleted the copilot/fix-tests-gh-aw branch March 11, 2026 20:36
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 fixtures and an example workflow lock file to match the bumped MCP Gateway image version (v0.1.14), and resolves a staticcheck warning in a workflow compiler test.

Changes:

  • Updated ghcr.io/github/gh-aw-mcpg image references in wasm golden fixtures from v0.1.8 to v0.1.14.
  • Updated the same MCP Gateway image reference in example-blocked-domains.lock.yml for consistency.
  • Simplified compiler initialization in compiler_orchestrator_engine_test.go to fix S1021.

Reviewed changes

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

Show a summary per file
File Description
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/with-imports.golden Updates MCP Gateway image tag in golden fixture output.
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates MCP Gateway image tag in golden fixture output.
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/basic-copilot.golden Updates MCP Gateway image tag in golden fixture output.
pkg/workflow/compiler_orchestrator_engine_test.go Refactors compiler initialization to satisfy staticcheck (S1021).
pkg/cli/workflows/example-blocked-domains.lock.yml Updates MCP Gateway image tag in the checked-in lock file.

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

You can also share your feedback on Copilot code review. Take the survey.

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

0