Cursor Bugbot Github App refuses to review due to many web files

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

We have a PR where a developer deleted a lot of webp images.
Cursor is refusing to review it because it considers all webp images as text, rather than as binary. as such it reports:

This PR is too large for Bugbot to review. It changes 7,210 lines and 3,210,005 characters. Split the change into smaller pull requests to get a review.

Steps to Reproduce

create a PR containing a lot of large webp images

Operating System

Other

Version Information

GitHub app

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @CodingFabian,

The .webp files aren’t what’s pushing it over. Bugbot uses git’s normal binary detection, so deleted images show up as “Binary files … differ” and add nothing to the line or character count. The 3.2M characters are coming from text files in the same PR, likely ones with very long lines (generated, minified or data files, for example).

To find them, run git diff --numstat origin/main...HEAD and look for the biggest added or deleted counts (binary files show as -).

If those files don’t need review, mark them in .gitattributes, e.g. path/to/files/** linguist-generated=true (the value has to be =true). Bugbot reads it from the PR itself, so you can add it in this PR, and marked files are left out of the size limit, deleted ones included. GitHub will also collapse those files in its diff view. Then push or comment bugbot run. Otherwise, splitting the PR is the other way to get it reviewed.

you are right Colin,

its actually a really large deleted SVG. its a bit of a shame that deleting a large SVG image asset prevents Bugbot from reviewing.

Fair feedback! Will share with the team.