Skip to content

[ca] fix: update wasm golden files for aw_context description change#22624

Merged
pelikhan merged 1 commit intomainfrom
ci-fix/update-wasm-golden-files-0d8137bac851e81d
Mar 24, 2026
Merged

[ca] fix: update wasm golden files for aw_context description change#22624
pelikhan merged 1 commit intomainfrom
ci-fix/update-wasm-golden-files-0d8137bac851e81d

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

CI was failing on TestWasmGolden_CompileFixtures tests due to outdated golden files.

Root Cause

The description of the aw_context workflow dispatch input was updated in pkg/workflow/compiler_aw_context.go from:

(Internal) JSON context injected by the calling agentic workflow. Not intended for direct user input.

to:

Agent caller context (used internally by Agentic Workflows).

However, the golden test fixture files were not updated to reflect this change.

Fixes Applied

  • Updated 3 golden test fixture files to match the new aw_context description:
    • pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/basic-copilot.golden
    • pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/smoke-copilot.golden
    • pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/with-imports.golden

Validation

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

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

Generated by CI Cleaner ·

  • expires on Mar 26, 2026, 6:37 AM UTC

Update golden test files to reflect the updated description of the
aw_context workflow_dispatch input from:
  '(Internal) JSON context injected by the calling agentic workflow. Not intended for direct user input.'
to:
  'Agent caller context (used internally by Agentic Workflows).'

Fixes CI failure in TestWasmGolden_CompileFixtures tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review March 24, 2026 11:19
Copilot AI review requested due to automatic review settings March 24, 2026 11:19
@pelikhan pelikhan merged commit 04f9c66 into main Mar 24, 2026
49 checks passed
@pelikhan pelikhan deleted the ci-fix/update-wasm-golden-files-0d8137bac851e81d branch March 24, 2026 11:19
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 so TestWasmGolden_CompileFixtures matches the current aw_context workflow_dispatch input description.

Changes:

  • Replaces the old aw_context input description text with the new, shorter wording.
  • Updates three affected golden fixture outputs used by TestWasmGolden_CompileFixtures.

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 aw_context.description text in the compiled golden output.
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates aw_context.description text in the compiled golden output.
pkg/workflow/testdata/wasm_golden/TestWasmGolden_CompileFixtures/with-imports.golden Updates aw_context.description text in the compiled golden output.

💡 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