fix(ci): use include-component-in-tag for root release-please package#333
Merged
Conversation
include-component-in-tag: false is broken in release-please multi-package
mode — the release scanner cannot match bare v{version} tags to path "."
even when the release was created by release-please itself. This caused
persistent "Missing 1 paths: ." errors and tagging deadlocks.
Switch to include-component-in-tag: true with component "cipher-box".
Root package tags become cipher-box-v{version} (e.g., cipher-box-v0.26.4).
Also updates tag-staging.yml description and release-gate.yml to handle
the new tag format with fallback to legacy v* tags.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: e2e8eb7a398d
|
Caution Review failedPull request was closed or merged during review WalkthroughThis change updates release automation to support component-based tagging. The release gate's tag discovery logic now prioritizes tags matching the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merged
This was referenced Mar 31, 2026
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
include-component-in-tag: truewith componentcipher-boxcipher-box-v{version}(e.g.,cipher-box-v0.26.4)cipher-box-v0.26.4anchor release so release-please can find path.Root Cause
include-component-in-tag: falseis broken in release-please's multi-package release scanner. It creates barev{version}tags but cannot match them back to path.during release discovery, causing persistent "Missing 1 paths: ." errors and the "untagged merged release PRs outstanding" deadlock.Changes
release-please-config.json:component: "cipher-box",include-component-in-tag: truetag-staging.yml: updated description to reflect new tag formatrelease-gate.yml: looks forcipher-box-v*tags with fallback to legacyv*Test plan
cipher-box-v0.26.5tag referencecipher-box-v0.26.5tag created automaticallytag-staging-releasewithcipher-box-v0.26.5🤖 Generated with Claude Code
Summary by CodeRabbit