Repository navigation
Conversation
Prune was dropping a checkout as soon as the job process exited, so a later attribution check failed closed when that checkout was the recorded repository. A pass or a recorded failure from the guard lets pruning resume. Co-authored-by: Cursor <cursoragent@cursor.com>
The installed guard checks and returns success without writing a pass until the signed-pass change is deployed. Prune keeps today's behavior for that result, and holds only when the check fails or a pass does not verify. Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Author
|
Closing as superseded: commit attribution is approval/merge-blocking rather than review-feedback-blocking, and #47 already retains releases while a job is running through job-exit. Keeping the branch pushed in case post-exit retention is ever revisited. |
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.
Why
Prune removed a Guild checkout as soon as the job process exited. A later attribution check then failed closed because the baseline still named that checkout.
What changed
guild-release prune --jobs-rootkeeps a release named by a settled job until Bridgekeeper's attribution pass verifies for that baseline. A verified pass or a verified failure lets pruning resume. A missing, bogus, or stale pass holds the release. WhenGUILD_ATTRIBUTION_GUARDis set, prune runs the guard first for a settled job that has no pass, so the proof is written while the checkout is still there.guild-updatepoints that atcurrent/bin/attribution-guardand passes~/work-notesunlessGUILD_JOBS_ROOTis set.Verification
python3 tests/test_release_retention.py— 7 tests, OK.