Feature request: Group stacks of pull requests and expandable previous deploys

Aperta
#1,513 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, ruby
Ambito
devops, release

Direzione di ricerca

Start by tracing how the stack page builds the Undeployed Commits section and how Previous Deploys rows fetch commit details; the issue does not name files or tests. The proposed work includes grouping stacked pull requests with an opt-in configuration and lazy-loading commits for expandable deploy rows. Done means both views show the described grouping or commit details, including warnings for failing or locked pull requests.

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

Descrizione

Hello,

With github's stacked pull requests now generally available, I noticed the stack page doesn't know about them yet. When a stack of five pull requests is merged, the 'Undeployed Commits' section shows five unrelated rows.

Deploying the newest one ships all five, but nothing on the page says they belong together, and a failing or locked pull request in the middle of the stack is easy to miss.

I've run it locally to make an example. Here's what that looks like today, with a stack of five Currency pull requests among other commits:

BEFORE: Image

What do you think about grouping them? The newest pull request would keep its Deploy button, the earlier ones would be nested under it, and a small warning would say when one of them is failing or locked:

AFTER: Image

Finding a commit's stack costs one extra GitHub API request per new commit, so I'd make it opt-in per stack:

deploy:
  group_stacked_pull_requests: true

While I was at it, I also looked at Previous Deploys. Today each row only names one commit, so you can't see what a deploy shipped without opening it:

BEFORE: Image

I made each row expandable to list every commit the deploy shipped. The commits only load when you click:

AFTER: Image

I'm happy to open it as one PR or as two smaller ones, whichever is easier for you to review.

Would you be open to discuss about this before I open officially a PR?
Thanks a lot

Lingua principale
Ruby
Stelle
1.5k
Fork
158
Merge medio
18h 55m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Shopify/shipit-engine

Tutte le issue di Shopify/shipit-engine

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.