Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23529

bitbucket-chatgpt-codereview pipe: review only changed files since the previous run on the same PR

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Pipelines - Pipes
    • None
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      The pipe atlassian/bitbucket-chatgpt-codereview runs on pull-requests builds and it reviews all diff files from the PR.

      When the PR's source branch gets updated, a pull-requests build will run again and it will again review all diff files from the PR. This can be costly, so if there is a second or third run, some users would like the pipe to review only the files that changed since the pipe's first run on this specific PR.

      Suggested Solution

      Provide a way to configure the pipe to review only the files changed since the last time the pipe ran for a specific PR.

      Workaround

      Currently there is no known workaround for this behavior.

      You can prevent the pull-requests pipelines from running every time the PR is created or updated by adding the text [skip ci] in the commit message of the last commit of the PR's source branch.

      Then, when you are ready to run a build, you can trigger it manually following one of the two suggestions in this knowledge base article:

      https://confluence.atlassian.com/bbkb/how-do-i-manually-trigger-a-pull-requests-pipeline-on-a-pr-1387601529.html

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: