Skip to content

ci: recover attested partial releases - #26

Merged
peter-gy merged 2 commits into
mainfrom
pgy/release-recovery
Sep 4, 2026
Merged

ci: recover attested partial releases#26
peter-gy merged 2 commits into
mainfrom
pgy/release-recovery

Conversation

@peter-gy

@peter-gy peter-gy commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Adds an idempotent recovery mode to the existing trusted release workflow for the case where a registry accepts an artifact and later verification tooling needs a source fix.

A manual publish.yml dispatch names the protected release tag and the failed release run. The recovery preflight requires current main, an annotated tag whose commit remains on main, a tag-triggered Release run for that exact commit, and successful build and provenance jobs. The workflow downloads that run's immutable artifacts, verifies their package contracts, republishes matching npm artifacts idempotently, and continues npm verification, PyPI trusted publishing, public Python verification, and GitHub Release creation.

Normal tag releases keep the existing full build path. Recovery reuses the same downstream environments and least-privilege OIDC jobs, so registry authority remains scoped to npm and pypi.

Reuse verified artifacts from a tag-triggered release run after recovery tooling changes, while preserving the original tag commit and registry provenance.
Copilot AI lite review requested due to automatic review settings September 4, 2026 04:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@peter-gy
peter-gy merged commit 848ed4f into main Sep 4, 2026
19 checks passed
@peter-gy
peter-gy deleted the pgy/release-recovery branch September 4, 2026 04:51
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.

2 participants