Change failure rate should not include duplicate incidents
Summary
Change failure rate is calculated by number of incidents over number of deployments.
Steps to reproduce
- Deploy to prod
- Create incident 1
- Create incident 2
- Check CI/CD dashboard and the change failure rate is 200%
- Make incident 2 a duplicate of incident 1 (using /duplicate)
- Check CI/CD dashboard and the change failure rate is still 200%
What is the current bug behavior?
Change failure rate is 200%
What is the expected correct behavior?
Change failure rate is 100%
Output of checks
This bug happens on GitLab.com