058-ci-throughput-profile

Setup profile revision 18: superseded pull-request runs are cancelled, a preflight orders the expensive jobs, and the cargo cache is saved from the default branch only

Lifecycle approvedImplementation completeVerification unknownQualification unknown

Amends spec 002's setup profile. github-actions-rust revision 18 changes when work runs, never what judges it: a newer push to a pull request cancels that pull request's older run; a preflight job (the base, the committed artifacts' freshness, formatting) runs before code and every declared extra job, so a stacked pull request skips them unless it asks for them by label; and the code job restores the cargo cache on every event but saves it only from the default branch. Every check keeps running where it ran; ci-gate's rules are unchanged except that preflight is required.

Read the full pinned specification ↗

Relationships

Claimed units

  • extends
    {
      "nature": "additive",
      "spec": "002-environment-lifecycle",
      "unit": {
        "kind": "directory",
        "path": "crates/statecraft-home/"
      }
    }

Source headings

  1. 058: CI throughput: cancelled superseded runs, a preflight, and a default-branch cache
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 3.1 Superseded runs are cancelled
  6. 3.2 Preflight
  7. 3.3 Stacked pull requests
  8. 3.4 The cargo cache
  9. 3.5 The revision
  10. 3.6 Spec 044 becomes revision 19
  11. 4. Out of scope
  12. 5. Resolved decisions
  13. Verification

Frozen anchors

No frozen anchors declared.