Show Holt-Winters forecast for Deployment Frequency
Summary
As part of our efforts to add predictive data trending we'll implement Holt-Winters smoothing model and it will be exposed via GraphQL API. We need to adjust FE code to query for the forecast and render forecast results.
Proposal
- Use buildForecast mutation.
- Forecast should be available for GitLab Ultimate projects only.
- Forecast should be accessible for
Reporter+
role - UI should handle situations when the forecast is not available (separate status in response).
- TODO: Iterate on UI.
- Update the documentation
Error handling
- Error 1: If the model creation fails then response will be general HTTP error code,
-
Error 2: If model is poor then response will be successful with
UNAVAILABLE
status.
Design source
Edited by Brandon Labuschagne