ci: define and automate beta releases - #69
Open
joseph-shih-wandb wants to merge 6 commits into
Open
Conversation
Signed-off-by: Joseph Shih <jshih@wandb.com>
Signed-off-by: Joseph Shih <jshih@wandb.com>
joseph-shih-wandb
marked this pull request as ready for review
September 2, 2026 22:08
joseph-shih-wandb
requested review from
a team and
brandonrjacobs
as code owners
September 2, 2026 22:08
| "proto:update": "turbo run proto:update --filter=@coreweave/cwsandbox", | ||
| "check": "turbo run //#lint //#format //#knip build typecheck test test:types //#test:readme //#test:package //#test:pack" | ||
| "check": "turbo run //#lint //#format //#knip build typecheck test test:types //#test:readme //#test:package //#test:pack", | ||
| "changeset": "changeset", |
Collaborator
There was a problem hiding this comment.
why not just 1 release?
Contributor
Author
There was a problem hiding this comment.
Great question! I'm trying to avoid combining the execution across the human approval step:
Current flow:
version -> release PR -> human merge -> check -> pack/publish -> notes -> GitHub Release
I can:
- keep
release:versionseparate because it creates the approval PR (write access to versions/changelog, human approves by merging) - combine the three post-merge operations into one
release:publishcommand
Signed-off-by: Joseph Shih <jshih@wandb.com> # Conflicts: # pnpm-lock.yaml
Signed-off-by: Joseph Shih <jshih@wandb.com>
Signed-off-by: Joseph Shih <jshih@wandb.com>
Signed-off-by: Joseph Shih <jshih@wandb.com> # Conflicts: # pnpm-lock.yaml
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.
Summary
main@coreweave/cwsandboxfrom an approved release-PR mergerelease:versionas the pre-approval command and consolidate post-approval work intorelease:publishbetadist-tag,v<version>tags, and GitHub ReleasesRelease flow
chore: release packagesfromchangeset-release/mainwith the proposed beta version and changelog.releaseGitHub Environment and runspnpm check.pnpm release:publishcommand verifies through GitHub that its commit came from the merged release PR, rejects an existing npm version, packs and publishes the core tarball with--tag beta, and writes the GitHub Release notes.Safety boundaries
releaseenvironment so GitHub and npm can enforce a branch-bound OIDC identitymain, headchangeset-release/main, and titlechore: release packagesmain, including manual dispatcheslatestis never passed to npm, and existing npm versions are rejected before publishMerging this PR will not republish the current
0.5.0-beta.0: that version already exists and this PR contains no release changeset, so release selection should benone.One-time setup before the first new release
release, select Selected branches and tags, and allow only branchmain; no required reviewers are needed@coreweave/cwsandbox, repositorycoreweave/cwsandbox-js, workflow filenamerelease.yml, environmentrelease, and allowed actionnpm publishTesting
pnpm check— 21/21 tasks passed after merging currentmain, including the0.5.0-beta.0source and Vitest 5 toolchain