Choose Remediation Canaries That Represent the Fleet
Choose remediation canaries by the trust decisions they exercise, then use fresh handshakes and caller-side evidence to decide which classes can advance.
Ring 3 was the first ring that could reveal the bad pin. In this fictional certificate rotation, the five pilot hosts and the clients in rings 1 and 2 all used the managed OS trust store, which already trusted the new root. When ring 3 switched, its appliances stopped exchanging integration traffic. They trusted the same root but required the previous intermediate. A pilot appliance making a fresh connection would have rejected the new chain while the rollout still had a small blast radius.
The intermediate splits the fleet
All 500 hosts in the example connect directly over TLS. Routing sends the active ring to endpoints serving a new leaf and intermediate under a different root, with no cross-signed path to the old root. Hosts awaiting cutover still reach endpoints serving the old chain. Both routes use the production server name.
The 300 managed clients read trust anchors from the OS. The 120 local-toolchain workstations use a runtime bundle, and the 60 locked kiosks use a separately delivered trust policy. Both delivery systems supplied the new root ahead of cutover. The 20 appliances also trusted the new root, and their shared firmware enforced an intermediate pin in addition to chain validation. This fleet has four compatibility classes because the sources and enforcement of trust differ. Two hosts in the same class can still fetch policy through different relays, one of which can serve an older revision.
The original pilot enrolled five managed clients and zero workstations, kiosks, or appliances. The redesigned pilot retains those five and enrolls five from each of the other classes, for 20 total. For each class, record the loaded policy, runtime and delivery instances, serving paths, enrolled hosts, critical transaction, and open coverage gaps. Select hosts to exercise every combination of delivery instance and serving path that can change the result. If five hosts miss a combination, enroll a host that reaches it or steer an enrolled host through it with its production validation intact.
Figure 1 — The base of each column represents the same five managed clients. The three added blocks each contribute five hosts and exercise a trust decision absent from the original pilot. Illustrative enrollment counts, not measured data.
Stage overlapping pins on the appliances, which support both intermediates in this example. Verify the loaded pin set on each pilot appliance before switching its route, then apply the same check to each remaining appliance before its cutover. Retain the old pin only during the approved recovery interval and while serving the old chain remains safe. On hardware that accepts a single pin, a pin write and a route change without a coordinated switch create an interruption between the two actions. Restoring the route on that hardware also requires restoring its matching pin.
A successful transaction can reuse an old trust decision
A transaction on a pooled connection uses the trust decision from the original handshake. A new connection can still resume a previous session. The original TLS 1.2 mechanisms use session IDs or tickets, documented in RFC 5246 §7.3 and RFC 5077 §3.2, respectively. Under TLS 1.3, resumption authenticates the server with a pre-shared key derived from an earlier handshake. See RFC 9846 §2.2, “Resumption and Pre-Shared Key (PSK).” The RFC Editor records RFC 9846 as obsoleting RFC 8446.
Use the production client runtime and loaded trust policy. Open a fresh connection from a TLS context with resumption disabled for the check. Verify that the runtime performed a full certificate-authenticated handshake, with hostname, chain, and pin checks enabled as applicable. Compare the presented leaf and intermediate fingerprints with the approved chain and complete the critical transaction on that connection. Target every endpoint assigned to the ring while preserving the production hostname for SNI and verification. Ordinary load balancing can send all pilot traffic to a healthy replica while another replica still serves the old chain. Repeat the kiosk transaction after a normal policy refresh to catch a relay that can undo the staged policy.
Outside this direct-path example, TLS interception creates two handshakes. The client checks the proxy's certificate, and the proxy checks the origin under its own policy. A fresh client connection can ride a reused upstream connection. Trace the transaction through a confirmed full upstream handshake for each path with distinct validation behavior. If the proxy copies origin fields such as subject alternative names into the certificates it issues, repeat the client-side validation after the proxy fetches the new origin chain. Otherwise, a cached proxy certificate can hide what clients will receive after the cache refreshes.
What five passes establish
A deterministic check covers equivalent hosts only under the conditions you actually exercised. If you cannot establish which appliances share their loaded pin policy, test all 20. Test all 20 as well if the release requires a record of every appliance completing the transaction. That record expires as evidence for current behavior when a device loads a different policy.
To quantify what a different sampling design would buy, suppose five of the 20 appliances are drawn uniformly at random without replacement. If exactly K appliances would consistently fail the check, the probability of five passes is C(20 − K, 5) / C(20, 5). The model gives about 5.1% at eight failing appliances and 3.0% at nine. Five passes therefore leave eight failures, or 40% of the class, inside the one-sided 95% confidence bound. A pilot selected to cover relays has a different selection rule. Use its results to establish path coverage and reserve that confidence calculation for a random draw.
Intermittent failures call for a different unit. Under an illustrative binomial model with independent exposures and a common failure probability p, five clean trials occur with probability (1 − p)^5. Setting this expression to 0.05 gives a one-sided 95% upper bound of about 45%. To bring the bound below 10% under those assumptions, require at least 29 independent exposures with zero failures. A census of 20 appliances with one exposure apiece falls short. Multiple attempts during a single reconnect burst can share a congested egress link and fail together. Count independent reconnect events under the conditions the bound is meant to cover, and hold expansion if the release requires a bound the trial design cannot support.
The watch starts after cutover
For the fictional rollout, the rollout controller runs an instrumented synthetic transaction on each required pilot path and pauses expansion on any critical synthetic failure. Use the same test against the old route before rollout. For a class with no live transaction feed by design, predeclare synthetic results as its promotion evidence. Set the minimum number of completed checks per window from the baseline cadence, with a required outcome for each manifest path. Treat a missing synthetic result as a hold. A live class that loses its feed mid-rollout stays on hold even if its synthetics pass.
For classes with live traffic, calculate failed integration attempts over total integration attempts by class and active ring. Count at the caller before connection setup and send results through a collector outside the changed path. Reconcile started attempts against outcomes after the transaction timeout and telemetry deadline, and count timeouts as failures when the caller records them. Hold if outcomes cannot be reconciled or attributed to the enrolled host and its route generation at attempt time. Use the baseline's retry accounting throughout. Listener logs miss attempts that never connected. A pooled rate also hides an appliance outage if that class accounts for less than 2% of attempts and everyone else succeeds.
Start the clock once the ring has switched and begin with a full five-minute window. Require at least five consecutive evaluable windows, or 25 minutes, and extend the watch through the window that captures the last required reconnect or refresh. If waiting for a natural reconnect would run into the recovery deadline, schedule a supported reconnect and observe the resulting workload before considering promotion. For the live gate, set a minimum attempt count from each class's baseline traffic before rollout. A window below that minimum or with incomplete attribution holds expansion and restarts the consecutive-window count.
The first evaluable window above 2% leaves a breach pending. A second breach before any evaluable window at or below 2% trips the pause. Missing or low-volume windows preserve the pending breach even as they reset the watch. Promotion requires the full watch, a clean final window, completed reconnect checks, and no unresolved pause. A tripped pause requires investigation, corrective action, and a fresh watch before expansion resumes.
In the fictional trace below, all five five-minute windows are evaluable. The failure rates for windows 1 through 5 are 0.4%, 0.5%, 1.2%, 2.4%, and 2.7%. Window 4 leaves a breach pending. The controller trips the pause when it evaluates window 5 after close. Inserting an unevaluable window between the last two readings would delay the second evaluation and preserve the pending breach.
Figure 2 — Illustrative caller-side results, not measured data. The marks at 2.4% and 2.7% are successive breaches. The controller pauses expansion when it evaluates the result for window 5.
Advance only within the coverage you earned
Rotate pilot hosts through ordinary enrollment. Early policy pushes or restart exemptions can make a permanent pilot healthier than the hosts it represents. Keep the transaction check fixed and run the replacement alongside the incumbent until the replacement has exercised the same delivery path and completed its first reconnect. If the incumbent covered the only verified path through a kiosk relay, removing it early reopens that coverage gap.
Bind each result to the deployed chain, effective policy revision, and route generation in the remediation state machine. A change to any of those inputs during the watch requires fresh evidence for the affected paths. Before widening a class, size its batch against the time reserved for recovery. The time to verify restored pins and routes can dominate recovery even when the batch contains few hosts.
Advance a class when the pilot has exercised the next batch's delivery and serving paths, the workload has completed after fresh validation, and the class has cleared its watch. Leave a batch on its current route if it introduces a combination the pilot has yet to exercise. The next canary belongs on that path.