Continuity runbook: Rollback production
Open
Nobody has claimed this yet.
existing-maintainers-only
- Dominant language
- Python
- Stars
- 180
- Forks
- 137
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 21
Description
Task
A second maintainer can roll back a Heroku release on opencreorg when a deploy is bad, without confusing slug rollback with database rollback.
Success criteria
- Runbook
docs/continuity/runbooks/rollback-production.md(skillcontinuity-rollback-production) - Operator lists
heroku releasesand only rolls back after a human types the exactvNNNN - Stops if the bad release may have migrated Postgres (Alembic); documents that slug rollback does not undo the DB
- Knows
ALEMBIC_GUARDRAIL_FAILonrelease:means stop rolling back blindly
Context
- Prod deploy force-pushes to the Heroku git remote (
.github/workflows/deploy.yml) Procfilerelease:runsscripts/check_alembic_revision_guardrail.py
Constraints
- existing maintainers only
- Agent must not
heroku rollbackunprompted - No config dumps
Agent prompt
See Agent prompt in docs/continuity/runbooks/rollback-production.md.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/continuity/runbooks/rollback-production.md, then read .github/workflows/deploy.yml, Procfile, and scripts/check_alembic_revision_guardrail.py. Confirm the runbook covers exact-release confirmation, the distinction between slug and Postgres rollback, and the ALEMBIC_GUARDRAIL_FAIL stop condition without permitting unprompted rollback or config dumps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions, postgresql, python
- Domain
- cloud, databases, devops, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100