On Call Journal

The On-Call Engineer's Guide to Catching Regressions in the Deploy Window

Catch production regressions by comparing new builds against known-good baselines.

· 9 min read
Cover illustration for “The On-Call Engineer's Guide to Catching Regressions in the Deploy Window”
On Call Toil and Alert Noise Reduction · November 4, 2026 · 9 min read · 1,942 words

Reducing on-call alert fatigue from bad deploys requires automated post-deploy verification. Compare each new build’s production telemetry with a versioned, known-good baseline, then investigate deviations before the rollout completes. This guide defines a repeatable deploy-window process that connects that comparison to a rollback or targeted fix.

Why the deploy window is a distinct failure mode, not an extension of CI

The scenario is not a documented incident. A non-selective query embedded in new trigger logic can escape staging detection, then become a critical bottleneck when production traffic reaches peak utilization.

Pre-deploy testing, deployment verification, and post-deploy observability each have their own job. Traffic volumes, data shapes, and dependency behaviors beyond CI’s coverage converge in production, making the deploy window especially valuable for detecting regressions attributable to a change. Passing CI is necessary, but it cannot establish production health. The pipeline therefore has to continue verifying behavior beyond the merge event.

How AI-assisted development widens the gap between merge confidence and production reality

AI-assisted development increases the throughput of changes that have never run in production, without automatically expanding the verification that follows. The review and CI processes built for a slower release cadence do not scale merely because code arrives faster. Without stronger post-deploy checks, more opportunities for production-only regressions reach the deploy window, and the on-call engineer inherits the unresolved uncertainty.

DORA’s framework treats velocity and stability as inseparable. A team with frequent deployments and a high change failure rate is thrashing. Its release count conceals the work required to recover. Teams should pair deployment frequency targets with a limit on change failure rate so that rewards for throughput also depend on how those changes fare in production.

How do you catch production regressions right after deploy instead of waiting for alerts?

Automated telemetry comparison checks whether a new build behaves differently from the build before it under much the same conditions. Reactive alerting asks whether a symptom has crossed a threshold. These are different decision rules. A fixed latency threshold can miss a meaningful slowdown relative to the previous build, while a relative comparison can expose that deviation before the rollout completes. The distinction is particularly useful while the change itself supplies a clear point of comparison.

Two preconditions make that decision possible, namely a versioned baseline and an automated comparison gate. The baseline records behavior from the last known-good build. At minimum, it includes latency percentiles p50, p95, and p99, error rates, throughput, and resource utilization across CPU, memory, and I/O. The gate acts when the new build strays beyond a defined tolerance. Without that breadth, a comparison can overlook a regression that appears outside the metric being watched.

Versioning gives the comparison its release context. Each build should reference its direct ancestor’s known-good behavior. A baseline captured under a different traffic pattern can generate false positives, undermining confidence in the gate. Threshold alerts remain symptom-driven, while a comparison gate evaluates change before broader exposure.

Building a baseline that is worth comparing against

The preferred baseline comes from the last known-good build on the main branch under production-representative load. That load can come from staging that mirrors production traffic or from production canary telemetry. Comparability is the decisive condition in either case. A staging snapshot taken under light traffic cannot show how the prior build behaved under the load now reaching production. An old production snapshot may also show dependencies or traffic patterns that have since changed.

Salesforce Deployment Insights uses a four-day retrospective to establish a pre-deployment peak-hour baseline. It aligns that baseline with a verified post-deployment peak traffic hour from a forward-looking window of up to three days. This addresses traffic equivalence rather than assuming adjacent intervals are comparable. The approach also shows why a meaningful peak-load comparison may require more than the first minutes after release. Immediate verification still depends on the signal available during the deploy window.

Salesforce recommends investigating any core metric, including App CPU, DB CPU, or EPT, end-user page time, that regresses more than 15% from the pre-deployment baseline. That recommendation applies specifically to those core metrics. To preserve the comparison context, store baselines in artifact storage next to their build outputs. Trend results against the code and configuration changes that produced them, so consistent performance is visible across releases.

Tiered gates: where in the pipeline regression checks belong

A commit gate runs fast functional checks, finishes in minutes, and blocks every merge to mainline, with no exceptions. Speed is its primary design constraint. A build gate then runs broader regression checks after a successful build, finishes in under an hour, and blocks promotion to test environments. The release gate runs the full regression suite, including baseline comparison, before production.

One way to split the checks is to run a targeted regression subset in under ten minutes on every pull request and a broader, parallelized suite on main-branch merges. The release checks provide the last automated defense before real traffic reaches the new build. Production comparison then tests the conditions those earlier layers could not reproduce. A gate should block on deviation beyond its defined tolerance.

Flaky tests undermine this structure even when coverage is broad. Engineers who keep seeing noisy failures learn to pay less attention to the signal, and they may skip a slow gate when a deadline is close. Gate design must account for both problems. Thoroughness has little operational value if the resulting decision is routinely ignored.

Canary deployments and synthetic monitoring as signals when real traffic is insufficient

A canary routes a small slice of live traffic to the new build while the existing version continues to supply baseline telemetry. Comparison happens before the full rollout completes. But a service with little traffic may not have enough observations to reveal a regression in that time. Waiting for a statistical signal that arrives after broad exposure defeats the purpose of the gate.

