I'm using BitBucket Cloud and I have a pull request that contains a new file that is 2700 lines.
I want to comment on the diff but the commenting features appear to be disabled even in single file view. The content is not visible in the integrated view.
We have limits for viewing content and diffs in Bitbucket Cloud as large resources require excessive processing.
These limits can be found here:
The relevant one in your case is the file's diff, which cannot exceed 2000 changed lines or 102,400 bytes (100 KB) of raw diff data. I believe that the reason for the issues you mentioned is that this specific file exceeds this limit.
The workaround that I could suggest here, if you need to use comments and view the diff on the website, would be to rewrite history and introduce this file with part of its content, less than the limit, then create a PR for that. Then add the rest of the content at a later commit (after the previous PR is merged) and create another PR. I realize that this may be less than ideal, but I'm afraid that it would be the only way to work around this issue with the limits we have in place at the moment.
Please feel free to let me know if you have any questions.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events