When verification needs review

A past result stays true as history. Changes and drift decide whether it still supports today’s decision, and how much to test again.

Field guideBy Chu Duc Minh, Founder and CTOPublished Updated 9 min read

“We tested that last quarter” is a statement about the past, and the decision it is quoted for is about now. Between the two, the system changed: deploys, configuration, library versions, provider API versions, traffic and data volume. A verification result describes behavior under the conditions of its test. When those conditions change, the result still describes the past correctly and may no longer describe the present at all.

For a team that deploys every day, a quarterly recovery test supports a little less each week, and nothing in the test report says how much less. A workable practice records what each result depended on, notices when one of those conditions moves, and chooses how much to test again.

A result is bound to its conditions

A verification record keeps the scenario, the environment and the result. To stay useful after the test, it also keeps the conditions the result depended on:

  • the versions and configuration of the components on the path;
  • the topology, including zones, regions and the network path;
  • the dependencies the team does not operate, with their API versions and limits;
  • the traffic shape and volume, and the data size, at the time of the test;
  • the access paths, runbooks and people the scenario relied on.

The result itself never changes. “Verified on 12 June under these conditions” stays true. What changes is whether it still applies, and the record shows that with a separate state: Stale means the result needs review before anyone relies on it now. Stale does not mean the system fails, and it is different from Unknown: Unknown means there is no evidence, while Stale means the evidence exists and its conditions have moved.

What makes a result stale

Two kinds of movement make a result stale, and only the first leaves a trace in a change log.

Discrete changes happen at a point in time and usually leave a record: a deploy of a service on the path; an infrastructure or Helm diff; a feature flag; a schema migration; a library upgrade; a new API version at a provider; a certificate or key rotation; a changed quota or rate limit; a new on-call rotation or a rewritten runbook.

Drift happens without any single change. Traffic grows into the headroom a load test once measured. Data grows, so an index that fit in memory no longer does, and a restore that took one hour at 2 TB takes longer at 4 TB. Retention windows fill, certificates approach expiry, and a dependency’s latency creeps up across releases. Conditions make a result stale, and some of them move without a ticket.

Small changes can move a result a long way. Marc Brooker’s Builders’ Library article on retries describes a request that passes through five layers of services, each retrying on its own, until the multiplication reaches the database: “the load on the database will increase 243x, making it unlikely to ever recover.” AWS’s practice is “to retry at a single point in the stack”. Bronson and colleagues named the worst outcome a metastable failure, in which “a trigger causes the system to enter a bad state that persists even when the trigger is removed”, and found that “one of the most common failure-sustaining mechanisms is request retries”. A follow-up study at OSDI ’22 examined 22 metastable failures from 11 organizations, and reported that at least 4 of 15 major AWS outages in the preceding decade were metastable. A one-line change to retry settings can therefore invalidate a load test or a failure test whose code path looks untouched.

Map changes to the claims they affect

A claim that lists its dependencies and conditions can be found when one of them changes. Four triggers cover most cases:

Triggers that send a result for review
TriggerExampleReview asks
ChangeA deploy, configuration diff or provider API version touches a listed dependencyDoes the change alter behavior under the claim’s scenario?
ThresholdPeak traffic or data size passes the level the test coveredDoes the margin the test showed still exist?
IncidentAny incident on the flow, whatever its causeDid production behave as the result predicted?
AgeA fixed maximum age by criticality, whatever has changedHas anything moved that no other trigger caught?

The age trigger is a backstop for what the other three miss, such as an unlisted dependency or drift nobody measured. NIST SP 800-34 leaves the review frequency of contingency plans to the organization, and its FAQ suggests a review “at least annually, as well as upon significant changes”. A team can set a stricter maximum age for the claims behind its most important flows.

Two failure modes sit on either side. Sending every claim for review on every deploy produces review fatigue, and people start approving reviews without reading them. Treating a small diff as proof that behavior is unchanged misses the retry setting buried in a library upgrade. Listing dependencies per claim is what lets a team avoid both.

Software can do the bookkeeping. Relia1’s platform records changes and proposes the claims each one may affect, and an engineer decides whether each result still holds. The decision stays with a person, because only a person can judge whether a change touches the claim’s scenario.

Choose the depth of the next verification

A stale result does not always need a new test. The review chooses the cheapest step that can answer the question, and records why.

Depth of re-verification
StepWhen it fitsWhat it leaves open
Reaffirm with a reasonThe change does not touch the scenario, and someone can explain whyAnything the reviewer did not know to look for
Targeted testOne mechanism changed, such as a retry setting or a timeoutInteractions with the rest of the flow
Component failure testA dependency’s failure behavior may have changedProduction traffic shape and the parts of the flow outside the component
Full flow exerciseSeveral conditions moved, or the claim backs a decision with high exposureWhat the scenario itself excludes

A reaffirmation is a decision, so it is recorded like one: who reaffirmed the result, on what date, and the reason the change does not affect it. “Reaffirmed by the payments lead on 3 July: the deploy changed order export only” can be checked later. A silent “still fine” cannot.

One claim over three months

The record below follows one illustrative claim through a quarter of ordinary changes. Each entry keeps its own state, so the history stays readable after the latest result.

Checkout completes when the payment provider slows to two seconds per call

Illustrative example — not a customer result
12 June
VerifiedTwo seconds of added latency on provider calls for 30 minutes in staging: checkout success stayed above 99% and no payment was captured twice.
3 July
VerifiedOrder service deploy reviewed. No change to the payment client; reaffirmed by the payments lead.
14 August
StalePayment client library upgraded. Its default retries rose from one to three, without jitter; the June result does not cover the new behavior.
2 September
Partially verifiedTargeted test with the same latency: success held, but retries tripled calls to the provider during the slowdown. Behavior at the provider’s rate limit during peak was not tested.
Next decision
Add jitter and a retry budget, or confirm the provider’s rate limit at three times peak, before the November sale.

A freshness policy that fits the release pace

A team that deploys every day cannot retest its critical flows after each deploy, and it does not need to. A freshness policy decides in advance how much review each kind of claim gets, so the cost of staying current is set by business exposure instead of by whoever happens to notice.

A policy for the claims behind critical flows fixes five things:

  • the dependencies and conditions each claim lists, and who keeps the list current when the architecture changes;
  • the changes that send a claim for review automatically, such as a deploy of a listed component, a new provider API version, or any change to retry and timeout settings;
  • the drift thresholds, stated against what the test covered, such as peak traffic above 80% of the tested peak or data 25% larger than in the last restore test (illustrative values);
  • the maximum age by criticality, after which a result is reviewed whatever has changed;
  • who may reaffirm a result without a new test, and who must approve relying on a result that is stale.

The last item is the one that reaches executives. Sometimes a decision cannot wait for a new test: the campaign starts on Friday, and the result behind the capacity claim went stale on Tuesday. Relying on a stale result is a legitimate choice when the person who owns the exposure makes it explicitly, with the reason and an end date recorded. It becomes a problem when it happens by default, because nobody looked at the date.

Executives need the same information in a different shape. For each critical flow, a useful summary lists the claims behind the next decision with their state, their date and the change that last touched them. A single freshness percentage would hide the one stale claim that matters among twenty current ones.

Questions to ask your team

  • Which results are we relying on for the next decision, and what has changed in their dependencies since each was produced?
  • Do our recorded results list the dependencies and conditions they rest on, so that a change can find them?
  • Has traffic or data size grown past what our last load and restore tests covered?
  • Who decides that a result still holds after a change, and is the reason written down?
  • What is the longest we let a result behind a critical flow go without review, whatever has changed?

References

  1. Marc Brooker. Timeouts, retries, and backoff with jitter. Amazon Builders’ Library.
  2. Nathan Bronson, Abutalib Aghayev, Aleksey Charapko and Timothy Zhu. Metastable Failures in Distributed Systems. HotOS ’21.
  3. Lexiang Huang and others. Metastable Failures in the Wild. OSDI ’22.
  4. NIST. SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems. May 2010.

Find out which results still hold.

Bring the change you are planning and the results you rely on. We map the change to the claims it touches and agree how much needs testing again.

What happens after you get in touch

  1. Describe the outcome

    Tell us what must work and what is coming or has just happened: a sale, a launch, a cutover, a recovery commitment, a recent incident.

  2. Define the boundary

    Together we agree the flow, its dependencies, the evidence that exists, the owners and what is out of scope.

  3. Choose the work

    You decide whether to proceed, and with what scope. Nothing starts before it is agreed in writing.