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(pr-pipeline): branch-cleanup starts every run at the same branch when the count divides the stride #11301
admission-deferredAdmitted but waiting for WIP room; the hourly work-unblock sweep labels it agent-ready.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
When the branch count divides the branch-cleanup plan stage's stride, plan() in .github/scripts/branch-cleanup/cleanup.mjs starts every run at the same branch. Kept branches early in the listing that cost many reads then spend the evaluation share every run, and the branches after them are never evaluated. A review of the copy in pr-pipeline-sandbox#254, part of #8957's adoption, found it; that copy shipped with the fix, and this repository's source script still has the bug.
Done when
Successive runs start at every branch in turn when the branch count divides the stride, shown by a test that fails before the fix.
The start does not change when the count and the stride are already coprime.
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: when the branch count divides the stride, plan() in .github/scripts/branch-cleanup/cleanup.mjs starts every run at the same branch. Expensive early branches then use up the evaluation share each run, and later branches are never evaluated. The done-when items are clear: a test that fails before the fix and rotates the start across every branch, and no change in behavior when the count and stride are coprime. Nothing is missing. I found no duplicate among the open issues. #8957 is the related parent.
admission-deferredAdmitted but waiting for WIP room; the hourly work-unblock sweep labels it agent-ready.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Activity
github-actions commentedon Oct 30, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: when the branch count divides the stride,
plan()in.github/scripts/branch-cleanup/cleanup.mjsstarts every run at the same branch. Expensive early branches then use up the evaluation share each run, and later branches are never evaluated. The done-when items are clear: a test that fails before the fix and rotates the start across every branch, and no change in behavior when the count and stride are coprime. Nothing is missing. I found no duplicate among the open issues. #8957 is the related parent.Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Oct 30, 2026
Not admitted to the issue lane yet: open pull request #11276 is for it.