---
library: "bootstrap"
slug: "ReleaseArtifactVerification"
name: "ReleaseArtifactVerification"
ref: "ReleaseArtifactVerification#c466"
hash: "sema:ReleaseArtifactVerification#mh:SHA-256:c4668a479ba21c1d2a8bc1f4475bcb1084eebf9125ea220110a3015f3fcf5d75"
type: "Verification"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/ReleaseArtifactVerification"
---

# ReleaseArtifactVerification

Test the exact artifact consumers receive, and bind the evidence to its digest

Infrastructure · Verification

## Mechanism

Before a release is declared verified, the artifact that will actually be distributed or deployed, such as a package, image, bundle, compiled bytecode, document or dataset, is identified by a content digest, installed, deployed or opened the way a consumer receives it, and exercised there. Each piece of evidence records the digest it ran against, as [Verification](https://semahash.org/vocabularies/bootstrap/patterns/Verification.md) states what it was checked against. Evidence gathered on a source tree, a development build or another digest counts for the artifact only for a property the build is stated to preserve, with that assumption recorded, as when a proof about source is carried to bytecode built by a pinned compiler; a reproducible build shows that builds match, not that a property survives the build. Packaging and installation, or opening for a document or dataset, are always checked on the artifact itself, and a changed digest invalidates the evidence until it is rerun or its assumption is restated. Tests that replace production components with stand-ins state which components they replaced.

## Invariants

- Every verification claim names the digest it ran against.
- Evidence gathered on anything other than the released digest counts only for a property the build is stated to preserve, with that assumption recorded.
- Packaging and installation, or opening for a document or dataset, are checked on the released artifact itself.
- Evidence that ran with stand-ins for production components names the substitutions.

## Failure modes

- Source-tree pass: tests pass on the repository and are counted for the artifact, though the build changes what they covered through flags, missing files or a stale lock file.
- Stand-in coverage: a test harness replaces a production component, so the production path is never exercised although the test count suggests it was.
- Rebuilt after testing: the artifact is rebuilt after verification, so the deployed digest was never tested.
- Environment gap: the artifact is exercised in an environment unlike the consumer's, with different permissions, configuration or neighbours.

## Where this came from

—

## Builds on

- [Verification](https://semahash.org/vocabularies/bootstrap/patterns/Verification.md) (references)

## Related

- [Deploy](https://semahash.org/vocabularies/bootstrap/patterns/Deploy.md)
- [Canary](https://semahash.org/vocabularies/bootstrap/patterns/Canary.md)
- [RolloutWatch](https://semahash.org/vocabularies/bootstrap/patterns/RolloutWatch.md)
- [Trace](https://semahash.org/vocabularies/bootstrap/patterns/Trace.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: ReleaseArtifactVerification#c466
- Hash: sema:ReleaseArtifactVerification#mh:SHA-256:c4668a479ba21c1d2a8bc1f4475bcb1084eebf9125ea220110a3015f3fcf5d75

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/ReleaseArtifactVerification
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/ReleaseArtifactVerification.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
