Skip to content

[CI Failure Doctor] CI Failure Investigation - Run #37203 #17466

@github-actions

Description

@github-actions

Summary

Wasm golden fixtures now compare for Copilot CLI 0.0.412 but the pipeline upgraded the CLI to 0.0.414, so the golden output no longer matches and the wasm-focused tests fail.

Failure Details

Root Cause Analysis

The wasm golden tests check the generated workflow snippets, which still expect install_copilot_cli.sh 0.0.412. After bumping the Copilot CLI binary to 0.0.414, the new output contains agent_version: "0.0.414" and the install step now runs install_copilot_cli.sh 0.0.414, so the tests flag the diff.

Failed Jobs and Errors

  • test: TestWasmGolden_CompileFixtures/basic-copilot, TestWasmGolden_CompileFixtures/smoke-copilot, and TestWasmGolden_CompileFixtures/with-imports all failed because golden files still mention CLI 0.0.412.
  • build-wasm: make test-wasm-golden exits with failure because the same wasm golden stretch fails.
Investigation Findings
  • The failure report output recorded the mismatched CLI install step for each fixture and highlighted agent_version: "0.0.414" as the only difference.
  • Regenerating the golden fixtures should update basic-copilot.md, smoke-copilot.md, and with-imports.md to expect the new CLI version and clear the failure.
  • No other jobs in the workflow failed; everything after the wasm tests relies on them, so rerunning the pipeline should succeed after the fixtures are updated.

Recommended Actions

  • Regenerate the wasm golden fixtures via make test-wasm-golden (or go test ./pkg/workflow -run TestWasmGolden_CompileFixtures -count=1) to capture install_copilot_cli.sh 0.0.414 and commit the updated basic-copilot.md, smoke-copilot.md, and with-imports.md.
  • After committing the refreshed fixtures, rerun the workflow so test and build-wasm pass again.

Prevention Strategies

Document the need to rerun the wasm golden fixture generator whenever the Copilot CLI version is bumped so the tests stay in sync with the binary they install.

AI Team Self-Improvement

  • Always regenerate wasm golden fixtures after updating the Copilot CLI binary version so the tests keep tracking the install command.
  • When diagnosing wasm golden failures, compare the agent_version and install_copilot_cli.sh arguments against the golden files.
Historical Context
  • Previous CI Failure Doctor investigations such as [CI Failure Doctor] CI Failure Investigation - Run #37172 are closed, and no open duplicate issue covers this CLI-version discrepancy.
  • Search results for [CI Failure Doctor] with the cookie label returned only closed issues, so this run appears to be a new investigation.

🩺 Diagnosis provided by CI Failure Doctor

To install this workflow, run gh aw add githubnext/agentics/workflows/ci-doctor.md@ea350161ad5dcc9624cf510f134c6a9e39a6f94d. View source at https://github.com/githubnext/agentics/tree/ea350161ad5dcc9624cf510f134c6a9e39a6f94d/workflows/ci-doctor.md.

  • expires on Feb 22, 2026, 12:14 PM UTC

Metadata

Metadata

Labels

cookieIssue Monster Loves Cookies!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions