chore(release): pin cli + compound-engineering to 3.0.2 via per-package release-as#667
Merged
chore(release): pin cli + compound-engineering to 3.0.2 via per-package release-as#667
Conversation
This reverts commit 7a6c84d.
Per-package `release-as` is the supported release-please mechanism for pinning a subset of monorepo packages to a specific version. Unlike the commit-footer form (`Release-As:`), this short-circuits only the two configured packages in `strategies/base.ts#buildNewVersion` and does not affect the other three packages' buckets. Paired with: - The BEGIN_COMMIT_OVERRIDE block in #665's body (neutralizes the fanned-out `Release-As` footer from the empty pin commit for coding-tutor, marketplace, and cursor-marketplace). - The revert of 7a6c84d in the preceding commit (git-history-level intent signal; does not by itself remove the footer from release-please's view — the PR body override does that). These `release-as` entries must be removed in a follow-up PR after the 3.0.2 release ships, or every subsequent release will stay pinned at 3.0.2.
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
Fixes the incorrect version scoping in PR #661 by (1) reverting the empty pin commit 7a6c84d and (2) pinning only
cli+compound-engineeringto 3.0.2 via per-packagerelease-asconfig — the actual supported mechanism in release-please.Background
PR #665 tried to re-pin the pending release from 3.1.0 back to 3.0.2 using an empty commit with
Release-As: cli@3.0.2/Release-As: compound-engineering@3.0.2footers. This had two unsupported assumptions:<component>@<version>is not real syntax. release-please's parser (src/commit.ts) ignores thecomponent@prefix and reads the whole value as a version. Both footers effectively becameRelease-As: 3.0.2.src/util/commit-split.tswithincludeEmpty: truepushes file-less commits into every package. Combined with (1), this caused release PR chore: release main #661 to propose bumping all five packages to 3.0.2:What this PR does
Revert
7a6c84d3(empty commit). Because the reverted commit is empty, the revert is also empty — this exists as an intent signal in git history. Note: a revert commit does NOT remove the ancestor commit'sRelease-Asfooters from release-please's view. That is handled separately (see below).Add
"release-as": "3.0.2"to the.andplugins/compound-engineeringblocks inrelease-please-config.json. This is the supported mechanism —strategies/base.ts#buildNewVersionshort-circuits the bump calculation only for packages that have config-levelrelease-as, leaving the other three packages' buckets untouched.(Already applied) Edited PR chore: pin next release to 3.0.2 #665's description to include a
BEGIN_COMMIT_OVERRIDE/END_COMMIT_OVERRIDEblock. This tells release-please to treat commit7a6c84d3aschore: no-opon every future run, which neutralizes the fanned-outRELEASE ASnote that would otherwise still bump the other three packages.Expected effect after merge
On the release-please workflow run triggered by this merge:
cliandcompound-engineering.Follow-up (required)
After PR #661 merges and the 3.0.2 release ships, open a cleanup PR that removes the two
"release-as": "3.0.2"entries fromrelease-please-config.json. Otherwise every subsequent release will stay pinned at 3.0.2.Test plan
package.json(cli).github/.release-please-manifest.json(only.andplugins/compound-engineeringlines change)CHANGELOG.md,plugins/compound-engineering/CHANGELOG.mdplugins/compound-engineering/.claude-plugin/plugin.jsonplugins/compound-engineering/.codex-plugin/plugin.jsonplugins/compound-engineering/.cursor-plugin/plugin.jsonplugins/coding-tutor/**.claude-plugin/marketplace.json,.claude-plugin/CHANGELOG.md.cursor-plugin/marketplace.json,.cursor-plugin/CHANGELOG.mdrelease-asentries.🤖 Generated with Claude Code