A cancelled duplicate CI run ejects a stack as "required checks failed"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
The payload names no source file. Start by finding where the required-checks failure decision reads check runs for a PR head and produces the "Ejected: required checks failed" reason. Write a test with two check runs of the same name and sha, one cancelled and one success, and confirm the cancelled one should not count. Done when the superseded run no longer triggers a fix attempt or ejection. Note that rerun-failed needs the GitHub App's actions: write permission, which the owner must accept.
Written by the indexing model from the issue text.
Description
Observed (verified): stack https://github.com/agent-labs-dev/nebula/stack/14010 was ejected on 2026-11-25 14:06Z with "Ejected: required checks failed: No secret in the commits this change adds". The check-run list for the PR head at the time shows that check as cancelled on one run and success on the duplicate run for the same sha (https://github.com/agent-labs-dev/nebula/actions/runs/45630228006/job/139261104444 cancelled, https://github.com/agent-labs-dev/nebula/actions/runs/45630232932/job/139261132899 success). The cancelled run came from MergeLoop rebasing and republishing the branch while CI for the previous head was still running. The fix agent then ran, died on "Credit balance is too low", and the PR was ejected. Requeueing with no change merged it (https://github.com/agent-labs-dev/nebula/pull/13998).
Expected: a cancelled check run superseded by a successful run for the same check name and sha is not a failure, and does not start a fix attempt or eject.
Suspected cause (not verified): the failure decision reads every check run for the head and counts cancelled as failed without preferring the latest run per check name.
Also seen: rerun-failed was refused because the GitHub App lacks actions: write (needs owner acceptance).
Duplicates checked: https://github.com/agent-labs-dev/mergeloop/issues/243 is about a different status symptom.
🤖 Generated with Claude Code
- 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 ·