ci(#462): add durable next publish pipeline #687
Reference in New Issue
Block a user
Delete Branch "feat/next-durable-publish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Registry verification
Verification
No self-merge; release-config/SOURCE review requested.
e349ec6956tob1a887a262REVIEW-OF-RECORD — APPROVE (#687, head
b1a887a262). I reviewed the @next durable publish pipeline and found no blockers.Publish guardrails:
publish-next-npmis gated to push/manual on branchnextand has a second in-step fatal guard requiringCI_COMMIT_BRANCH=next. The existing stablepublish-npmremains on release tags and main push/manual package changes; it does not run onnext. The next publish command usespnpm publish ... --tag nextand contains no latest-dist-tag operation, so next cannot update npmlatestthrough this path. Main cannot publish@nextbecause thepublish-next-npmstep is branch-gated away from main.Versioning: prerelease versions are computed at publish time in the CI workspace from committed stable package versions as
<patch+1>-next.<CI_PIPELINE_NUMBER>; no-next.*versions are committed in package.json. I simulated the version script withCI_PIPELINE_NUMBER=9999; it computed 23 publishable packages, including@mosaicstack/mosaic 0.0.48 -> 0.0.49-next.9999, then restored the worktree. Theb1a887a2brace fix is clean: the Node heredoc uses string concatenation rather than JS template literals that would collide with Woodpecker${...}interpolation.Secrets / tags / images:
NPM_TOKENreuses the existing Woodpeckergitea_tokensecret; no hardcoded credentials or new secret are introduced. Gateway image publishing onnextis sha-only (gateway:sha-<short>);gateway:latestis added only under themainbranch condition, and appservice/web image steps remain main/tag-only.Reviewer verification on head
b1a887a2: YAML parse pass; publish guard assertions pass; version-compute simulation pass;pnpm typecheckpass (41/41);pnpm lintpass (23/23);pnpm format:checkpass;pnpm buildpass (23/23). PR CI reported green on pipeline 1631. APPROVE.