Conversation
|
Thanks for your interest in Cloudflare Computer. This repository does not accept unsolicited pull requests. Please use one of the accepted contribution paths instead:
If a maintainer asked you to open this pull request, they can add the |
commit: |
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.
This change replaces the tag-based release process with a changesets-driven release flow. Contributors now add changesets for released behavior changes, and the release workflow turns those notes into a Version Packages pull request before publishing. Private source packages such as
@cloudflare/dofs,@cloudflare/computer-rpc, and@cloudflare/computerdare versioned and get changelogs, but are not published to npm.The
computerdlinux-x64 package is treated as a private Docker image context rather than an npm package. Its version is derived from@cloudflare/computerd, and the changesets version step updates pinnedghcr.io/cloudflare/computer-computerd-linux-x64:<version>references in docs and examples as part of the Version Packages pull request. The stale manual npm publish path for the linux-x64 binary has been removed.Publishing now converges the container image before npm publish. The publish script checks the desired image tags, builds and pushes missing tags to both
ghcr.ioandregistry.cloudflare.com, then runschangeset publish. This makes reruns safe after partial failure: existing image tags are skipped, and existing npm versions are skipped by changesets.You can verify the tooling locally with:
I also tested the versioning path with a temporary private
@cloudflare/computerdchangeset and confirmed that it generated a private changelog, synced the derivative image package version, and updated image pins. The temporary changeset and generated release files were removed afterward.The follow-up before the first real release is repository configuration: npm trusted publishing must point at
.github/workflows/release.yml, and the container registry secrets must be present for the image publish step.