Resources · 101

Progressive releases: stop criteria and rollback

Expand a new version using comparable observations and an exercised recovery path.

· 9 min

Empty digital forensics bench with storage devices and precision tools AI-generated editorial illustration

What this guide helps achieve

  • Define the change and its risks
  • Build a useful comparison
  • Set expansion conditions
  • Exercise complete recovery
  • Close the experiment

Quick check

  • What starting percentage should be used?
  • Does rollback undo a data migration?
  • Can expansion proceed without measurements?

Step-by-step method

  1. 01

    Define the change and its risks

    Name affected functions, users and dependencies. Separate interface, algorithm, configuration and data changes. List hard-to-reverse effects: notifications, payments, external messages or schema migrations.

    Deliverable: scope and irreversible effects.

  2. 02

    Build a useful comparison

    Choose a starting population and reference. Check devices, languages, loads and rare tasks. Set an observation period justified by traffic and expected events rather than a universal percentage.

    Deliverable: documented population and reference.

  3. 03

    Set expansion conditions

    Define errors, latency, completeness and user outcomes with sources and thresholds. Specify who decides to expand, wait or stop. When collection is unavailable, do not treat missing signals as success.

    Deliverable: criteria, measurements and decision authority.

  4. 04

    Exercise complete recovery

    Test returning to earlier code with current data. Check schema compatibility, queues, caches and ongoing tasks. Earlier software does not undo effects already produced; plan reconciliation and compensating actions where needed.

    Deliverable: recovery result and remaining effects.

  5. 05

    Close the experiment

    After expansion, check lightly exposed groups and deferred tasks. Remove temporary settings or assign ownership to prevent accumulating variants. Keep versions, decisions and any incident in the change record.

    Deliverable: review and temporary-setting cleanup.

Expand, wait or stop

Decisions rely on observations and a prepared recovery path.

  1. Acceptable results

    Expand under the plan and inspect lightly exposed groups.

  2. Missing or ambiguous measurements

    Wait and restore useful observation before concluding.

  3. Stop criterion reached

    Pause expansion, initiate recovery and assess remaining effects.

Illustrative case: rising errors in a lightly represented language may justify a pause even when the overall average appears unchanged.

Choose between continuing, waiting and recovering

Illustrative cases without universal thresholds. Define the criterion before testing, connect it to useful measurements and assign a decision owner.

ObservationDecision to prepareRequired evidence
The overall average is stable but one language failsPause expansion of the affected segment and inspect its coverage; do not hide failure inside the aggregate.Results by language, device, task and version, with actually observed counts.
The dashboard stops receiving eventsApply the wait condition and restore observation before expanding.Collection test, freshness and reconciliation of expected versus received operations.
The previous version cannot read the new schemaDo not declare rollback ready; test compatibility, restoration or corrected recovery in an isolated environment.Scenario results with current data, operation order and remaining effects.
Notifications have already been sentStop the cause, then decide on correction or compensation; reverting code does not withdraw messages.Proportionate effect list, task state, accountable decision and final reconciliation.

Reusable worksheet

Complete with your authorised observations. These fields are a working template, not observed results.

FieldInformation to record
ExposurePopulation, reference, languages and period
DecisionMeasurements, criteria, owner and stop
RecoveryTarget version, compatibility, queues and remaining effects
AcceptanceResult by scenario, retained evidence and blocking discrepancy

Worked example

Illustrative situation

Fictional example: the overall metric is stable after limited activation, but a Japanese journey fails. The aggregate dashboard hides this lightly represented segment.

Decision and expected evidence

Apply the planned stop condition to the affected segment, check its collection and replay the task. Before recovery, test the previous version with the current schema and distinguish data restoration from correction of effects already produced.

Distinguish the mechanisms

MechanismPurposeCheck or limitation
Limited activationObserve part of the audienceCheck representativeness
Version rollbackRestore code or configurationData may be incompatible
Compensating actionAddress an effect already producedDoes not guarantee exact restoration

Management indicators

IndicatorWhat it measuresFirst action
ObservabilityScenarios with a verifiable outcomeAddress missing measurements
RecoveryScenarios returned to an acceptable stateFix dependencies and persistent effects

Common pitfalls

  • Check representativeness
  • Data may be incompatible
  • Does not guarantee exact restoration

Frequently asked questions

What starting percentage should be used?

There is no universal value. Choose enough exposure to observe useful events while limiting failure consequences.

Does rollback undo a data migration?

Not automatically. Test compatibility and restoration separately, then document remaining effects.

Can expansion proceed without measurements?

Missing measurements do not prove success. Apply the planned wait condition and restore observation before deciding.

Build signatures and provenance

Before deployment: verify what was actually delivered

A version tag, signature and provenance file answer different questions. Preparing a progressive release means connecting received bytes to the attested artefact, then checking authorised identity, build platform and expected parameters. Functional observation and rollback remain separate checks.

This reference uses SLSA 1.2, in-toto Statement v1 and Sigstore documentation checked on 22 October 2026. Texts, .example domains and runs below are fictional. SHA-256 digests are calculated from two exact training strings; this page verifies no real signature, identity or platform. It assigns no SLSA level to this site or any supplier.

Fictional empty verification bench with a circuit board under an inspection lens and an amber-lit metal module. AI-generated editorial illustration
A fictional empty electronic verification bench. This scene depicts neither an actual facility nor evidence of cryptographic verification.

Six distinct pieces of evidence

Six distinct pieces of evidence
ElementQuestion it helps answerLimit
Artefact digestDo the bytes match an expected digest?A digest alone identifies no trusted source.
SignatureDoes signed content verify under the selected cryptographic material and roots?A valid signature is insufficient if the signer is not authorised for this package.
Identity and OIDC issuerDoes the certificate match expected identity and issuer in a keyless workflow?Checking only one of these expectations does not replace the full identity policy.
Build provenanceWhich builder, build type and inputs are asserted for the artefact?A JSON file’s presence proves neither issuer authenticity nor compliance with expectations.
SBOM and VEXWhich components and applicability assertions accompany the version?These records replace neither provenance verification nor deployed-instance checks.
Deployment resultDoes the accepted version work on relevant instances and scenarios?Package authenticity establishes neither freedom from vulnerabilities nor absence of regressions.

SLSA 1.2: four Build track reference points

The Build track concerns artefact production and provenance. SLSA 1.2 also distinguishes a Source track, so a Build level does not summarise every source-code control. This table is a reading guide rather than a complete conformity assessment.

SLSA 1.2: four Build track reference points
Build levelSpecification reference pointReview consequence
L0No SLSA requirements.Record the lack of guarantees rather than inferring assurance from a filename.
L1Provenance exists describing how the package was built.Useful for release mistakes, but provenance may be incomplete or unsigned.
L2Provenance generated and signed by a hosted build platform; authenticity validated by the consumer.Examine platform identity and roots of trust rather than a CI service logo alone.
L3Hardened platform, including run isolation and protection of signing material from user-defined build steps.Trust in the platform remains an assumption to assess. A builder.id value alone does not demonstrate this level.

Eight provenance reading checks

Eight provenance reading checks
Field or expectationRoleProposed check
_typein-toto Statement version.For this format expect https://in-toto.io/Statement/v1; distinguish it from the predicate type.
subject[].digestBinding between Statement and artefact.Compare the digest of the relevant bytes. Filename does not replace content matching.
predicateTypeProvenance type and major version.SLSA 1.2 retains https://slsa.dev/provenance/v1; do not substitute the v1.2 documentation page URL.
buildDefinition.buildTypeTemplate defining the meaning of build parameters.Match expected build type and its definition before interpreting fields.
buildDefinition.externalParametersExternally controlled inputs, such as repository and source reference.Compare defined expectations. SLSA recommends rejecting unrecognised or unexpected external parameters.
buildDefinition.resolvedDependenciesResolved build dependencies, where known.Do not assume completeness: the specification describes best-effort completeness, including Build L3.
runDetails.builder.idDeclared build-platform identity.Connect it to verifier-configured roots and maximum trusted level.
runDetails.metadataBuild invocation identifier and times, when supplied.Preserve useful investigation records; a plausible date is neither a signature nor deployment evidence.

Keep parsing rules in scope: SLSA generally requires ignoring unrecognised fields unless otherwise specified. externalParameters have a specific verification rule: an unrecognised or unexpected parameter should fail verification. Rejecting every additional field, or silently ignoring every new external input, would conflate those rules.

Two fictional contents, one possible filename, two digests

The following strings use UTF-8 and a final LF newline. JSON notation makes that LF visible as \n; display quotes are not part of the bytes. This calculation demonstrates content difference only, without source authenticity or a signature.

Two fictional contents, one possible filename, two digests
ExampleBytes in JSON notationCalculated SHA-256
A"training-release=2.4.0\n"79724f6b7f6414c888ec8f3074830ffb132c152b80b30278089e30276549f6f9
B"training-release=2.4.1\n"c5368b5e5afaebc2e407b6c685d3ea33f5a9a42775fba2be2ba6fe00d496922a
Fictional JSON example: Statement and SLSA predicate

