Repository navigation
Backlog
Labels
area:packagingWheel, versioning, and distributionpriority:P3Latertype:taskPlanned implementation work
Milestone
Description
Context
release.yml (.github/workflows/release.yml) has two release-integrity gaps:
- In
jobs.pypi-release(.github/workflows/release.yml:55-56),softprops/action-gh-releasesetscontinue-on-error: true, silently ignoring failures to create the GitHub Release or upload.whl/.tar.gzassets. - In
jobs.docker-release(.github/workflows/release.yml:126-138),anchore/sbom-actiongeneratesoutput-file: ether-sbom.cdx.json(in addition tosbom: trueondocker/build-push-action), but no subsequent step uploadsether-sbom.cdx.jsonas a workflow artifact or attaches it to the GitHub Release, so the generated SBOM is discarded when the runner exits.
Proof
Parsed .github/workflows/release.yml with PyYAML at origin/dev@db5fc07:
python3 -c '
import yaml
data = yaml.safe_load(open(".github/workflows/release.yml"))
gh_rel = [s for s in data["jobs"]["pypi-release"]["steps"] if "softprops/action-gh-release" in s.get("uses", "")][0]
sbom = [s for s in data["jobs"]["docker-release"]["steps"] if "anchore/sbom-action" in s.get("uses", "")][0]
after = data["jobs"]["docker-release"]["steps"][data["jobs"]["docker-release"]["steps"].index(sbom)+1:]
print("continue-on-error:", gh_rel.get("continue-on-error"))
print("sbom output-file:", sbom["with"].get("output-file"))
print("steps after sbom:", [s.get("name") for s in after])
'Observed output:
continue-on-error: Truesbom output-file: ether-sbom.cdx.jsonsteps after sbom: ['Install Cosign', 'Sign container image with Cosign (OIDC)']
Impact
Affects tag and workflow_dispatch releases: failed GitHub Release asset uploads pass silently, and the generated CycloneDX SBOM is never published or retained.
Acceptance criteria
- Remove
continue-on-error: truefromsoftprops/action-gh-releasein.github/workflows/release.yml - Upload
ether-sbom.cdx.jsonas a workflow artifact and/or attach it to the GitHub Release (or attest it via Cosign)
Out of scope
Changing PyPI Trusted Publishing or Cosign OIDC signing configuration.
Part of #24
audit:self · run 2026-12-02 · ref origin/dev@db5fc07 · cell signal×supply
Metadata
Metadata
Assignees
Labels
area:packagingWheel, versioning, and distributionpriority:P3Latertype:taskPlanned implementation work
Activity