Ejection blames renamed checks when the PR head never followed MergeLoop's published rebase

Aperta
#369 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, rust
Ambito
devtools

Direzione di ricerca

Start by tracing the ejection path that reports required checks and how it compares the PR head SHA with the commit MergeLoop published; the payload does not name source files or tests. Reproduce the mismatch using the described pull_status evidence if available, then check whether the reason identifies the head and published SHA accurately. Done means a desynchronized PR is reported as such instead of being blamed on renamed checks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Observed

On agent-labs-dev/nebula#14784, MergeLoop rebased the branch onto main and published fa66e44 (events: rebased 28f66da at 14:32:08Z, published fa66e44 at 14:32:12Z). The branch ref heads/cb/dead-columns moved to fa66e44, but the PR's head.sha stayed 30cd6c8 and mergeable_state read unknown. GitHub fired no pull_request synchronize run for fa66e44: actions/runs?head_sha=fa66e44 listed only the push-event Migration Freshness run.

30 minutes later MergeLoop ejected the PR with:

Ejected: required checks never reported, 30 minutes after every other check finished: Integration Tests, Linter, Migration Freshness, No secret in the commits this change adds, Turn Query Budget (latency regression gate), Unit Tests. Does a workflow still run them under that name?

Every one of those checks had passed on 30cd6c8, and the workflows still run them under those names. The real cause was the PR head not following the published commit.

Reproduction

The desync is GitHub's, not reproducible on demand. The evidence is in mergeloop call pull_status '{"repo":"agent-labs-dev/nebula","number":14784}' around 2026-12-01T14:32Z to 15:02Z, and in the PR's head sha versus the branch ref during that window.

Expected

When the PR's head.sha does not match the commit MergeLoop published, say that (and ideally nudge the PR, for example by re-pushing, before the 30-minute timeout) rather than suggesting the required checks were renamed.

Workaround

A new push to the branch (here an empty signed commit, 7173909) made GitHub sync the PR head and start CI. The PR was then requeued.

Verified vs suspected

Verified: the branch ref was fa66e44 while the PR head was 30cd6c8; no pull_request runs existed for fa66e44; the ejection reason named checks that passed on 30cd6c8. Suspected: GitHub dropped the synchronize event for MergeLoop's push.

Lingua principale
Rust
Stelle
6
Fork
0
Merge medio
4h 17m
PR unite (30g)
132

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di agent-labs-dev/mergeloop

Tutte le issue di agent-labs-dev/mergeloop

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.