Synthetic monitoring complements the canary by running scripted key user flows against production at regular intervals. Login, search, and checkout equivalents can exercise paths that real traffic may not touch for minutes or hours. When canary volume is too low, the recommended fallback is synthetic monitoring on the highest-risk user flows as the primary signal source.

Tracking latency and resource use against flag state helps show whether a regression comes from one feature or affects the whole build. Choosing a targeted response when degradation appears only with a flag enabled depends on flag hygiene, because stale flags accumulate as configuration debt and make the live code path uncertain.

What the on-call engineer's workflow looks like without this structure

Salesforce identifies fragmented telemetry as a central obstacle to post-deploy validation. End-user response time, application server cycles, and Apex resource exhaustion signals remain isolated across disparate logs. The engineer has to bridge them manually. Opening dashboards, deployment history, a Slack thread, and a tracing tool consumes the incident window before the affected component is clear. Investigation, rather than the eventual fix, becomes the bottleneck.

Even after finding the right metrics, the engineer must find a period in the past when traffic was like it is now. Latent architectural regressions make that comparison harder because their inefficiencies are visible only under production load. A successful staging run supplies little reassurance about those conditions. Meanwhile, SLO burn continues as the engineer works out which changes came from the deployment and which came from the traffic itself.

Alert fatigue compounds that delay when low signal-to-noise ratios teach engineers to discount notifications until symptoms become undeniable. OnePatch offers an alternative to this manual correlation by annotating the PR with a verification plan and automatically checking production telemetry post-deploy. The regression signal appears in the context of the change. That connects verification to release activity instead of requiring an engineer to reconstruct the relationship across separate tools.

A repeatable process for the deploy window, step by step

Diagram: Six Steps Inside the Deploy Window. Visualizes: Visualize a six-step sequential process for the deploy window that an on-call engineer follows after every release.

The first step is to confirm baseline currency before deployment begins. Verify that the baseline describes the direct ancestor build under a comparable traffic window. That ancestor must be known-good to satisfy the baseline requirement. Flag any snapshot older than the last meaningful traffic-pattern change for refresh rather than treating its availability as proof of relevance.

Second, mark the deploy event in telemetry. Its timestamp becomes the pivot for before-and-after comparison. SAP’s approach, described in a granted US patent, makes structured deployment logs an output of the CI/CD execution engine. Those logs identify which software component generated an error and on which computing device, providing queryable context rather than leaving that reconstruction to the on-call engineer.

Third, run the automated comparison across latency percentiles, error rates, throughput, and resource utilization. Use canary telemetry where traffic provides a meaningful signal. If volume is insufficient, treat the canary as inconclusive and use synthetic monitoring on the highest-risk flows. An absence of observations must not become evidence of health.

Fourth, use relative thresholds to check for changes from the pre-deployment baseline. For Salesforce’s core metrics of App CPU, DB CPU, and EPT, a regression greater than 15% warrants investigation. Other comparison gates need their own defined tolerances. The decision should rest on how behavior has changed, even if an absolute alert threshold has yet to fire.

Fifth, find where the regression is before deciding how to respond. Check flag state to distinguish feature-specific behavior from build-wide degradation, then use the structured deployment log to identify the changed component. This evidence informs the rollback-versus-fix decision. It reduces the uncertainty that otherwise pushes response work into a broader incident investigation.

Sixth, use a rollback or targeted fix PR to act within the deploy window. OnePatch automatically opens an incident when it detects a post-deploy regression and may open a fix PR during resolution. That keeps the response connected to production verification. Acting quickly keeps a known regression from affecting users while the team starts a separate effort to coordinate its response.

Instrumentation gaps that break the comparison before it starts

An uninstrumented service can make a distributed trace terminate at its boundary without producing an error signal. The trace contains a gap, and that silence can resemble health. A comparison gate then evaluates only the visible portion of the system. A regression inside the missing component may remain outside the automated check. The apparent pass is a false negative.

A service may emit metrics while failing to pass distributed trace context across a boundary. Its local telemetry exists, but the chain needed for correlated root-cause analysis is broken. Monitoring can only evaluate what its instrumentation exposes. The presence of service metrics alone does not establish end-to-end coverage.

Before treating the deploy-window process as reliable, audit the services touched by a typical deploy. Verify that OTLP telemetry flows from each service and that trace context propagates across all relevant boundaries. Both checks are required for a trustworthy comparison. Repeat coverage checks as services, integrations, and dependencies change, because those changes can silently reopen gaps after the initial instrumentation pass.

Making the deploy window a first-class operational moment, not an afterthought

Automated verification changes the on-call engineer’s role during a release. Instead of watching dashboards for signs of trouble, the engineer reviews comparison output and acts on deviations. The machine performs the continuous observation. Developer ownership reinforces this division when the engineer who shipped the PR also reviews its production behavior, shortening the feedback loop between code and consequence.

OnePatch is designed around that model, with automatic production verification against real telemetry after every PR deploys. Verification asks whether this specific change broke anything. That narrower question reduces the reconstruction required to begin a response. When verification is an inherent stage of every deploy, shipping fast and shipping safely become the same motion.

More in On Call Toil and Alert Noise Reduction