Skip to content

Draft: MR changes tab: correct count for large MRs

John Parent requested to merge johnwparent/gitlab:fixup-mr-tab-diff-count into master

Report correct diff counts

The MR changes tab, when encountering MRs that exceed diff limits, reports a number of changes after a point with n+ where n is computed based on some combination of configured limits. This MR allows the n to be consistent with the actual number of changes in the MR, regardless of whether or not all files involved actually are expanded/present/persisted.

How to set up and validate locally

Make an MR that exceeds configured diff limits. Observe changes tab for correct counts.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports