fix: bump mirror pin to include snapshot-fetch fix#4044
Open
sanity wants to merge 1 commit into
Open
Conversation
## Problem The five most recent `Mirror to Freenet` runs against this repo have all failed with: fatal: bad object a6afd44c68bad8bd12ecb91479dbdad9d25a06fc ! [remote rejected] main -> main (git rev-list failed: exit status: 128) Root cause is in the reusable workflow at the previously-pinned SHA: in snapshot mode the fresh orphan commit's local repo has no ancestor objects in common with the receiver's tip, so the helper's `git rev-list ^<remote-tip> <new-tip>` bails. ## Solution freenet/freenet-git#20 added `git fetch freenet "$BRANCH"` before the push so the remote tip is pulled into local objects. This PR bumps our pinned SHA to that fix. History mode (used by freenet-stdlib) was never affected by this bug, so the corresponding bump there is not needed -- but the sibling caller will pick up the fix opportunistically when its pin is next rev'd. ## Testing Verified the underlying fix end-to-end locally before merging freenet-git#20: a fresh orphan repo with `git fetch freenet main` followed by `git push freenet +main:main` succeeds against the live demo gateway. The freenet-core demo was re-published manually to `b2a8836` while diagnosing the failure; once this lands, the next push to main will exercise the fixed workflow against the established remote tip. ## Fixes Unblocks the broken `Mirror to Freenet` runs on this repo. [AI-assisted - Claude] Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Rule Review: Clean CI workflow pin bumpRules checked: The diff is a single-line SHA bump for a pinned external GitHub Actions workflow. No Rust code was changed. Checks performed:
WarningsNone. InfoNone. No rule violations detected. Rule review against |
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.
Problem
The five most recent
Mirror to Freenetruns against this repo have all failed with:```
fatal: bad object a6afd44c68bad8bd12ecb91479dbdad9d25a06fc
! [remote rejected] main -> main (git rev-list failed: exit status: 128)
```
Root cause was in the reusable workflow at the previously-pinned SHA: in snapshot mode the fresh orphan commit's local repo has no ancestor objects in common with the receiver's tip, so the helper's
git rev-list ^<remote-tip> <new-tip>bails.Solution
freenet/freenet-git#20 (already merged) added
git fetch freenet "\$BRANCH"before the push so the remote tip is pulled into local objects. This PR bumps our pinned SHA to that fix.Testing
Underlying fix verified end-to-end locally before merging freenet-git#20. Demo
freenet:3GEERif5ihbf/freenet-corewas re-published manually tob2a8836while diagnosing — freshgit cloneagainst the live gateway returns 523 files. Next push to main after this lands will exercise the fixed workflow against the established tip.Fixes
Unblocks
Mirror to Freenetworkflow on this repo.[AI-assisted - Claude]