You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(source-control): keep pr-merge from re-judging merges past the 90-day lane-record retention #9187
pr-merge's post-merge judge re-reads every auto-merge since the floor on every sweep (babysit_postmerge.pycheck(), _merged_since). The floor moves only on the enabling config commit or a human close of a demotion record (babysit_merge_policy.pymerged_since_floor). The lane record each merge relies on, the pr-merge-dispatched-<id> artifact, is uploaded with retention-days: 90 (.github/workflows/pr-merge.yml:215). Once the floor is more than 90 days old, a merge whose record has expired may read as having no lane-dispatched run. Before #9168 that would demote the lane; after #9168 it holds the verdict unreadable on every sweep.
Whether the list-artifacts endpoint still returns an expired artifact (its object carries an expired field) is UNVERIFIED.
Proposed work class: work-class: scoped
Basis: automated intake triage; a maintainer confirms or changes it.
Understood: pr-merge's post-merge judge re-reads every auto-merge since the floor, but the lane record artifact expires after 90 days. A merge whose record has expired could be demoted or held as unreadable on every sweep. The fix is to verify whether expired artifacts stay listed. If they don't, either settle a merge once it has been judged green, or treat merges older than the retention as settled. A test should show such a merge is neither demoted nor held. Nothing is missing that I can see. This looks related to #9168, #9167 and #9170, which the issue already references. I found no other likely duplicates in the open issues.
Duplicate of #7479, which already tracks this (dispatch records expire while the post-merge floor still counts older merges). I added the post-#9208 behavior there.
Activity
github-actions commentedon Oct 22, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; a maintainer confirms or changes it.
Understood: pr-merge's post-merge judge re-reads every auto-merge since the floor, but the lane record artifact expires after 90 days. A merge whose record has expired could be demoted or held as unreadable on every sweep. The fix is to verify whether expired artifacts stay listed. If they don't, either settle a merge once it has been judged green, or treat merges older than the retention as settled. A test should show such a merge is neither demoted nor held. Nothing is missing that I can see. This looks related to #9168, #9167 and #9170, which the issue already references. I found no other likely duplicates in the open issues.
Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 22, 2026
Duplicate of #7479, which already tracks this (dispatch records expire while the post-merge floor still counts older merges). I added the post-#9208 behavior there.