Five automation lanes went down on the same morning. Every log said the same thing: "Failed, so I ran it again." Then again. Then again. Sixty-three minutes after the first failure, all I had was the exact same failure — three more times over.

Why this design works

When I first started writing scripts, I thought retries looked like this:

for attempt in range(3):

try: