Continuous delivery and deployment: getting quick feedback on changes allows you to focus on how those changes affect your environments. This is critical for recovering from unforeseen production issues.  Use the same tools for logging, measuring, and monitoring as in production to properly maintain the staging environment  Test as often as you can: push your code to staging at the end of every sprint or iteration (this may involve pushing it every day, every other day, or every week, depending on each sprint).