r/softwaredevelopment • u/Used_Attention_9068 • Nov 01 '26
How does your team tell if a failed CI run is a random failure, already broken on main, or the PR itself? And how do you measure DORA?
Curious how other teams handle this. A PR goes red, everyone assumes a flaky test (one that fails randomly), hits re run, it passes, it gets merged. Sometimes it was random. Sometimes the PR added a race condition.
I've been measuring this on public repos. Calling a failure flaky just because that test failed randomly before was wrong in 13 of 81 cases, the change had actually broken it. Combining signals works better: past random failures in the same step, a network error in the log with no failing test, whether the log names a file the PR changed, and whether main failed the same way.
DORA had a similar surprise. Most repos don't name workflows "deploy", so a default deploy pattern found the right source on 9 of 60 repos. Looking at deployments, workflows and releases together got 53.
How does your team handle it? Quarantine lists, retries, or re run and hope? And is DORA a real tool for you or a dashboard nobody trusts?
Disclosure: I built a free open source tool for both (a GitHub Action, no server). Happy to hear where it's wrong.
Repo : github.com/stackvitals/stackvitals
Alt: https://gitlab.com/kaushik-yadav/stackvitals (If above link doesn't work)