Resources · 101
Progressive releases: stop criteria and rollback
Expand a new version using comparable observations and an exercised recovery path.
· 9 min
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
- 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.
- 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.
- 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.
- 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.
- 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.
Acceptable results
Expand under the plan and inspect lightly exposed groups.
Missing or ambiguous measurements
Wait and restore useful observation before concluding.
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.
| Observation | Decision to prepare | Required evidence |
|---|---|---|
| The overall average is stable but one language fails | Pause 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 events | Apply 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 schema | Do 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 sent | Stop 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.
| Field | Information to record |
|---|---|
| Exposure | Population, reference, languages and period |
| Decision | Measurements, criteria, owner and stop |
| Recovery | Target version, compatibility, queues and remaining effects |
| Acceptance | Result 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
| Mechanism | Purpose | Check or limitation |
|---|---|---|
| Limited activation | Observe part of the audience | Check representativeness |
| Version rollback | Restore code or configuration | Data may be incompatible |
| Compensating action | Address an effect already produced | Does not guarantee exact restoration |
Management indicators
| Indicator | What it measures | First action |
|---|---|---|
| Observability | Scenarios with a verifiable outcome | Address missing measurements |
| Recovery | Scenarios returned to an acceptable state | Fix 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.
Six distinct pieces of evidence
| Element | Question it helps answer | Limit |
|---|---|---|
| Artefact digest | Do the bytes match an expected digest? | A digest alone identifies no trusted source. |
| Signature | Does 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 issuer | Does 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 provenance | Which 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 VEX | Which components and applicability assertions accompany the version? | These records replace neither provenance verification nor deployed-instance checks. |
| Deployment result | Does 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.
| Build level | Specification reference point | Review consequence |
|---|---|---|
| L0 | No SLSA requirements. | Record the lack of guarantees rather than inferring assurance from a filename. |
| L1 | Provenance exists describing how the package was built. | Useful for release mistakes, but provenance may be incomplete or unsigned. |
| L2 | Provenance 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. |
| L3 | Hardened 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
| Field or expectation | Role | Proposed check |
|---|---|---|
| _type | in-toto Statement version. | For this format expect https://in-toto.io/Statement/v1; distinguish it from the predicate type. |
| subject[].digest | Binding between Statement and artefact. | Compare the digest of the relevant bytes. Filename does not replace content matching. |
| predicateType | Provenance type and major version. | SLSA 1.2 retains https://slsa.dev/provenance/v1; do not substitute the v1.2 documentation page URL. |
| buildDefinition.buildType | Template defining the meaning of build parameters. | Match expected build type and its definition before interpreting fields. |
| buildDefinition.externalParameters | Externally controlled inputs, such as repository and source reference. | Compare defined expectations. SLSA recommends rejecting unrecognised or unexpected external parameters. |
| buildDefinition.resolvedDependencies | Resolved build dependencies, where known. | Do not assume completeness: the specification describes best-effort completeness, including Build L3. |
| runDetails.builder.id | Declared build-platform identity. | Connect it to verifier-configured roots and maximum trusted level. |
| runDetails.metadata | Build 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.
| Example | Bytes in JSON notation | Calculated 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
- SLSA 1.2 · Build: Verifying artifacts · SLSA v1.2 · Approved · reviewed 2026-10-22
Check SLSA Build level · Check expectations · Forming Expectations - SLSA 1.2 · Build: Provenance · SLSA v1.2 · predicate https://slsa.dev/provenance/v1
Parsing rules · BuildDefinition · RunDetails · Builder - SLSA 1.2 · Build: Track Basics · Build track · L0–L3 · reviewed 2026-10-22
Build L1 · Build L2 · Build L3 · Source Track distinction - in-toto · Statement v1 · Statement v1 · reviewed 2026-10-22
_type · subject · digest · predicateType - Sigstore · Verifying Signatures · Living documentation · reviewed 2026-10-22
Keyless verification using OpenID Connect · artifact digest claims
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.
- Google SRE Workbook — Canarying releases
- Kubernetes — Deployments
- SLSA 1.2 · Build: Verifying artifacts
- SLSA 1.2 · Build: Provenance
- SLSA 1.2 · Build: Track Basics
- in-toto · Statement v1
- Sigstore · Verifying Signatures
- Google · About PageSpeed Insights
- W3C · Content Security Policy Level 3 · Mike West, Antonio Sartori
