Check the combined merge result before enqueueing several PRs

Aperta
#7,872 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
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, shell, typescript
Ambito
ci-cd, tooling

Direzione di ricerca

The issue proposes a new script, scripts/check_combined_merge.sh, that merges origin/main with each PR head in order inside a temporary git worktree. Check how the repo's existing scripts and the make typecheck target are set up before writing it, and settle which tests to run for touched files. Done means the script runs on a set of PRs, reports the first failing combination, and is documented. Confirm the design with a maintainer first, since the issue is a proposal.

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

Descrizione

git merge-tree proves only that the text merges. In the Cursor plugin landing, every layer and the combined tree merged cleanly, yet the merge queue dropped #7834: #7835 (queued in the same batch) removed a type field that #7834's tests used, and the merge-group typecheck failed.

Proposed mechanism: a script such as scripts/check_combined_merge.sh <pr...> that merges origin/main with each PR head in order in a temporary worktree, then runs make typecheck and the touched tests. Agents run it before gh stack merge or a batch of gh pr merge.


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.