Back to notes

July 5, 2026 · 4 min read

A Staging Environment Saved a Launch That Would Have Gone Very Wrong

A client wanted to skip staging to hit a launch deadline. The staging run caught a bug that would have broken checkout tracking for every customer on day one.

EngineeringCase Study

Two days before a major product launch, the client asked if we could skip the staging validation pass and push straight to production — the launch date was fixed, the team was exhausted, and staging felt like a formality standing between everyone and sleep.

I pushed back, mostly on principle, and ran the staging pass anyway on a compressed timeline. It caught a bug in under twenty minutes: a conditional in the checkout tag that fired correctly for every test scenario we'd used during development, but broke specifically for the new one-click checkout flow being launched that week — a flow that hadn't existed when the tag was originally written and tested.

What would have actually happened

Without staging catching it, every one-click checkout on launch day would have completed successfully for the customer while silently failing to fire the purchase event. Revenue reporting for the single feature the launch was built around would have shown close to zero, right when leadership was watching that number most closely, with the actual failure not surfacing until someone noticed the discrepancy against payment processor data days later.

The bugs staging catches are rarely the ones you were worried about. They're the ones hiding behind the one new path nobody thought to re-test.

Why skipping it felt reasonable in the moment

  • Deadline pressure makes any validation step feel like discretionary friction rather than risk management
  • The existing checkout flow had been tested extensively, which created false confidence about a flow that was actually new
  • Nobody had explicitly mapped which tags needed re-validation against the new flow specifically, so the risk was invisible until staging surfaced it directly
  • 'We're confident it'll work' is a feeling, not evidence, and it's cheapest to discover the gap between the two in staging, not in a live revenue dashboard

The twenty minutes staging cost that week is the best argument I have for never treating it as optional under deadline pressure. The riskiest moment for skipping validation is exactly the moment something's actually changed enough to need it.