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
ci: the conflict gate leaves conflicting PRs green, and its 10-minute sweep runs about every 5 hours #20573
pr-merge-conflict-gate can leave a conflicting PR showing a green no-merge-conflicts, and its re-check is far less frequent than its documentation says.
The workflow's header says the schedule runs every 10 minutes. Over the latest 25 scheduled runs the median interval is 306.9 minutes.
Cause not established. A plausible one is that the sweep read a mergeable value GitHub had not yet recomputed after the push; this has not been tested.
CI cost found: on those 10 heads, runs overlapping the time after the last main push were 2 runs, about 0.34 run hours, both ending cancelled. One moment's sample, not a rate.
Acceptance criteria
The cause of the green status on a conflicting PR is established with a reproduction or log evidence.
A PR that is conflicting stops showing success within a stated, measured bound after the push that caused it.
The workflow's header states the interval the schedule actually delivers.
Part of this landed in the merge train (PR #20594, 655489c4e6) via #20593: pipeline-scripts/pr_conflict_gate.py counts mergeable: true only when GitHub test merge has the live base tip and the PR head as parents, and re-reads an older test merge, leaving it pending if it does not settle. The header of .github/workflows/pr-merge-conflict-gate.yml now states the measured schedule (median 306.9 minutes over the latest 25 runs, 2026-11-01). Stays open: no reproduction or log evidence of the original green status is recorded here, and the bound after a push has not been measured on a live run.
First measurement with the fix (#20593), on the main push 655489c4e6. One sample.
Time (UTC)
Event
09:24:11
Push to main
09:32:35
Gate job starts: 8m24s waiting for a runner
09:32:51 to 09:35:54
PRs checked
Last status set 11m43s after the push, nearly all of it queue time. Results: 23 conflicting, 53 mergeable, 0 left unknown. Afterwards, of 77 open PRs: 23 GitHub false with status failure, 53 true with success, 1 true with no status yet, 0 conflicting PRs showing success.
AC
Status
Evidence
Cause established
Ticked
Log evidence: the sweep at 18:51Z set success on five heads that conflict with that main by local merge, 4 minutes after the push. mergeable: true read off an older test merge, seen live on 20 of 47 true readings.
Bound stated and measured
Open
One sample. It stays open for two more main pushes, then the bound gets stated in the workflow header. Runner queue, up to about 10 minutes in the samples so far, dominates it.
Activity
mrveiss commentedon Nov 2, 2026
Part of this landed in the merge train (PR #20594,
655489c4e6) via #20593:pipeline-scripts/pr_conflict_gate.pycountsmergeable: trueonly when GitHub test merge has the live base tip and the PR head as parents, and re-reads an older test merge, leaving itpendingif it does not settle. The header of.github/workflows/pr-merge-conflict-gate.ymlnow states the measured schedule (median 306.9 minutes over the latest 25 runs, 2026-11-01). Stays open: no reproduction or log evidence of the original green status is recorded here, and the bound after a push has not been measured on a live run.mrveiss commentedon Nov 2, 2026
First measurement with the fix (#20593), on the main push
655489c4e6. One sample.Last status set 11m43s after the push, nearly all of it queue time. Results: 23 conflicting, 53 mergeable, 0 left unknown. Afterwards, of 77 open PRs: 23 GitHub
falsewith status failure, 53truewith success, 1truewith no status yet, 0 conflicting PRs showing success.mergeable: trueread off an older test merge, seen live on 20 of 47truereadings..github/workflows/pr-merge-conflict-gate.yml, 306.9-minute median.Not shown by this run: whether any PR needed a re-read. The log records only final verdicts.