Skip to content

fix: repair CI workflow YAML and failing AgentsMd e2e test on main#3666

Merged
dgageot merged 2 commits into
mainfrom
fix/ci-workflow-yaml
Jul 15, 2026
Merged

fix: repair CI workflow YAML and failing AgentsMd e2e test on main#3666
dgageot merged 2 commits into
mainfrom
fix/ci-workflow-yaml

Conversation

@dgageot

@dgageot dgageot commented Jul 15, 2026

Copy link
Copy Markdown
Member

This PR fixes two independent breakages on main.

1. CI workflow YAML parse failure

When the lint job's "Set up Go" step was last modified, the go-version-file and cache-dependency-path keys were left at the wrong indentation level — they sat as siblings of uses: rather than as children of with:. GitHub Actions could not parse the resulting YAML, so every CI run failed instantly with a "workflow file issue" error before a single job could start.

The fix re-indents those two keys so they are correctly nested under with:. No logic changes — the values are unchanged. Validated with actionlint and scripts/workflow-lint.sh.

2. Failing TestExec_Anthropic_AgentsMd e2e test

Commit 2e6951c6d (cache-stable dynamic prompts) changed add_prompt_files to prefix prompt-file content with Instructions from: <absolute path>, but the VCR cassette for this test predated that change, so the recorded Anthropic request no longer matched and the test failed with "requested interaction not found".

Fix:

  • pkg/fake/proxy.go: the VCR DefaultMatcher now normalizes machine-specific Instructions from: <path> prefixes to a stable Instructions from: FILE placeholder, keeping cassettes portable across machines and CI.
  • e2e/testdata/cassettes/TestExec_Anthropic_AgentsMd.yaml: the recorded request body now includes the new prefix.

Validated with task test, task lint, and task build — all green.

@dgageot dgageot requested a review from a team as a code owner July 15, 2026 17:29
Sayt-0
Sayt-0 previously approved these changes Jul 15, 2026
@aheritier aheritier added area/ci CI/CD workflows and pipeline kind/fix PR fixes a bug (maps to fix:). Use on PRs only. labels Jul 15, 2026
aheritier
aheritier previously approved these changes Jul 15, 2026
Replaces machine-specific 'Instructions from: <path>' prefixes with a
stable placeholder so cassettes don't break across environments.

Assisted-By: Claude
@dgageot dgageot dismissed stale reviews from aheritier and Sayt-0 via 8bcc836 July 15, 2026 18:29
@dgageot dgageot changed the title fix(ci): correct indentation in setup-go with block fix: repair CI workflow YAML and failing AgentsMd e2e test on main Jul 15, 2026
@dgageot dgageot merged commit efefe28 into main Jul 15, 2026
13 checks passed
@dgageot dgageot deleted the fix/ci-workflow-yaml branch July 15, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci CI/CD workflows and pipeline kind/fix PR fixes a bug (maps to fix:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants