PeaBox Lab › PeaLang › Dev › Release engineering
Release Engineering

Every release is an auditable artifact

PeaLang releases are reproducible, manifest-driven and inspectable. If you cannot answer "what exactly is in this wheel?" in under a minute, the release is not done.

What ships in a release

  • The wheel (e.g. pealang-0.99.6-py3-none-any.whl) plus the source tarball.
  • RELEASE_MANIFEST.json — every file in the artifact, with SHA-256 hashes and build inputs.
  • SHA256SUMS — top-level checksums; PUBLIC_API_SNAPSHOT.json — the public API surface for compatibility checking, with its own hash.
  • SBOM + provenance — dependency inventory with licenses and build provenance attestations.
  • Evidence — conformance results, differential-test output, benchmark deltas, security review notes and RC validation logs.

The release pipeline

  1. Freeze. No merges without a release-blocker review. Version bump is the only change allowed.
  2. RC build. Tag vX.Y.Z-rcN. CI runs the full matrix: unit, language, conformance, differential, security boundary, benchmarks, spec verification.
  3. Evidence review. A human reviews the manifest, hashes, SBOM, compatibility delta and RC test logs. Anything unsigned or unexplained goes back.
  4. Sign. Manifest and artifacts are signed; signatures are verified by the verification path before publishing.
  5. Publish & verify. Wheel lands; a clean-environment install + smoke test runs from the published artifact, not the build tree.
  6. Rollback plan. Every release note names the previous good version and the rollback trigger conditions.

API compatibility policy

Stable public API means: documented names, signatures and semantics. Breaking them requires a major version and a migration guide. Deprecations ship with warnings for at least one minor release before removal. PUBLIC_API_SNAPSHOT.json + API_STABILITY_POLICY.json define the contract; CI diffs the snapshot on every RC — an unreviewed API change fails the gate.

Rollback

Package registries don't unpublish cleanly, so rollback is forward-fix plus yank, not history rewrite: locate the defect, tag a patch release, yank the bad version, publish the rollback notes. Hosts pinning by hash are unaffected by yanks — hash-pinning is recommended for production embeddings.

Read the full treatment

Chapter 24 — Supply-Chain and Release Engineering covers API stability, release manifests, SBOMs and provenance, cross-platform CI and RC validation, migration planning and threat modeling of the release process itself. Chapter 11 covers package signing from the consumer's side.

← Contributing  ·  Architecture →