Loading
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 (
summaryand the EEtime_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
- Related to https://gitlab.com/gitlab-org/gitlab/-/work_items/636168 (MR 1)
Screenshots or screen recordings
How to set up and validate locally
- Open the value stream analytics page of any project and change the date range. The lifecycle metrics load as before.
- 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-01It returns 422 withThe 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.