PROD runbook¶
Operator checklist for shipping application repos under ADR-0007 (Option A).
Companions: Release strategy · Deployment · Rollback
Preconditions¶
- Intended changes are on
develop(CI green) - Release owner identified; version
x.y.zagreed - No open blockers on the ship set
Cut release¶
git fetch origin
git checkout develop && git pull origin develop
git checkout -b release/x.y.z
git push -u origin release/x.y.z
Freeze: only release fixes / cherry-picks on this branch.
Deploy PROD (manual)¶
- Run the repo deploy workflow (
workflow_dispatch) targeting prod. - Ref must be
release/x.y.z(neverfeature/*). - Set explicit confirm (
confirm_prod=deployor equivalent). - Prefer immutable image tags (
sha-<git>, optionalbuild-<run>).
Until F.1/F.4 land, follow the repo’s current AWS/Amplify console steps
but still use the release/* git SHA as the artifact identity.
Validate¶
- Smoke critical paths (auth, booking/list, payment as applicable)
- Check error/rate dashboards for the deploy window
- Note the git SHA that is live
Promote to main + tag¶
- Open PR:
release/x.y.z→main(merge-guard allows onlyrelease/*). - Merge after checks.
- Confirm Actions job Release tag on main created
vX.Y.Z+ GitHub Release on the merge SHA (idempotent if re-run). - If this was a hotfix from
main, back-merge intodevelop.
Abort / rollback¶
If PROD validation fails before promoting to main:
- Do not merge
release/*→main. - Follow rollback-strategy.md (prior task definition / Amplify previous job / revert release commit as needed).
- Fix forward on
release/*or abandon the cut and restart fromdevelop.
Related Epic F work¶
| Item | Status intent |
|---|---|
| F.1 #52 | Disable push-triggered pipeline |
| F.4 #58 | workflow_dispatch guards |
| F.5 #59 | Auto tag + Release — reusable workflow |
| F.6 #60 | ADR-0007 + guards |