github / github/gh-stack

Stack merge hangs after partial merge invalidates latest-push approval

Aperta
#174 9 commenti 22 reazioni 0 assegnatari Vedi su GitHub
bug topic: merge
Lingua principale
Go
Stelle
1.5k
Fork
70
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

## Reproduction

1. Create `main <- PR A <- PR B`.
2. Enable merge queue and "Require approval of the most recent reviewable push."
3. Approve both PRs after their latest pushes.
4. Merge the stack from PR B.

## Expected

Both PRs merge, or the operation stops before either merges.

## Actual

PR A merges. GitHub rebases PR B, invalidating its approval. PR B is not queued, and the merge dialog spins indefinitely.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the stacked merge through PR B with merge queue and most-recent-push approval enabled, then trace the merge-queue and merge-dialog flow after PR B's approval is invalidated. Done means the operation either merges both PRs or stops cleanly before either merge, without leaving the dialog spinning.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.