Use unique key for generating row numbers
What does this MR do and why?
In !71633 (merged) we added the ability to lazy load commit data.
This fixes a bug where duplicate row numbers that can cause orphaned commit entries are generated in some cases.
Screenshots or screen recordings
before | after |
---|---|
commit for last entry not loading | all commits loaded |
How to set up and validate locally
Example below:
-
Enable the lazy load feature flag
Feature.enable(:lazy_load_commits)
-
Open a repo with exactly 101 entries
-
All commits should load
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #337226 (closed)
Edited by Jacques Erasmus