Skip to content

Copilot Fix(CI Failure): version-pin-drift job failing on scheduled run - #85

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/ci-failure-33298453176
Open

Copilot Fix(CI Failure): version-pin-drift job failing on scheduled run#85
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/ci-failure-33298453176

Conversation

@github-actions

Copy link
Copy Markdown

The `version-pin-drift` job in Test Copilot CLI (run 33298453176) failed on the scheduled trigger.

Every day the npm registry pushes a new version, and this poor job just gets told "nope, still not good enough." 😅

💥 Error Log

##[warning]copilot-version default is pinned to 1.0.80 but @latest is 1.0.82
##[error]Process completed with exit code 1.

🕵️‍♂️ Diagnosis

The `version-pin-drift` job (added in #81) compares the pinned `copilot-version` default in `action.yml` against `@github/copilot@latest` on npm. It's designed to intentionally fail scheduled runs when the two diverge, so maintainers get an actionable signal instead of a silent warning. npm now serves `1.0.82` while `action.yml` was still pinned to `1.0.80`, so the check (correctly) failed:

`test "schedule" != "schedule"` evaluates false → non-zero exit → job failure.

This is not a transient/flaky failure — it's the drift-detection job doing exactly what it was built to do.

🛠️ Proposed Fix

Bump the pinned default from `1.0.80` to `1.0.82` in:

  • `action.yml` (`inputs.copilot-version.default` and its description example)
  • `README.md` (docs table default value and the `copilot-version` exact-pin example)

Verified locally that the drift check now matches:
```
PINNED=1.0.82 LATEST=1.0.82
MATCH - job would pass
```

The version-pin-drift job fails scheduled runs whenever the pinned
default in action.yml diverges from @github/copilot@latest on npm.
npm now serves 1.0.82, so the nightly run failed with:
  ::warning::copilot-version default is pinned to 1.0.80 but @latest is 1.0.82
  Process completed with exit code 1.

Update the pinned default (and matching README docs) to 1.0.82 to
resync with the registry and restore the green build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant