-
Notifications
You must be signed in to change notification settings - Fork 0
Build a fail-closed release pipeline with trusted publishing and traceable artifacts #63
Copy link
Copy link
Open
Labels
P1Significant semantic, completeness, correctness issues.Significant semantic, completeness, correctness issues.component: releaseVersioning, publication, release artifacts, and distributionVersioning, publication, release artifacts, and distributiondiscovered-by-codexIssues discovered via review by codex.Issues discovered via review by codex.domain: distributionCrates.io, GitHub Releases, Homebrew, and installable artifactsCrates.io, GitHub Releases, Homebrew, and installable artifactsdomain: reliabilityFail-closed, deterministic, and robust operational behaviorFail-closed, deterministic, and robust operational behaviordomain: supply-chainDependencies, workflows, provenance, and publishing trustDependencies, workflows, provenance, and publishing trusthardeningImproves safety, resilience, or operational guaranteesImproves safety, resilience, or operational guaranteesproduction-readinessPart of the audited path from prototype to production-ready usePart of the audited path from prototype to production-ready usereleasePackaging, publishing, or release engineering workPackaging, publishing, or release engineering workrelease-blockerMust close before the production-readiness release gate can passMust close before the production-readiness release gate can passrisk: cross-platformBehavior depends on operating-system or filesystem semanticsBehavior depends on operating-system or filesystem semanticstarget: v0.2.0Must be resolved or explicitly waived before the v0.2 production auditMust be resolved or explicitly waived before the v0.2 production auditworkflow:production-readinessIncluded in automatic production-readiness work selectionIncluded in automatic production-readiness work selectionworkflow:production-readiness-leafIndependently actionable work item in the production-readiness sequenceIndependently actionable work item in the production-readiness sequence
Description
Metadata
Metadata
Assignees
Labels
P1Significant semantic, completeness, correctness issues.Significant semantic, completeness, correctness issues.component: releaseVersioning, publication, release artifacts, and distributionVersioning, publication, release artifacts, and distributiondiscovered-by-codexIssues discovered via review by codex.Issues discovered via review by codex.domain: distributionCrates.io, GitHub Releases, Homebrew, and installable artifactsCrates.io, GitHub Releases, Homebrew, and installable artifactsdomain: reliabilityFail-closed, deterministic, and robust operational behaviorFail-closed, deterministic, and robust operational behaviordomain: supply-chainDependencies, workflows, provenance, and publishing trustDependencies, workflows, provenance, and publishing trusthardeningImproves safety, resilience, or operational guaranteesImproves safety, resilience, or operational guaranteesproduction-readinessPart of the audited path from prototype to production-ready usePart of the audited path from prototype to production-ready usereleasePackaging, publishing, or release engineering workPackaging, publishing, or release engineering workrelease-blockerMust close before the production-readiness release gate can passMust close before the production-readiness release gate can passrisk: cross-platformBehavior depends on operating-system or filesystem semanticsBehavior depends on operating-system or filesystem semanticstarget: v0.2.0Must be resolved or explicitly waived before the v0.2 production auditMust be resolved or explicitly waived before the v0.2 production auditworkflow:production-readinessIncluded in automatic production-readiness work selectionIncluded in automatic production-readiness work selectionworkflow:production-readiness-leafIndependently actionable work item in the production-readiness sequenceIndependently actionable work item in the production-readiness sequence
Parent epic
#32
Problem and impact
There is no reproducible release workflow, immutable version/tag check, package/installed-artifact gate, GitHub Release, binary archive, checksum, SBOM, provenance, or signature policy. Crates.io 0.1.4 exists without a corresponding Git tag or GitHub Release. Manual publication could diverge from the audited commit.
Required pipeline
Design a dry-runnable workflow that, on the exact proposed tag commit:
Cargo.toml/tag/CLI/changelog version agreement;cargo package, installs it in a clean root, and runs the smoke suite;The workflow must support a non-publishing rehearsal that exercises every gate and artifact step without creating external release state.
Security requirements
id-token: writeonly to the publish job/environment.Required tests/evidence
Acceptance criteria
Relationships
Non-goals
This ticket builds and rehearses the mechanism; it must not publish v0.2 before the independent audit passes.