203-the-determinism-build-restores-a-cargo-cache
The determinism build restores a cargo cache, measured
Lifecycle approvedImplementation completeVerification unknownQualification unknown
The four `determinism / emit` jobs run on every pull request, queue entry and push to `main`, and each builds the CLI and a test target from nothing. `Swatinem/rust-cache`, pinned to a commit SHA, restores the cargo registry and target for each triple, keyed so a cached tree never outlives the toolchain and `Cargo.lock` that built it, and saved from `main` only so pull requests do not churn a repository cache that is already over its limit. The wall clock before and after is measured, as note 06 3.10 requires.
Read the full pinned specification ↗Relationships
Claimed units
- extends
{ "nature": "additive", "spec": "156-statecraft-profile-10-governs-this-repository", "unit": { "anchor": "jobs.emit", "file": ".github/workflows/determinism.yml", "kind": "section" } }
Source headings
- 203: The determinism build restores a cargo cache, measured
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 The cache step
- 3.2 Saves come from `main`
- 3.3 The determinism claim is unchanged
- 3.4 Measurement
- 4. Out of scope
- 5. Resolved decisions
- Verification
Frozen anchors
No frozen anchors declared.