IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21021

When a commit message is large on a pull request Pipeline build not triggered

      Issue Summary

      With the current limitation to our webhook service. Merging a pull request with a large commit message or description fails to trigger an automatic build.

      Steps to Reproduce

      1. Configure bitbucket-pipelines.yml file to trigger a build when a pull request is merged to target branch
      2. Open a pull request with a large commit message (e.g. 4K lines) or description
      3. Merge the pull request

      Expected Results

      • Upon merging the pull request a build should automatically trigger on the target branch
      • Customers should be notified that the payload is too large and has failed to trigger an automatic build. Doing so will provide a better experience overall. At the moment, there is no indication of what a build was not triggered when customers expect a build to trigger automatically.

      Actual Results

      • Build is not triggered on the target branch
      • No indication into why the build was not triggered automatically
      • This is caused by "Webhook payload is limited to 256 KB. Webhooks may silently fail to trigger if their payload is too large." - Reference: Troubleshooting webhooks

      Workaround

      Manually trigger build on the branch: Navigate to the "Branches" page, then click on the triple dots (...) at the end of the branch, and then "Run pipelines for a branch".

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Bitbucket Cloud'
            1. Bitbucket Cloud
            2. BCLOUD-21021

            When a commit message is large on a pull request Pipeline build not triggered

                Issue Summary

                With the current limitation to our webhook service. Merging a pull request with a large commit message or description fails to trigger an automatic build.

                Steps to Reproduce

                1. Configure bitbucket-pipelines.yml file to trigger a build when a pull request is merged to target branch
                2. Open a pull request with a large commit message (e.g. 4K lines) or description
                3. Merge the pull request

                Expected Results

                • Upon merging the pull request a build should automatically trigger on the target branch
                • Customers should be notified that the payload is too large and has failed to trigger an automatic build. Doing so will provide a better experience overall. At the moment, there is no indication of what a build was not triggered when customers expect a build to trigger automatically.

                Actual Results

                • Build is not triggered on the target branch
                • No indication into why the build was not triggered automatically
                • This is caused by "Webhook payload is limited to 256 KB. Webhooks may silently fail to trigger if their payload is too large." - Reference: Troubleshooting webhooks

                Workaround

                Manually trigger build on the branch: Navigate to the "Branches" page, then click on the triple dots (...) at the end of the branch, and then "Run pipelines for a branch".

                        Unassigned Unassigned
                        ptrinh@atlassian.com Phil C
                        Votes:
                        4 Vote for this issue
                        Watchers:
                        6 Start watching this issue

                          Created:
                          Updated:

                            Unassigned Unassigned
                            ptrinh@atlassian.com Phil C
                            Affected customers:
                            4 This affects my team
                            Watchers:
                            6 Start watching this issue

                              Created:
                              Updated: