Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9553

Pull requests are declined or updates are attributed to the wrong user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.13.1, 4.14.8
    • 4.13.0
    • Pull Requests
    • None

    Description

      In Bitbucket 4.13, the mechanism for resolving refs (determining the current commit the branch/tag references) was refactored. The new implementation does not properly handle concurrent updates to the ref, which can result in the ref not resolving properly. When this happens, Bitbucket incorrectly concludes that the branch or tag does not exist.

      Symptoms

      The problem is most visible when pull requests are updated as a result of an update to the source or target branch. This can result in:

      • the pull request being declined (because the source/target branch appeared to be deleted)
      • the pull request incorrectly reporting that multiple commits were removed from the pull request. This happens because the loose ref in the repository did not resolve, but an older version of the ref was present in packed-refs. To the pull request rescope process, it appears that the branch was reset to the older hash.

      Workaround

      • If the pull request was declined, it can be reopened.
      • If the pull request displays the incorrect scope, decline and reopen the pull request to refresh it.

      Attachments

        Issue Links

          Activity

            People

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: