Skip to content

chore(ci): pin config-resolver release-as 0.1.1 to suppress spurious bump - #579

Merged
JoshMock merged 1 commit into
mainfrom
fix/config-resolver-spurious-release-bump
Aug 31, 2026
Merged

chore(ci): pin config-resolver release-as 0.1.1 to suppress spurious bump#579
JoshMock merged 1 commit into
mainfrom
fix/config-resolver-spurious-release-bump

Conversation

@JoshMock

Copy link
Copy Markdown
Member

Problem

Empty commit f892744 (currently HEAD on main) carries two fix: lines in its message but changes zero files. Because release-please cannot path-attribute a file-less commit to any specific package, it falls through to every component in the manifest — including config-resolver. This caused PR #573 to include a spurious 0.1.1 → 0.1.2 patch bump for config-resolver despite nothing in packages/config-resolver/ actually changing.

Fix

Add "release-as": "0.1.1" to the packages/config-resolver entry in .github/release-please-config.json. This overrides the computed next version for that component only, keeping it at 0.1.1 while allowing the root @elastic/cli package to bump normally.

Merging this PR will trigger the release workflow, which will regenerate PR #573 without the spurious config-resolver bump.

Follow-up

Per the release-please docs, release-as is a persistent override and should be removed after the release PR merges, or left in place to act as a permanent parking brake for config-resolver auto-bumps. See the commit message for the tradeoffs.

…bump

An empty commit (f892744) with a fix: prefix was pushed to main as part of
PR #565. Because it has no file changes, release-please cannot attribute it
to a specific package and includes it in the config-resolver changelog,
triggering a spurious 0.1.1 -> 0.1.2 patch bump in release PR #573.

Setting release-as to the current version overrides the computed bump and
keeps config-resolver at 0.1.1. Per release-please docs, this directive
should be removed once the release PR merges, or kept to permanently prevent
auto-bumps until a real change lands in packages/config-resolver.
@JoshMock
JoshMock merged commit 2ca47c0 into main Aug 31, 2026
30 of 31 checks passed
@JoshMock
JoshMock deleted the fix/config-resolver-spurious-release-bump branch August 31, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant