Skip to content

Convert Value stream analytics charts to GraphQL

What does this MR do and why?

This code change refactors how duration charts are loaded in the Value Stream Analytics feature. The code now switches from making multiple REST API calls to using a single GraphQL query that can fetch data for all stages at once, making it more efficient.

References

Screenshots or screen recordings

No visible changes

test

How to set up and validate locally

  • Navigate to VSA for any project
  • Switch between the overview and stage charts and ensure all the data renders as expected
  • Try out different options in the filter bar and ensure the chart data is filtered accordingly
  • Navigate to VSA for any group and repeat the previous steps
  • Also make sure to test that the project filter works as expected
  • Enable the vsa_stage_time_scatter_chart FF and again test the previous steps

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 #519112 (closed)

Edited by Alex Pennells

Merge request reports

Loading