Check native-stack ancestry before enqueueing a stack

Aperta
#7,873 0 commenti 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
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, typescript
Ambito
ci-cd

Direzione di ricerca

The issue asks for a pre-enqueue check that runs git merge-base --is-ancestor on each adjacent pair of native-stack PR heads and fails if any pair is not ancestor-linked. The payload names the queued-stack watcher as one possible home, so start by finding where stacks are enqueued and how the watcher reads branch heads. Done means a stack with a stale upper branch is rejected before enqueueing, and a consistent stack passes. Placement is still open, so confirm with a maintainer before choosing between the watcher and a standalone script.

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

Descrizione

Under merge-only rules (no force-push), nothing restacks the upper branches of a native stack. In the Cursor plugin stack, #7838's final fix never reached the four branches above it, so the docs PR (#7847) shipped a stale line (tracked in #7858).

Proposed mechanism: a pre-enqueue check that fails when git merge-base --is-ancestor <lower-head> <upper-head> fails for any adjacent pair of stack PRs. It can live in the queued-stack watcher or a small script.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lingua principale
TypeScript
Stelle
2.1k
Fork
139
Merge medio
4h 38m
PR unite (30g)
926

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 coder/xum

Tutte le issue di coder/xum

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.