Large diffs truncate with no signal #117

closed cmc opened this on 2026-09-03 05:15 UTC · bug web · milestone v1.11.0

Discussion

cmc 2026-09-03 05:15 UTC

internal/httpd/web.go:1658 cuts the patch at 4 MiB mid-line; diff.go:49 parses the stub with no truncated flag, so the last hunk renders wrong and the diffstat under-reports. MR commits are capped at 100 (web.go:1683) with no notice.

Remedy: carry Truncated on the parsed diff and render a banner; "first 100 of N commits".

closed by commit ddab521653 by cmc: web: a diff cut at 4 MiB says so, and the commit list says how many it hides

2026-09-04 02:16 UTC

referenced in commit 6f184c2936 by cmc: mr: a merge request can say it is not asking yet

2026-09-04 17:13 UTC

referenced in commit e99285743d by cmc: mr: what changed between two revisions of a merge request

2026-09-04 17:40 UTC