ci: use scoped package names for release-please tags#2700
Merged
Conversation
release-please's node strategy strips the npm scope when deriving the tag component (@grafana/create-plugin -> create-plugin), which broke tag continuity with the existing @grafana/<pkg>@<version> tags and caused release-please to scan from the start of history (bloated changelogs) because it couldn't find the prior tag. Setting an explicit component per package bypasses the scope-stripping normalization, restoring the @grafana/<pkg>@<version> tag format.
Contributor
|
Hello! 👋 This repository uses Auto for releasing packages using PR labels. ❌ This PR cannot be merged until the following issues are addressed:
🏷️ More info about which labels to use
|
joshhunt
approved these changes
Jun 8, 2026
Closed
Ukochka
pushed a commit
that referenced
this pull request
Jun 9, 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.
What this PR does / why we need it:
The first release-please run after the migration (#2689) opened release PR #2699 with two problems:
nodestrategy strips the npm scope when deriving the git tag component (@grafana/create-plugin→create-plugin), so it proposed tags likecreate-plugin@7.8.0instead of the historical@grafana/create-plugin@7.8.0format used by every existing tag.create-plugin@7.7.0) doesn't exist — the real tag is@grafana/create-plugin@7.7.0— release-please couldn't locate the prior release and scanned from the start of history, listing hundreds of already-released commits.Setting an explicit
component(the full scoped name) per package bypasses the scope-stripping normalization. Confirmed againstrelease-please/src/strategies/base.ts:136—options.componentis used verbatim; normalization only runs on the derived fallback.Result: tags return to
@grafana/<pkg>@<version>, and release-please finds the existing prior tags → scans only new commits → clean changelogs.Which issue(s) this PR fixes:
related: #2685
related: https://github.com/grafana/grafana-catalog-team/issues/943
Special notes for your reviewer:
package-nameis kept (npm identity, drives thenode-workspacedependency-graph matching);componentis the new addition (git tag identity). They default from the same source butcomponent's default normalization strips the scope — hence the explicit override.@grafana/<pkg>@<old>...@grafana/<pkg>@<new>and the changelogs are short before merging chore: release main #2699 to trigger the real staged publish.🤖 Generated with Claude Code