Skip to content

Create PR shows error if there has been a previous PR on that branch #7018

Open
@trinkel

Description

@trinkel

Version info

  • Extension version: 0.110.0
  • VSCode Version: 1.100.3
  • OS: MacOS 16.3.2
  • Repository Clone Configuration (single repository/fork of an upstream repository): Single original repository
  • Github Product (Github.com/Github Enterprise version x.x.x): Github.com

Steps to Reproduce:

In the Create Pull Request dialog

  1. Create PR from, for example, development branch to main branch`, merge and close.
  2. Create additional commits.
  3. Create a new PR from development branch to main branch`.
  4. RESULT: At the bottom of the description box is an error: "A pull request already exists for this branch."

My workflow is to have a main branch, and a development branch. To work on a feature, I create feature branch. When that is complete, it is merged into the development branch. When a milestone is ready to deploy, the development branch is merged into the main branch by way of a pull request. This process is repeated throughout the life of the project so development may be merged into main many times. However, there is never more than one PR open on the same branch at a time.

I believe I have been able to do this in the past. I can create PRs in GitHub for the same branch without an error.

Is this something that is new in recent releases, or am I going crazy and it's always been like that?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions