Repository navigation
MR-40: one-click release for all six packages - #804
Closed
michaeljgrimm wants to merge 6 commits into
Closed
michaeljgrimm wants to merge 6 commits into
michaeljgrimm wants to merge 6 commits into
Conversation
michaeljgrimm
force-pushed
the
codex/mr-30-ci
branch
from
October 22, 2026 14:24
04a2606 to
046e689
Compare
…rify, notes) and its registry module
…ner-steps tag note
…ts notes from them; delete the stale release-plan fragments Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
michaeljgrimm
force-pushed
the
codex/mr-40-release
branch
from
October 22, 2026 14:46
0eb32cc to
0943190
Compare
This was referenced Oct 22, 2026
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MR-40 of the monorepo program (plan section 5, D6, D7, D16, D17, D19). Draft; nothing was published, tagged or pushed to
main.Base note. Based on
codex/mr-30-cias of its local head1ccf458a(MR-30 reconciled with MR-23e and MR-31), which was not on the remote yet when this was opened, so until it is pushed this diff also shows those commits. Only the last four commits are MR-40; rebase onto the final head ofcodex/mr-30-ciwhen it lands.What it adds
scripts/release.mjs(+scripts/release-registry.mjs):prepare <version|patch|minor>(six versions, core peers,PEER_RANGES, six changelogs fromchanges/with "No package changes; released with the set." for untouched packages, fragments consumed,gateVersionfrom MR-35 with the live stability result refuses a patch when a minor is needed, lockfile,check:versionsre-check,--dry-run),pack(pnpm packx6 +stamp-githead, digests inrelease-manifest.json),smoke(install the six tarballs together, render the quickstart deck, run the CLI;--registryafter publish),check-publish,publish(dependency order gallery, core, render, pptx, editor, cli; explicit--tagfor every package; skips versions already on npm),verify(registry manifest,gitHead, SLSA provenance source commit andnpm-publish.ymlonrefs/tags/vX.Y.Z, subject digest, dist-tag, lockstep ranges,npm audit signatures, changelog section),notes,order..github/workflows/release.yml(dispatch:version,dry-rundefault true,skip-gate): plan (main,verifygreen for HEAD) -> gate (nightly.ymlas a workflow call) in parallel with prepare (patch artifact, fails fast) -> commit and tag with the GitHub App token -> follows the publish run. A dry run dispatchesnpm-publish.ymlwithdry-run=true..github/workflows/npm-publish.yml(replaces the core-only one, same filename): starts on av*tag (or a dispatch: dry run on any branch, real publish only on a tag = the retry path). plan, build (pack, stamp, smoke), publish (the onlyid-token: write; refuses any top-level workflow butnpm-publish.yml), verify, release, report (release-failedissue).--tag nextfor prereleases.check:release,check:ci-workflowsnow also covers both workflows (scripts/release-workflows.test.mjs),release:prepareandrelease:verifyscripts,scripts/checks.jsonrules, release section ofdocs/release-process.mdrewritten (the per-repository sections stay under a "Retired" heading), achanges/fragment.Deviation from the plan, on purpose
release.ymldoes not callnpm-publish.ymlas a reusable workflow. npm validates a trusted publisher against the calling workflow (docs), sorelease.ymlwould have to be the publisher on all six packages and the provenance would not name a tag. Insteadrelease.ymlpushes the tagvX.Y.Zwith the App token (aGITHUB_TOKENpush would start nothing) andnpm-publish.ymlstarts on it; this also gives provenancerefs/tags/vX.Y.Z. Plan README section 5, owner-steps finding 4 and O7 are updated.Checked
actionlint 1.7.12 clean on both workflows;
check:release(24 tests),check:ci-workflows(47),check:changes,check:versions,check:stability,check:publish-source,check:candidate-gallery,check:textandpnpm check:changedpass. Locally on a full build:prepare 0.26.0-rc.0against the live registry and the real stability gate (28 layouts, 3 themes, 14 color schemes, 89 font schemes drawn, 0 changed, minimum bump patch),pack(six tarballs,gitHeadstamped),smoke(npm install of the six together, 4 slides rendered, CLI reports the version),publish --dry-run --tag nextthrough realnpm publish --dry-runfor all six.Not tested (cannot be without the owner steps)
OIDC publish and provenance (MR-41), the App-token commit, tag push and bypass, the
workflow_callofnightly.ymlfromrelease.yml,gh run watchand run discovery, theverifyandreleasejobs, the issue reporter on failure,scripts/release.mjs verifyagainst real attestations. Nothing here ran on Actions.For MR-34 (not deleted here)
scripts/release-train.mjs(+ test),.github/workflows/release-train.yml,.github/workflows/cli-publish.yml,release-plan.json,scripts/ci-evidence.mjs/.json(+ test),scripts/publish-source.mjs(+ test),scripts/release-prep.mjs,scripts/release-plan-cli.mjs,scripts/unreleased-gate.mjs, the scriptscheck:ci-evidence,check:release-train,check:publish-source,check:release-prepand their rules inscripts/checks.json; the stalechanges/rr-101-release-plan-*.mdfragments (they would land in the 0.26.0 changelog);docs/release-process.mdsections under "Retired per-repository process".🤖 Generated with Claude Code