Backport fix for diff_files highlights preload to 17.6
Compare changes
Files
2@@ -58,7 +58,10 @@ def diff_files
This MR backports a bugfix for Projects::CommitController#diff_files
to fix https://gitlab.com/gitlab-org/quality/quality-engineering/team-tasks/-/issues/3253#note_2256272329.
Preloading the diff highlights should only apply when the expanded
parameter is present in the request. Without this bugfix, preloading the highlights affect all diff_files, causing a degradation in the response time and exceeding the test's threshold.
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
e2e:test-on-omnibus-ee
job has either succeeded or been approved by a Software Engineer in Test.If you have questions about the patch release process, please:
#releases
Slack channel (internal only).