[go: up one dir, main page]

Skip to content

Group code with specs when sorting diffs

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Right now we apply sorting for merge request diffs. With Rapid Diffs we could potentially leverage diff blobs Gitaly RPC to control the sorting for all diffs, not just MR ones. We could extend that sorting to a more intelligent one: instead of sorting alphabetically we could match the file paths, ignoring the spec and test in them. If a match occurs we group the files together for an easier review.

An example of files that could be grouped together:

CleanShot_2025-07-09_at_08.14.39_2x

Edited by 🤖 GitLab Bot 🤖