rollback
Load this skill when deciding whether to roll back a deployment, executing an application rollback, or planning recovery from a failed migration. Auto-load whenever a deployment fails its health check
Files1
View on GitHubSKILL.mdarchive/ceh-ops/skills/rollback/SKILL.md
GitHubRollback
When to Roll Back
Roll back immediately (before root cause analysis) when any occur within 10 minutes of deploy:
GET /healthreturns anything other than200- Error rate > 5× the pre-deploy baseline
- P95 latency > 3× the pre-deploy baseline
- Any data integrity issue detected
Application Rollback Procedure
- Re-deploy the previous Docker image tag
- Verify
GET /healthreturns200 - Confirm error rate and latency return to baseline within 2 minutes
- Open a P1/P2 incident if production was impacted
- Document the rollback in the Decision Log (default
.agents_workspace/DECISION_LOG.md, overridable per project)
Database Rollback Considerations
- Additive migrations (new columns, new tables): roll back the application; leave the schema change. The old application ignores unknown columns.
- Destructive migrations (drops, renames): cannot be automatically rolled back. This is why the two-step process is mandatory. If a destructive migration was applied prematurely, a forward-fix is required — not a rollback.