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

Abierto
#1,513 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, ruby
Área
devops, release

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Ruby
Estrellas
1.5k
Forks
158
Merge medio
18 h 55 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Shopify/shipit-engine

Todos los issues de Shopify/shipit-engine

Issues similares

Más issues de Ruby

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.