devops
5 posts.
-
Near miss: your deploy script ships your working tree, not a commit
A deploy script that rsyncs your working directory ships half-finished edits and runs live migrations. Here is the invariant, and a check you can run in five minutes.
-
rsync --delete from a stale build/ rolls production back
A local build/ folder three policy versions old nearly overwrote live files and deleted server-only ones. Why dry runs miss it, and a five-minute check.
-
Your config editor saves the template, not the file that runs
A settings editor returned ok on every save while the scheduler read a different copy of the file. The bug class, the invariant, and a five-minute stat check.
-
Your link checker read planned downtime as a broken URL
A link checker flagged 7 correct references to a host I stopped on purpose, then offered to rewrite them. The fix: declare intended state, with an expiry.
-
Your isolated test lab isn't isolated: 3 rows, 8 daemons
My failure-injection harness wrote to the live database, health-checked a stranger's process, and leaked 8 daemons. Three bugs in the test, none in the code.