A requeued PR is ejected twice for checks that are green on its head
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing how mergeloop evaluates required check results when a requeued PR has a new head, and compare that path with the related replay behavior in #305. Reproduce the sequence in the issue: fail checks on one head, push a green head, then requeue. Done means ejection verdicts identify the evaluated head and old failures do not eject the new green head.
Written by the indexing model from the issue text.
Description
Observed
agent-labs-dev/nebula#13437 at head f53b762adc had all 34 check runs finished with no failure and the Migration Freshness status green. Two consecutive mergeloop runs exited 11 (ejected) naming "Integration Tests, Turn Query Budget (latency regression gate), Unit Tests" as failed, while the PR's status comment read "merges cleanly into main, and its checks passed". A third run with --after 3d0f2423576d00c5 and no code change merged it as 2042f9b3e5.
Those three checks had failed on the previous head (bdd2912400), before main was merged in.
Reproduction
Have a PR ejected for failed required checks, push a new head that turns them green, queue it again.
Status
Verified: the green head, the two ejections with their text, the merge on the third run.
Suspected cause: the ejection verdict is read from the earlier head's results, or replayed from the earlier need, after a new head exists (possibly related to #305).
Expected
An ejection names the head it judged, and a new green head is not ejected for the old head's checks.
Duplicates checked: #305 is related but describes --after replaying a resolved need.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 0
- Avg merge
- 4h 17m
- Merged PRs (30d)
- 132
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from agent-labs-dev/mergeloop
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
agent-labs-dev/mergeloop#374 ·
Maintainers usually reply within 1 day
-
Batch PRs drop members' labels, so label-gated checks fail every batchPossibly taken @cjber claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
agent-labs-dev/mergeloop#372 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
agent-labs-dev/mergeloop#371 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
agent-labs-dev/mergeloop#370 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
agent-labs-dev/mergeloop#369 · 1 comment ·
Maintainers usually reply within 1 day
All issues in agent-labs-dev/mergeloop
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 64/100
storytold/designcraft#3477 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
area:plugins kind:bug priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/q2#1446 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MartinPTielemans/ilo#4637 ·