Skip to content

feat(release): simplify npm publishing#40

Merged
heimanba merged 2 commits into
mainfrom
codex/timeout-registry-probe
Jul 20, 2026
Merged

feat(release): simplify npm publishing#40
heimanba merged 2 commits into
mainfrom
codex/timeout-registry-probe

Conversation

@heimanba

Copy link
Copy Markdown
Contributor

Summary

  • replace beta release branches with immutable CI snapshot versions derived from the Actions run and commit
  • automatically start stable publishing when the Changesets release PR is merged
  • retain Environment approval, npm OIDC provenance, idempotent package publishing, and post-release consumer verification
  • accept npm registry responses containing a single-version array during propagation checks
  • update the English and Chinese release guides

Why

The previous beta flow required preparing and managing a dedicated release branch before manually dispatching the publish workflow. Stable releases also required a second manual workflow dispatch after merging the release PR. This reduces both paths to one intentional approval while preserving the existing safety gates.

Impact

Beta releases are now dispatched once from main and receive versions such as 0.0.0-beta.run-123456789.sha-a1b2c3d. Stable publishing starts automatically after merging chore: release packages and pauses at the npm-release Environment for maintainer approval. Manual stable dispatch remains available for recovery.

Validation

  • bun run typecheck:scripts
  • bun test scripts/*.test.ts scripts/release/*.test.ts (57 passing)
  • workflow YAML parsing
  • pre-commit changed-file lint
  • pre-push verification profile

heimanba added 2 commits July 20, 2026 19:35
Change-Id: Ie20ec6314bd82891009cf5b1ec7b2670fa45005d
Change-Id: If1bffe80c7c7d8e9bca1035cc7a32e9e975b5acf
@heimanba
heimanba marked this pull request as ready for review July 20, 2026 11:51
@heimanba
heimanba merged commit 65ccfac into main Jul 20, 2026
14 checks passed
@heimanba
heimanba deleted the codex/timeout-registry-probe branch July 20, 2026 11: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.

1 participant