Skip to content

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

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
ci-fix/update-wasm-golden-files-0d8137bac851e81d
Draft

[ca] fix: update wasm golden files for aw_context description change#22624
github-actions[bot] wants to merge 1 commit intomainfrom
ci-fix/update-wasm-golden-files-0d8137bac851e81d

Conversation

@github-actions
Copy link
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 <[email protected]>
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.

0 participants