VSA: Refetch stage counts when switching between value streams
What does this MR do and why?
Fixes a bug that caused the value stream stage counts to be inaccurate when switching between value streams.
References
Screenshots or screen recordings
| Before | After |
|---|---|
| broken | fixed |
How to set up and validate locally
- Seed a new value stream:
FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
- Create another value stream in the same namespace
- View one of the stages of the new value stream (doesn't matter which one, just not the Overview stage)
- Refresh the page
- Navigate back to the original value stream and verify that the different stage counts are accurate
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 #540534 (closed)