Copilot Fix(CI Failure): Bump pinned copilot-version default to 1.0.81 - #83
Open
github-actions[bot] wants to merge 1 commit into
Open
Copilot Fix(CI Failure): Bump pinned copilot-version default to 1.0.81#83github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
The scheduled version-pin-drift job fails whenever @github/copilot publishes a new release and action.yml's pinned default falls behind. npm registry now reports 1.0.81 as latest while action.yml was still pinned to 1.0.80, causing the drift check to fail with: ##[warning]copilot-version default is pinned to 1.0.80 but @latest is 1.0.81 ##[error]Process completed with exit code 1. Bump the pinned default in action.yml and the matching README documentation to 1.0.81 to resolve the drift. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
version-pin-driftjob in Test Copilot CLI started failing because a new@github/copilotrelease landed on npm.Version pins age like milk, not wine — this one just expired. 🥛
https://github.com/austenstone/copilot-cli/actions/runs/33163630133/job/93016726841#step:3:1
💥 Error Log
🕵️♂️ Diagnosis
The
version-pin-driftjob (added in #81) compares thecopilot-versiondefault pinned inaction.ymlagainst@github/copilot@lateston the npm registry, and intentionally fails onscheduleruns when they diverge (test "schedule" != "schedule"). npm now reports1.0.81as latest, whileaction.ymlwas still pinned to1.0.80— a genuine drift, not a transient/CI issue.🛠️ Proposed Fix
Bump the pinned default from
1.0.80to1.0.81in:action.yml(inputs.copilot-version.default)README.md(docs table default column and the "exact pin (default)" example)No other jobs reference the old exact value (
config-legacyintentionally pins an unrelated legacy version1.0.34, andversion-specuses a floor range>=1.0.80that remains valid).Verified locally that the drift check now passes: