Use cached weight for epic board lists
What does this MR do and why?
Uses cached weight counts to get epic lists overall weight. This was the main reason for caching these counts - &7780.
DB queries:
original query (taken from !76440 (merged)):
- before:
- after
Related to #356686 (partially - cached counts will be used also on other places) and #353450 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Enable the invite modal
Feature.enable(:epic_board_total_weight)
- Sample query:
query {
group(fullPath: "flightjs") {
id
epicBoard(id: "gid://gitlab/Boards::EpicBoard/1") {
lists {
edges {
node {
id
metadata {
epicsCount
totalWeight
}
}
}
}
}
}
}
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.
Edited by Jan Provaznik