The pipeline is green, the deployment ran through, the new version is live. Congratulations. That establishes exactly one thing: the software could be shipped. Whether the change works, nobody knows at this moment, and what happens if it does not is something someone had better know by now.
Planning the way back during the incident is planning too late
A rollback is not a rescue attempt. It is a feature, and like any feature it wants to be built and tried out beforehand. Before the release, it is settled which previous version is available, how it will be reactivated and who decides. The specific route depends on architecture and change. That there is one does not.
All it takes is a small release log that someone can still understand on a Friday evening: What is changing? What dependencies are there? How do we check the effect? Who is watching the launch? Which conditions trigger a rollback?
Code can be reset. Data cannot always.
Deploying an earlier version does not automatically restore the earlier state of the system. If the new version stores data differently or a database migration removes structures, the old code meets data it no longer understands. Then a rollback turns one problem into two.
That is why data changes belong in the same planning, and with the uncomfortable questions: Can the change be split into compatible steps? Can the old version temporarily work with the new schema? When is a restore needed, and which data captured since then would be gone?
A green pipeline does not replace a conversation
Automation creates repeatability. That is a lot. But it does not settle what development and operations check before and after a release, how both recognise success, or who is responsible when an alarm goes off. A team has to sort that out together. Before the alarm.
The simplest test is a joint dry run in a suitable environment: ship a version, play through a failure, run the rollback, check the state of the data. Gaps that are wonderful to argue about in the abstract suddenly become very concrete in a dry run.
Five questions before the next release
- Where is the last version that demonstrably worked?
- Which data changes does this release bring?
- Which signals tell us the change is causing problems?
- Who may trigger a rollback and can carry it out?
- When was this process last tested in practice?
None of this needs an approval apparatus with three signatures. It needs a process the people involved understand and can carry out at the crucial moment. Everything else is hope with a deployment script.