The drill that rang the real alarm

Vasya on a step stool in a hallway, pressing the test button on a ceiling smoke detector.

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.

FacebookXWhatsApp

Your notebook

Keep a line from this note

Select any words above, or pick a line here. It goes into your notebook in this browser, and any line you keep can become a card to share.

My notebook

Keep reading, day by day

Tap a day to read its notes one by one. A blue ring means notes you have not read yet.