One-command rollback
A step of the Cloud application tree on Gradus, in the Build & ship area: Config, lint, releases, IaC.
Make undoing a release one command, and let a failed post-deploy check undo it by itself, so a bad release costs a minute rather than an evening.
Usually comes after: First deploy.
Leads to: Reversible migrations.
Prompt for your AI assistant
Read the cloud provider decision record in docs/decisions. Tag every image this project deploys with its commit SHA, add a rollback workflow that puts the previous good version back on the public URL with one command and make the post-deploy health check run it when a new version fails. Then prove it: ship a release that fails /health on purpose, watch it roll back, write the command and the time it took into docs/runbooks/rollback.md and revert the change.This is https://gradus.kazet.blog/tree/cloud-application/step/rollback as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.