Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-8269

Bitbucket Data Center: CI status for unauthorized PRs is incorrectly shown as 'running' instead of 'pending'

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this update, when a pull request was opened by an unauthorized user on Bitbucket Data Center, the CI status was incorrectly reported as "running" instead of "pending". This has been solved, and the status is now correctly reported as "pending" while awaiting an administrator's approval.
      Show
      Before this update, when a pull request was opened by an unauthorized user on Bitbucket Data Center, the CI status was incorrectly reported as "running" instead of "pending". This has been solved, and the status is now correctly reported as "pending" while awaiting an administrator's approval.
    • Bug Fix
    • Done
    • Pipelines Sprint Crookshank 35

      When a user without repository permissions opens a pull request on a Bitbucket Data Center repository, Pipelines-as-Code (PaC) should report a "pending" build status, indicating that it is waiting for an administrator's approval (e.g., via an /ok-to-test comment). However, due to a suspected bug in the REST client library, the status is incorrectly being reported as "in-progress" or "running".

      This is misleading for both the contributor and maintainers, as it suggests CI is actively running when it is actually paused and awaiting authorization.

       

      upstream issue: https://github.com/openshift-pipelines/pipelines-as-code/issues/2148

              rh-ee-zashaikh Zaki Shaikh
              rh-ee-zashaikh Zaki Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: