Environment mismatch: production points to staging: pre-release and first 30 minutes checklists
A production service reads a staging endpoint, bucket or database after a config change.
The pre-release checklist maps each item to a test class from the incident page. The first-30-minutes checklist covers detection, containment, the rollback decision and customer communication.
Pre-release checklist
- PR-01
- PR-02
- PR-03
- PR-04
- PR-05
- PR-06
- PR-07
- PR-08
First 30 minutes
- FM-01
- FM-02
- FM-03
- FM-04
- FM-05
- FM-06
- FM-07
- FM-08
Download the checklist
Only in this checklist
Every test class in this checklist also appears in at least one sibling checklist in the group; the item texts differ: Before promotion, confirm that every release in the list returned by the progressive deployment API belongs to the production account.
Questions
What should be checked before a release to prevent Environment mismatch: production points to staging?
8 pre-release items, PR-01 to PR-08. PR-01: Before promotion, confirm that every release in the list returned by the progressive deployment API belongs to the production account.
Is there a rollback plan for Environment mismatch: production points to staging?
The first-30-minutes checklist has 8 items. FM-01: Compare the start of the HTTP 401 and 500 spike with the time the last release was promoted to production.
What should a team do in the first 30 minutes after Environment mismatch: production points to staging is detected?
The first-30-minutes checklist has 8 items. FM-01: Compare the start of the HTTP 401 and 500 spike with the time the last release was promoted to production.
Which configuration checks apply to Environment mismatch: production points to staging?
PR-01: Before promotion, confirm that every release in the list returned by the progressive deployment API belongs to the production account. PR-02: Compare the account ID of the script the production route will reference with the production account ID and block promotion on a mismatch. PR-03: Search the rendered production config for staging hostnames, bucket names and database names and fail the deploy on any match. PR-04: Confirm that every production monitoring metric filters on an environment label that excludes test environments. PR-05: When a new test environment is provisioned, confirm its data reports under its own environment label before production dashboards read the shared metric.
Is a Environment mismatch: production points to staging checklist still needed if deployment is automated?
Yes. Automation runs the steps; the checklist names what the tests must cover: configuration and environment tests, canary and progressive delivery checks and chaos and resilience tests.
Which pipeline stages does the Environment mismatch: production points to staging checklist cover?
The pre-release items map to the pre-deploy and post-deploy stages.