Skip to content

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

  1. Create an Epic and add an issue with 2 tasks as children.
  2. Notice you will see the rolled up weights i.e sum of weights of task instead of issue weights if you enable the FF.
  3. 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)

Merge request reports

Loading