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

Provide informative error when pipelines build is hung caused by variable length

    • 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.

      Issue Summary

      Currently, when a build has multiple variables configured (including Repository Variables, Workspace Variables, and Deployment Variables) and has a total of 120K characters combined, it could cause the pipelines build to be in a hung state.

      This could be misleading as the actual error message isn't displayed nor informative.

      A suggestion is to :

      1. Include an informative message indicating that pipelines build failed for the reason.
      2. Instead of allowing the build to be hung indefinitely until timeout, it's better if builds could be stopped / marked as failed.
      3. Allow increase of variable length limit above 120k. 

            [BCLOUD-20105] Provide informative error when pipelines build is hung caused by variable length

            This also affected us and took many days to get an appropriate answer from support. Adding some checks to the initial build setup would seem surely appropriate. 

            Rory Donohue added a comment - This also affected us and took many days to get an appropriate answer from support. Adding some checks to the initial build setup would seem surely appropriate. 

            We initially stumbled across this issue in June 2022 and had to resort to opening a support ticket to get it resolved. Back then, we were pointed at this feature request. 

            Fast forward to May 2023, we came across this issue again and while doing excessive pipeline refactoring in one of our projects. After 2-3 hours of trying to find the mistake, we remembered this issue and variable length really was the root cause of our issue. 

            This feature request is a must. Non-descriptive error messages are an absolute no-go and this really does not strengthen our engineer's trust in Bitbucket Pipelines as a CI/CD solution. 

            Deniz Cengiz added a comment - We initially stumbled across this issue in June 2022 and had to resort to opening a support ticket to get it resolved. Back then, we were pointed at this feature request.  Fast forward to May 2023, we came across this issue again and while doing excessive pipeline refactoring in one of our projects. After 2-3 hours of trying to find the mistake, we remembered this issue and variable length really was the root cause of our issue.  This feature request is a must. Non-descriptive error messages are an absolute no-go and this really does not strengthen our engineer's trust in Bitbucket Pipelines as a CI/CD solution. 

            Carl Moore added a comment -

            I experienced what the description for the item states. It would have been tremendously helpful to have had at least a descriptive message on the Pipelines screen telling me why the Queued state was persistent up until I allowed it to error out. I had to reach out to a Support Engineer, Bruno, for him to tell me that his internal logs showed the excessive character length in a variable. Resolution took 5-6 business days, which I cannot have if I am to reliably use Bitbucket as our cloud repository. Thank you.

            Carl Moore added a comment - I experienced what the description for the item states. It would have been tremendously helpful to have had at least a descriptive message on the Pipelines screen telling me why the Queued state was persistent up until I allowed it to error out. I had to reach out to a Support Engineer, Bruno, for him to tell me that his internal logs showed the excessive character length in a variable. Resolution took 5-6 business days, which I cannot have if I am to reliably use Bitbucket as our cloud repository. Thank you.

              Unassigned Unassigned
              pmahendran+atlassian_conflict Pravin
              Votes:
              25 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated: