Skip to content

Comments

Document shallow clone issue causing apparent missing PR history#86

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/investigate-missing-prs
Closed

Document shallow clone issue causing apparent missing PR history#86
Copilot wants to merge 3 commits intomainfrom
copilot/investigate-missing-prs

Conversation

Copy link

Copilot AI commented Feb 10, 2026

Repository was cloned with --depth=1, making full git history unavailable. After git fetch --unshallow, verified all merged PRs exist in history.

Investigation Results

Last 6 merged PRs: #77, #78, #79, #80, #83, #84 - all present in git history with verified commit SHAs.

PR #81 and #82: Never created (GitHub API returns 404).

Root cause: Shallow clone contained only 1 commit; git log showed "(grafted)" indicator. After unshallowing, retrieved 1,459 commits.

Deliverables

  • PR_INVESTIGATION_FINDINGS.md - Full technical analysis, evidence, and recommendations for CI/CD systems
  • SHALLOW_CLONE_ISSUE.md - Quick reference guide with TL;DR and fix instructions
  • scripts/verify_pr_history.sh - Automated tool to detect shallow clones and verify PR commits exist

Verification

# Check for shallow clone
[ -f .git/shallow ] && echo "Shallow clone detected"

# Fix
git fetch --unshallow

# Verify PRs
./scripts/verify_pr_history.sh

All merge commits verified present via git cat-file -t <sha>. No data loss or history corruption detected.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 10, 2026 21:30
Co-authored-by: havok2063 <1836302+havok2063@users.noreply.github.com>
Co-authored-by: havok2063 <1836302+havok2063@users.noreply.github.com>
Copilot AI changed the title [WIP] Examine and compare last 6 PRs with main branch Document shallow clone issue causing apparent missing PR history Feb 10, 2026
Copilot AI requested a review from havok2063 February 10, 2026 21:34
@havok2063 havok2063 closed this Feb 10, 2026
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.

2 participants