Skip to content

Publish verified candidates with a resumable release coordinator - #225

Merged
jimhoyd merged 3 commits into
mainfrom
codex/smooth-release-flow
Sep 20, 2026
Merged

jimhoyd merged 3 commits into
mainfrom
codex/smooth-release-flow

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Problem and change

Releases previously rebuilt archives after candidate verification, required manual version/starter coordination, and could rebuild on retry when retained bytes disappeared (#223). Publish the exact signed candidate bytes instead, bind the candidate run and source SHA into immutable annotated tags, and refuse retries without verified originals. Recover complete originals from durable GitHub release assets when available.

Add a dry-run-first coordinator that prepares an explicit coordinated alpha version, resumes the release PR/required checks/merge, verifies the exact merged commit even after main advances, publishes packages sequentially, waits for npm consumer metadata and tarball integrity, checks a fresh combined install, and opens/checks/merges the starter update. Version preparation synchronizes manifests, locks, peer floors, CLI/MCP/plugin metadata and release notes with explicit Changeset consumption. Independent package versioning remains supported.

Closes #223. Advances #185.

Verification

  • 67 focused release tests passed, including real CLI subprocess tests with isolated GitHub/network boundaries for fail-closed ordering and durable recovery.
  • npm run test:package passed.
  • Version preparation rehearsed in an isolated checkout; generated metadata checks passed. No actual version bumped.
  • Existing published alpha.3 packages passed real npm abbreviated-metadata/tarball integrity checks, fresh-cache installation, peer tree, public imports and combined scaffold.
  • Full npm run verify passed on the final commit (one existing TLS skip). Hosted checks must pass before merge.

Compatibility and security

No package publication, tag movement, registry changes, bypass permissions or workflow identity changes. The existing full matrix, CodeQL and auth/admin isolated published-peer tests remain. New candidate/retained artifacts keep 90 days and complete bundles are stored on package GitHub releases. New tags pin a signed candidate run; old immutable alpha.3 runs retain their original source and cannot be repaired by rerunning old workflows. The next authorized new release must exercise actual publication and hosted recovery end to end; these changes alone are not that proof.

  • Changes match the documented portable contract; docs/examples are updated where needed.
  • Relevant tests and package checks pass, or limitations are explained above.
  • No credentials, customer data or private project material are included.
  • Runtime/starter changes remain aligned where applicable.

@jimhoyd
jimhoyd marked this pull request as ready for review September 20, 2026 04:05
@jimhoyd
jimhoyd merged commit d2e4681 into main Sep 20, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the codex/smooth-release-flow branch September 20, 2026 04:24
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.

[Bug]: Release retry rebuilds when retained original artifacts are unavailable

1 participant