Skip to content

copilot_driver.cjs not found - workflow compiled with v0.68.3 but setup action is v0.74.1 #32893

Description

@jonathanpeppers

Summary

The dotnes PR Reviewer workflow consistently fails in the Execute GitHub Copilot CLI step with:

Error: Cannot find module '/home/runner/work/_temp/gh-aw/actions/copilot_driver.cjs'

This is preceded by:

[entrypoint][WARN] Failed to transfer /host/home/runner/work/_temp/gh-aw/safeoutputs ownership to chroot user

The failure is reproducible on re-run (not transient).

Details

Root cause

Dependabot bumped only the github/gh-aw-actions/setup SHA from v0.68.3 to v0.74.1 in the lock file (jonathanpeppers/dotnes@448cd30) without recompiling. This left the rest of the workflow (Copilot CLI v1.0.21, containers, etc.) at v0.68.3-era versions, creating a mismatch where the v0.74.1 setup action expected copilot_driver.cjs in a location that didn't exist.

Fixes applied

  1. Fix reviewer workflow: recompile lock file and ignore gh-aw-actions in Dependabot jonathanpeppers/dotnes#504 (merged) - Recompiled dotnes-reviewer.lock.yml with gh aw compile v0.72.1, bringing all components into alignment
  2. Ignore github/gh-aw-actions in Dependabot jonathanpeppers/dotnes#505 - Added Dependabot ignore rule for github/gh-aw-actions to prevent partial SHA bumps in the future

Suggestion for gh-aw

It may be worth considering whether gh-aw lock files should be marked in a way that Dependabot does not attempt partial version bumps on them. The lock file format looks like a regular GitHub Actions workflow with pinned SHAs, so Dependabot treats it as something it can update - but partial updates break the internal version consistency.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions