j-andrews7/kenpompy

CI/CD: Better handling for Cloudflare error 520

Closed this issue · 2 comments

esqew commented

Starting to see 520 errors being thrown more frequently by the Cloudflare service that's now powering KenPom.com as of last season. Example

While very annoying, this is not by any means an essential issue to tackle since manually re-running failed jobs is a piece of cake. However it would be very nice to have a more automated way of handling when these errors occur in CI/CD.

esqew commented

An update - I'm considering adding flaky as a dependency to automatically re-test failures on 520 errors as it seems this error is becoming more prevalent.

esqew commented

This hasn't cropped up again in over a month, so I'm closing this assuming whatever the root cause was on KenPom's end has since been resolved.