You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Large MR files with collapsed diffs show 0 changes in review UI #869
When reviewing an MR where the total diff size exceeds GitLab's server-side limit, GitLab API returns some diff entries with an empty diff field (even though the files were changed). Plannotator displays these files as having 0 changes, which is misleading — the file appears in the diff list but its content is invisible.
Steps to reproduce:
Open an MR that has a large total diff (many files changed, or large files)
Start a review session in plannotator
Navigate to a file that GitLab has "collapsed" — it appears in the file list but shows 0 additions/deletions
Expected behavior:
The file's diff is shown.
Actual behavior:
The file shows 0 changes. The diff entry in the GitLab API response has "diff": "" and "binary": false — GitLab omitted the diff because the total MR diff exceeded its size limit.
Good timing on this. v0.20.0 (out now) reworked how Plannotator fetches GitLab MR diffs. It now uses the raw_diffs endpoint as the primary source, which includes the collapsed and large-file contents that the JSON diffs API was omitting. That omission is exactly the 0-changes symptom you described.
If a truly massive MR still shows empty diffs after updating (large enough that even raw_diffs returns nothing), let me know and I will add a per-file fallback. Thanks for the clear writeup.
I just updated to v0.20.0 and tested it on the exact same large MR. It works perfectly now – the collapsed files are loading and displaying their diffs correctly instead of showing 0 changes.
Everything looks great on my end, so feel free to close this issue.
Backlog pass - a human went through the thread and checked it against current main. This was fixed in v0.20.0 by switching GitLab MR diffs to the raw_diffs endpoint (0be4295), and you confirmed the retest yourself back in June - thanks for closing the loop, and sorry it took us this long to actually hit the button. If anything like it resurfaces on a current build, reopen or file fresh and we'll dig in.
Activity
backnotprop commentedon Jun 9, 2026
Good timing on this. v0.20.0 (out now) reworked how Plannotator fetches GitLab MR diffs. It now uses the
raw_diffsendpoint as the primary source, which includes the collapsed and large-file contents that the JSON diffs API was omitting. That omission is exactly the 0-changes symptom you described.Can you update and retry on the same large MR?
curl -fsSL https://plannotator.ai/install.sh | bashIf a truly massive MR still shows empty diffs after updating (large enough that even raw_diffs returns nothing), let me know and I will add a per-file fallback. Thanks for the clear writeup.
xjme commentedon Jun 9, 2026
Thanks for the quick turnaround!
I just updated to v0.20.0 and tested it on the exact same large MR. It works perfectly now – the collapsed files are loading and displaying their diffs correctly instead of showing 0 changes.
Everything looks great on my end, so feel free to close this issue.
backnotprop commentedon Sep 11, 2026
Backlog pass - a human went through the thread and checked it against current main. This was fixed in v0.20.0 by switching GitLab MR diffs to the raw_diffs endpoint (0be4295), and you confirmed the retest yourself back in June - thanks for closing the loop, and sorry it took us this long to actually hit the button. If anything like it resurfaces on a current build, reopen or file fresh and we'll dig in.
feat(inbox): name a handed-off thread "Review #869: <title>"; hand of…
test(e2e): the Inbox list shows a handed-off thread as "Review #869: …
Launchpad: review fixes
e2e: the selection bar picks chapters from the top bar's menu; #revie…