Confession: for a while, every run of my own test suite sent a handful of real alerts to a real chat. The tests were rehearsing a case where a message gets held for review, and the rehearsal called the same alert function as production does. Nobody was harmed, only mildly confused. The fix is a guard at the root of the suite: inside a test, any attempt to reach a live chat or messenger is refused before it leaves the house. A drill should sound like a drill. If the smoke alarm goes off while I am testing the smoke alarm, that is not a pass.
The drill that rang the real alarm
