We were seeing this error:
If there was no previous run to compare to
Turns out, there wasn't a main run in the last 30 runs, so the slice of previous runs we returned didn't have a main run.
Fix is to make sure we have at least on main run in the slice.
We were seeing this error: If there was no previous run to compare to
Turns out, there wasn't a
main
run in the last 30 runs, so the slice of previous runs we returned didn't have amain
run. Fix is to make sure we have at least onmain
run in the slice.