Skip to content

ci: enforce complete release gates and publication provenance - #134

Merged
abruption merged 1 commit into
mainfrom
ci/117-release-gates
Sep 22, 2026
Merged

abruption merged 1 commit into
mainfrom
ci/117-release-gates

Conversation

@abruption

@abruption abruption commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Closes #117

Summary

  • add a stable release gate job that aggregates every release-critical matrix and package/install/docs/shell/audit job with always() fail-closed behavior
  • pin every third-party Action to a full commit SHA and add Dependabot update paths for Actions, Python build/audit tooling, and Node dependencies
  • harden publication around the exact tagged commit on protected main, reproducible wheel/sdist builds, exact archive contracts, SHA256 manifests, run/commit provenance, GitHub build attestations, and PyPI PEP 740 attestations
  • install wheel and sdist independently before publication, then download the complete PyPI file set, require byte-for-byte/hash identity, and install both again
  • add Python and Node runtime audits and document failure preservation, OIDC-only publishing, and PyPI immutability in RELEASING.md

Branch protection

The new aggregate context was observed green on this PR. main protection now requires only the GitHub Actions release gate context and has strict up-to-date status enabled. The structural contract test ensures this stable context continues to cover every CI job without maintaining a fragile list of matrix-generated check names.

Validation

  • python3 -m unittest discover -s tests -v — 373 passed, 13 expected optional-dependency skips
  • npm ci && npm run typecheck && npm test && npm audit --omit=dev — 78 tests, 0 vulnerabilities
  • isolated Python runtime dependency audit with pip-audit==2.10.1 — no known vulnerabilities
  • two isolated builds with pinned tooling and SOURCE_DATE_EPOCH — wheel and sdist byte-for-byte identical
  • exact distribution-content suite — 3 passed
  • independent wheel and sdist installation/version smoke — passed
  • release source verifier — accepted the exact main/tag/commit and rejected a mismatched version
  • workflow YAML syntax, SHA-pin structural checks, documentation/i18n contracts, and git diff --check — passed
  • GitHub Actions run 35678505596 — all jobs passed, including the aggregate release gate

@abruption
abruption merged commit 5dd994e into main Sep 22, 2026
24 checks passed
@abruption
abruption deleted the ci/117-release-gates branch September 23, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: enforce complete release gates and harden publication provenance

1 participant