Error Autopsy
The Cron Job That Ran Twice When the Clock Went Back
The hourly job fired on both passes through the repeated hour, so the daily digest went out twice, and the second send was the one the customers complained…
Timezones, format strings, locales and date parsing: a small topic responsible for a disproportionate share of production bugs.
Error Autopsy
The hourly job fired on both passes through the repeated hour, so the daily digest went out twice, and the second send was the one the customers complained…
Bug Hunt
The report listed tomorrow's events before today's, and the comparison never raised an error, only returned the wrong order, because aware and naive…
Bug Hunt
The monthly report ran in some months and silently vanished in others, and the pattern was the calendar. A day arithmetic bug that only fires on the 31st is…
Bug Hunt
A nightly job was supposed to run once. The logs showed thirteen executions in a few hours, then none for a day.
Bug Hunt
The dashboard looked right. The numbers were wrong by a few percent every day, and the reason was one implicit conversion in a reporting query.
Bug Hunt
A weekly export failed every Tuesday and worked every other day. Three wrong hypotheses later, the cause was a date format string nobody had looked at in…