Stabilize Copilot Actions by normalizing git object state before request processing - #2
Merged
Priyank911 merged 1 commit intoSep 12, 2026
Conversation
Co-authored-by: Priyank911 <109425795+Priyank911@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Priyank911
September 12, 2026 19:47
View session
Priyank911
marked this pull request as ready for review
September 12, 2026 19:47
Priyank911
merged commit Sep 12, 2026
986b28a
into
copilot/initial-production-grade-scaffold
3 checks passed
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 Copilot workflow was failing in the
Dependabot Checkerphase due to git object resolution issues in the runtime clone (unable to normalize alternate object path) and inconsistent local availability ofmain.This PR adds a Copilot preflight setup workflow to normalize repository object storage and ensure the base branch ref is present before agent tools run.
Root-cause guardrail: git alternates normalization
.github/workflows/copilot-setup-steps.ymlwith acopilot-setup-stepsjob..git/objects/info/alternates, repacks objects into the local repo, removes alternates, and verifies connectivity.Base-branch availability for tooling
origin/mainintorefs/remotes/origin/mainduring setup to avoid base-commit lookup drift in downstream checks.Copilot-specific bootstrap wiring
actions/checkout@v5.contents: read.