The Cleanup Script Exited 0 and Reported Success — Then Scaling Blew Up Three Days Later: 7 Shell Safety Audits to Run Before Any Script Goes to Production

Overview Start with the conclusion: an exit code of 0 does not mean the script behaved. That sounds obvious, yet every year it burns someone in a production environment in a slightly different way. Last year, on an e-commerce order fulfillment system, I hit this: a cleanup script that ran every night at 1 a.m. and pruned old release directories under /data/apps/order-api/releases/. It had run for two years with nothing but a clean clean done in the log....

November 30, 2026 · 24 mins · 4909 words · ABao

Postmortem Action Items Tracking: Engineering a Closed-Loop Process from Checklist to Completion

Overview Anyone who has done production operations has probably lived through this scenario: you get woken up by an alert at 3 AM, fight the fire until service is restored, hold a postmortem the next day, list a dozen improvement actions in the meeting, send the minutes to the group chat, and everyone says “got it.” Then what? A month later you dig it up and find maybe two or three items actually got done....

July 21, 2026 · 24 mins · 5022 words · ABao

Postmortem Culture: Engineering Practices for Learning from Failures

Overview Every incident is a free learning opportunity — provided you have a mechanism to extract lessons from it. A Postmortem is not about writing a confession or finding a scapegoat. It is a structured engineering methodology for converting incident experience into systemic improvements. One of the core tenets of Google SRE is: “Blameless postmortem.” The focus of a review is always on “why did the system fail,” not “who messed up....

November 26, 2024 · 20 mins · 4055 words · ABao