Repository navigation
Closed
Labels
has-open-prhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/claimed-by-scanner
Description
Live evidence (hive's own spoke, v5 db43b1a, 2026-10-30 12:07–12:15 ET)
Merge train log:
"merge train" lane=contributor-lane base=v5 front=15748 order=[15748,15804,15812] size=3
Stage tracker at the same moment:
- 🐛 [reviewer] park PRs at 085 Needs decision when the fixer exhausted its attempts #15748 stage 50
required-check-pending:coverage— it received a new push ~11:50, CI restarted, all 5 perspective verdicts are owed again. Still the train front. - ✨ Show the upgrade animation for every roll (announce + SIGTERM fallback) #15804 stage 80
merge-train:queued-behind#15748:3/4— CI green, verdicts complete, waiting behind 🐛 [reviewer] park PRs at 085 Needs decision when the fixer exhausted its attempts #15748. - ✨ Auto-merge hive-authored superseding PRs without operator decision #15757 stage 80
queued-behind#15748:2/4— CI green, verdicts complete.
At 12:15 the train showed 4 members: #15757 front (rebase force-pushed 12:13, CI re-running), #15804, #15812 (opened ~11:55) and #15816 (opened ~12:10). The last two cannot have green CI yet and verdicts for their heads are not recorded.
Root cause
planMergeTrainsseats every candidate that passes the prefilter; readiness (🐛 merge train: ready PRs lead; odometer rolls only after the bee lands #15763) only orders members (ready → unknown → unready). Unknown/unready PRs still take positions and can befront.mergeTrainHeadReadinessfalls back to the stage store'sStage >= 080, keyed by PR not head SHA, so a pushed PR keeps reading "ready" for its new head.ClassifyStagemaps anymerge-train:*reason to 080 unconditionally, so a parked sibling renders in the Merge queue column regardless of its CI / verdict state.
Rule
items that have not passed the review or CI is not green should not be (a) ready for merge, (b) in a merge train.
They should not be in the merge queue column.
Required behaviour
- A merge train only contains PRs that are currently ready: CI green on the current head, all required perspective verdicts recorded for the current head, mergeable, not conflicting, not held. Anything else is a candidate (overlap info may be kept) with no position and never
front. - If a member regresses (head moved, CI pending/red, verdict owed, conflicting) it is ejected on the next evaluation; the next ready member becomes front. One INFO line
merge train: member ejected pr=N why=head-moved|ci-pending|verdict-owed|conflicting. The ejected PR re-enters at the back when ready again. - Stage 080 (Ready to merge / Merge queued) is only reachable with CI green + verdicts complete for the current head; otherwise the row stays in the CI / Review column with a caption saying what is owed, and the gray pill carries the lineage ("left merge train · pushed 3m ago").
- Ordering among ready members: readiness ordering from 🐛 merge train: ready PRs lead; odometer rolls only after the bee lands #15763, then age.
Metadata
Metadata
Assignees
Labels
has-open-prhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/claimed-by-scanner
Activity
🐛 Merge train seats only PRs green and reviewed on their current head…
hivecommons-hive commentedon Oct 30, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.🐛 Merge train seats only PRs green and reviewed on their current head…
fix: rebasing rides no seat; train size counts seats; seat words over…
🐛 Merge train seats only PRs green and reviewed on their current head…
fix: rebasing rides no seat; train size counts seats; seat words over…
🐛 Merge train seats only PRs green and reviewed on their current head…
fix: rebasing rides no seat; train size counts seats; seat words over…
🐛 Merge train seats only PRs green and reviewed on their current head…