Glossary · InfrastructureAlso: Staging, Preview environment
What is a staging environment?
A staging environment is a private copy of your production setup, with the same code, configuration and services but test data, where changes are checked before they reach real users. Many teams also create short-lived preview environments for each pull request.
Why it matters
Staging catches problems that only appear in a real deployment: configuration mistakes, migrations, third-party integrations and performance.
It only works if it stays close to production; a staging setup that drifts gives false confidence.
Example
A database migration runs on staging first, revealing that it locks a large table for minutes before it ever touches production.