Operations
Why Production and Staging Must Be Separated
Preventing experiments and deployment mistakes from becoming incidents.
Separate the things that can cause harm
A separate URL is insufficient if staging can write to production data or send real customer notifications. Give each environment its own database, credentials and integration settings.
Promote a known revision
Test the same revision you plan to release. Use protected deployment targets, and treat database changes as a separate rollback concern because reverting application code may leave the schema changed.
