Rollback and Recovery
Purpose
Section titled “Purpose”This playbook defines how Forward Deployment teams restore service when a release causes production issues.
Standard
Section titled “Standard”Every high-risk release must have a known rollback or recovery path before deployment.
Rollback does not always mean reverting code. It can mean:
- Redeploying the previous image or commit.
- Reverting a feature flag.
- Disabling an integration.
- Restoring a previous configuration.
- Running a recovery script.
- Fixing forward when rollback is riskier.
Decision Thresholds
Section titled “Decision Thresholds”Start rollback or recovery when:
- Core user flow is unavailable.
- Data integrity is at risk.
- Authentication is broken.
- External integration failure blocks the client workflow.
- AI output quality creates unacceptable business risk.
- Error rate or latency crosses the project’s defined threshold.
- The deployment owner cannot verify the release within the expected window.
Required Information
Section titled “Required Information”For high-risk releases, document:
- Last known good version.
- Rollback command or workflow.
- Data migration rollback notes, if relevant.
- Feature flag or config switch, if relevant.
- Health check to confirm recovery.
- Owner who can execute rollback.
Recovery Steps
Section titled “Recovery Steps”- Declare the issue in the internal project channel.
- Assign a recovery owner.
- Stop further deployments.
- Confirm impact and affected users.
- Choose rollback or fix-forward.
- Execute recovery.
- Verify health checks and affected workflow.
- Update the release log or incident log.
- Communicate status internally and to client if needed.
After Recovery
Section titled “After Recovery”Create follow-up tasks for:
- Root cause investigation.
- Missing test coverage.
- Missing monitoring.
- Deployment workflow improvement.
- Documentation update.