A structural example written for this page, without a signed envelope or compliance-engine validation. Its subject matches string A. Build type and builder are fictional. The empty dependencies array is not a complete SBOM.

{
    "_type": "https://in-toto.io/Statement/v1",
    "subject": [
        {
            "name": "training-release.txt",
            "digest": {
                "sha256": "79724f6b7f6414c888ec8f3074830ffb132c152b80b30278089e30276549f6f9"
            }
        }
    ],
    "predicateType": "https://slsa.dev/provenance/v1",
    "predicate": {
        "buildDefinition": {
            "buildType": "https://build.example/types/training-package/v1",
            "externalParameters": {
                "repository": "https://source.example/project",
                "ref": "refs/tags/v2.4.0"
            },
            "resolvedDependencies": []
        },
        "runDetails": {
            "builder": {
                "id": "https://build.example/builders/training-release"
            },
            "metadata": {
                "invocationId": "training-run-001",
                "startedOn": "2026-10-22T09:00:00Z",
                "finishedOn": "2026-10-22T09:02:00Z"
            }
        }
    }
}

This is not an actual attestation. A real review must separately establish digest matching, envelope verification, roots of trust and expectations for repository, builder and parameters. A delivery decision must then identify the artefact actually deployed.

Eight fictional cases before release acceptance

Same name, changed contents

Two files named training-release.txt contain strings A and B.

A’s provenance does not automatically apply to B: compare digests and seek evidence for received content.

Keep the name as a reference while binding content through its digest.

Valid signature, unexpected identity

The cryptographic check succeeds but the certificate names a signer outside the permitted identity.

Separate cryptographic success from policy acceptance. Examine expected identity and package authorisation.

Keep technical result and acceptance decision distinct.

Expected identity, different issuer

The identity text resembles the expected value but the OIDC issuer differs.

Compare both identity and issuer against keyless-workflow expectations and investigate the discrepancy.

A similar name does not replace verification of both values.

Accepted builder, different repository

A recognised platform declares a build from an unexpected fork.

Check expected canonical repository and source reference, with parameter meaning defined by buildType.

Trust in a platform does not make every input acceptable for every package.

A new external parameter appears

externalParameters contains an option absent from the consumption policy.

Apply the planned review or failure for an unknown input before any controlled change to expectations.

Distinguish this rule from general treatment of unknown format fields.

The dependency list is empty

resolvedDependencies is empty in the received example.

Establish what is known about build inputs and components rather than concluding there are no dependencies.

SBOM analysis and any recursive verification remain distinct tasks.

The tag now points to another artefact

A version was accepted under a readable tag; that tag later identifies different bytes.

Connect promotion and deployment to the accepted digest, then reassess changed content.

A version label alone does not establish artefact continuity across stages.

An authentic package causes a regression

Package origin is accepted but a business scenario fails during limited exposure.

Apply the guide’s stop and recovery criteria, considering data and effects already produced.

Build authenticity and functional acceptance answer different questions.

Six records to retain with a release

  • Package reference and digest of bytes accepted, promoted and deployed.
  • Provenance, associated envelope or bundle, format version and verifier result.
  • Authorised identities, issuers and roots of trust, with policy version.
  • Builder, buildType, repository and parameters compared with expectations, including investigated discrepancies.
  • Decision, owner and limits: unresolved dependencies, complementary checks or an exception to review.
  • Actual active version, limited-exposure scenario results and recovery-plan reference.

Primary sources and scope

Sources checked on

CSP: directives, fallback and journeys

Deploy CSP with journey evidence

A monitored policy and an enforced policy have different effects. Server, CDN and proxy transformations may also result in several received policies.

  • Preserve raw policies, mode, delivery and page version.
  • Test sign-in, forms, payment and recovery within scope.
  • Connect reports, defects and stop criteria before deciding on enforcement.

Read CSP fallback orders and explore eight scenarios →

W3C · Content Security Policy Level 3 · Mike West, Antonio Sartori · Working Draft · 2026-09-16 · work in progress · §2.2.1, §3, §6.8.3–6.8.4, §8.1

Core Web Vitals: thresholds and field data

After release: separate validation from field follow-up

A local result helps validate a fix; a 28-day CrUX window still contains earlier experiences.

  • Compare the same device, scope and documented periods.
  • Do not turn missing data into zero.
  • Verify functions and accessibility after the fix.

Read the thresholds and try the p75 reader →

Google · About PageSpeed Insights · Living documentation · consulted 2026-10-23

Official references

References consulted: . The method and worksheet propose checks to adapt to your context; they do not constitute certification.