microsoft / microsoft/vscode-pull-request-github

Deleting a branch auto-closes any PRs targeting the deleted branch

Abierto
#6,799 3 comentarios 1 reacción 1 asignado Ver en GitHub

@alexr00 ya está trabajando en esto.

Desde el 8/5/2025.

feature-request
Lenguaje dominante
TypeScript
Estrellas
2.6k
Forks
796
Merge medio
1 d 4 h
PR fusionados (30 d)
46

Descripción

I have a pull request targeting my default branch from branch A, and I have a PR for branch B targeting branch A.

When I merge the PR for branch A into my default branch and delete branch A on local and remote from the Pull Request description view in VSCode, my PR for branch B targeting branch A is closed and cannot be reopened. I have to create a new PR targeting my default branch from branch B and I lose all history of comments and reviews that were in the original PR for branch B.

When I do the same process in the Github.com web console, the PR for branch B targeting branch A automatically gets updated to target my default branch when I merge and delete branch A.

  • Extension version: 0.108.0
  • VSCode Version: 1.99.1
  • OS: Mac OS Version 15.4 (24E248)
  • Repository Clone Configuration (single repository/fork of an upstream repository): single repository
  • Github Product (Github.com/Github Enterprise version x.x.x): Github.com

Steps to Reproduce:

  1. Create a PR on branch A with a target of default branch
  2. Create a PR on branch B with a target of branch A
  3. Merge the PR for branch A into default branch
  4. Delete branch A on local and remote
  5. Observe that PR for branch B is now closed and cannot be reopened

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.