A case where I wanted to make software reliable, which caused downtime.
In lib.rs, when #Rust had only 20K crates, I've used 16-bit counters for stats. I knew it'll eventually outgrow them, so I've used checked arithmetic and made it panic on overflow, "so that I will notice when that happens".Well, it overflowed, and because the stats were used in so many places now, it basically took the site down, at the worst possible moment when I had no time to make a release.