Skip to content

[aw-failures] evals job "Setup Scripts" post-hook fails with missing action.yml — false failures across ~161 workflows #51448

Closed

Description

@github-actions

Fix the evals job's Setup Scripts post-hook — it fails after the real work is already done

Affected workflow/run:

Root cause: In the evals job, Checkout actions folder (sparse-checkout of actions/) runs, then uses: ./actions/setup runs successfully and uploads evals.jsonl. When Actions later executes the composite action's post hook (post-if: always() in actions/setup/action.yml), it must re-resolve action.yml at /home/runner/work/gh-aw/gh-aw/actions/setup — but the path is gone by then, producing:

Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '.../actions/setup'. Did you forget to run actions/checkout before running your local action?

This flips the evals job — and the whole workflow run — to failure even though the real work (evals.jsonl upload) already succeeded. audit-diff against the nearest successful run (§31263436786) shows zero firewall/API anomalies, ruling out a tool or network regression — this is a GH Actions composite-action lifecycle bug.

Blast radius: the evals job pattern (Checkout actions folder + uses: ./actions/setup) is compiled into 161 lock.yml files in this repo — any of them can hit this intermittently, inflating failure noise repo-wide.

Proposed fix: the evals job doesn't need the setup composite's side effects after its one step — either (a) make the post hook a no-op when its own main step already ran on a since-removed checkout path, (b) confirm nothing else in the job or a shared workspace resets /home/runner/work/gh-aw/gh-aw/actions before the post hook fires, or (c) drop the composite-action dependency for this job and inline the couple of lines it needs.

Success criteria: evals job completes with conclusion success on repeated re-runs of Test Quality Sentinel (and other evals-job workflows); no more Post Setup Scripts failures over a 24h window.
Related to #51270

Generated by 🔍 [aw] Failure Investigator (6h) · agent · 145.5 AIC · ⌖ 46.5 AIC · ⊞ 5.5K · ◷

  • expires on Aug 15, 2026, 11:13 AM UTC-08:00

Activity

  1. added
    bug
    cookie
    on Aug 8, 2026
  2. github-actions commented on Aug 8, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · gpt54 · 1.46 AIC · ⌖ 4.05 AIC · ⊞ 8.4K · ◷

  3. linked a pull request that will close this issueRestore setup action before evals post-hook #51453on Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agentic-workflowsautomationbugcookie

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions