Use cached rolled up weights
What does this MR do and why?
This change introduces a performance optimization for calculating work item weights. Previously, the system would always calculate rolled-up weights (totals from child items) by querying the database each time. Now, there's a new feature (behind a feature flag) that allows the system to use pre-calculated cached weight values instead of computing them on-demand.
References
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create an Epic and add an issue with 2 tasks as children.
- Notice you will see the rolled up weights i.e sum of weights of task instead of issue weights if you enable the FF.
- Mark one task as complete and you will see the progress also in the UI.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #521123 (closed)