Repository navigation
[release-1.9] fix(deps): enforce @backstage/* dependencies to be compatible with 1.45.3 - #138
Merged
Merged
Conversation
Add backstage:bump script to automate future Backstage dependency upgrades with tilde pinning and deduplication. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
christoph-jerolimov
requested review from
davidfestal and
kadel
and removed request for
kadel
July 17, 2026 09:28
christoph-jerolimov
force-pushed
the
backstage-bump-1.45.3
branch
3 times, most recently
from
July 17, 2026 10:05
7abc6eb to
84ef8a2
Compare
Pin @backstage/cli to exact version 0.34.5 (no tilde) to ensure the CLI binary matches exactly. Update backstage:bump script to strip tilde from @backstage/cli after the bulk replace. Fix LinkedPackageResolvePlugin tests to use os.tmpdir() and update version provider test assertions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
christoph-jerolimov
force-pushed
the
backstage-bump-1.45.3
branch
from
July 17, 2026 10:10
84ef8a2 to
223e33a
Compare
|
kadel
reviewed
Jul 17, 2026
kadel
approved these changes
Jul 17, 2026
kadel
approved these changes
Jul 17, 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
@backstage/*dependencies to Backstage release 1.45.3backstage:bumpscript to automate future upgrades with tilde pinning and deduplication@backstage/config-loadervia resolutions to avoid version conflictsThis is a fix for https://redhat.atlassian.net/browse/RHDHBUGS-3474, addressing the problem that the rhdh-cli 1.9.1 picked up transitive dependencies from new Backstage versions. In the case of this issue a newer config-loader failed now. The root case was a failure in the theme package and new additional added validation in the config-loader.
This PR changes the dependencies of rhdh-cli from ^ to ~ so that the cli doesn't pick up newer versions of Backstage dependencies. I've reproduced the problem with the intelligent-assistant plugin:
reproduce.sh
release-1.9 (rhdh-cli 1.9.1) (6834860)
release-1.9 with updated dependencies
release-1.9 with updated dependencies (and a resolution for yarn.lock)