Skip to content

Remove legacy fetchCycleAnalyticsData api request

What does this MR do and why?

Removes the frontend API request for the legacy value_stream_analytics endpoint, previously this was used to return metrics as well as the permissions object to restrict access to stages a user did not have access to. With Authorize project-level VSA stages (!92802 - merged) the permission check now occurs in the backend controller.

This MR:

  • Removes the frontend permissions checks
  • Removes the request to the value_stream_analytics endpoint

Screenshots or screen recordings

No visual changes, we're removing API requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to project level VSA for any project, for example http://GDK_PATH/gitlab-org/gitlab-shell/-/value_stream_analytics
  2. Check the console, there should be no request made to /value_stream_analytics
Value stream analytics api requests

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #335810 (closed)

Edited by Ezekiel Kigbo

Merge request reports