Validate the date range of the project VSA summary

What does this MR do and why?

  • Validate the date range on the project value stream analytics summary endpoint (summary and the EE time_summary), so it returns 422 above 180 days, like the group summary and stage endpoints.
  • The project VSA page already sends at most 180 days from its date picker, so the UI is unaffected.

References

Screenshots or screen recordings

How to set up and validate locally

  1. Open the value stream analytics page of any project and change the date range. The lifecycle metrics load as before.
  2. Request the summary with a range over 180 days: GET /<project>/-/analytics/value_stream_analytics/summary?created_after=2010-01-01&created_before=2026-10-01 It returns 422 with The given date range is larger than 180 days.

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.

Merge request reports

Loading
Loading