github / github/gh-stack

Getting Every PR in this stack has already been merged, when there is a PR already

Abierto
#385 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug topic: merge queue
Lenguaje dominante
Go
Estrellas
1.5k
Forks
70
Merge medio
1 d 8 h
PR fusionados (30 d)
7

Descripción

So I had branch 1 and branch 2 that created normally, and then branch3 was created while branch2 was in merge queue.

Then the git diff went weird but I fixed the merge conflicts, and thought maybe I'd try to `gh stack unstack`, but it didn't allow me because it was still part of the stack. Oh well, I continued on and tried making a PR for `branch4` and got this.

```
⚠ Every PR in this stack has already been merged on GitHub
Adding to a fully merged stack isn't supported — starting a new stack for your 2 unmerged branches based on master
Pushing to origin...
PR #52141 for branch3
✓ Created PR #52148 for branch4
✓ Stack created on GitHub with 2 PRs (stack #52149)
✓ Pushed and synced 2 branches
```

Everything looks good on the UI though

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproduce la secuencia en la que se crea branch3 mientras branch2 está en la cola de merge, luego ejecuta `gh stack unstack` y crea un PR para branch4. Inspecciona el flujo de creación del stack y del PR para determinar por qué informa de que cada PR está mergeado a pesar de que la UI resultante parece correcta. Se considera terminado cuando la secuencia ya no produce una advertencia inexacta sobre un stack mergeado ni deja el estado del stack inconsistente.

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

Evaluación

Stack tecnológico
github, go
Área
cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.