Skip to content

chores(x2a): bump all dependencies to match RHDH 1.9.3#2655

Merged
eloycoto merged 1 commit intoredhat-developer:mainfrom
mareklibra:FLPATH-3506.upgradeToRHDH19
Apr 5, 2026
Merged

chores(x2a): bump all dependencies to match RHDH 1.9.3#2655
eloycoto merged 1 commit intoredhat-developer:mainfrom
mareklibra:FLPATH-3506.upgradeToRHDH19

Conversation

@mareklibra
Copy link
Copy Markdown
Member

Fixes: FLPATH-3506

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented Mar 31, 2026

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/x2a/packages/app none v0.0.0
backend workspaces/x2a/packages/backend none v0.0.0
@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-x2a workspaces/x2a/plugins/scaffolder-backend-module-x2a minor v0.2.0
@red-hat-developer-hub/backstage-plugin-x2a-backend workspaces/x2a/plugins/x2a-backend minor v1.2.0
@red-hat-developer-hub/backstage-plugin-x2a-common workspaces/x2a/plugins/x2a-common minor v1.1.0
@red-hat-developer-hub/backstage-plugin-x2a workspaces/x2a/plugins/x2a minor v1.1.1

@rhdh-qodo-merge
Copy link
Copy Markdown

Review Summary by Qodo

Upgrade x2a plugin dependencies to RHDH 1.9.3

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Upgrade all x2a plugin dependencies to align with RHDH 1.9.3
• Update supported Backstage versions from 1.42.0 to 1.45.0
• Bump Backstage core packages to latest compatible versions
• Simplify root package.json resolutions, removing outdated pins
Diagram
flowchart LR
  A["x2a Workspace"] -- "version bump" --> B["1.45.3"]
  A -- "supported-versions update" --> C["1.45.0"]
  A -- "dependency upgrades" --> D["Backstage 1.9.3 packages"]
  D -- "includes" --> E["core-plugin-api 1.12.0"]
  D -- "includes" --> F["backend-defaults 0.13.1"]
  D -- "includes" --> G["plugin packages updates"]
Loading

Grey Divider

File Changes

1. workspaces/x2a/.changeset/chatty-aliens-pay.md ⚙️ Configuration changes +8/-0

Add changeset for dependency bump

workspaces/x2a/.changeset/chatty-aliens-pay.md


2. workspaces/x2a/backstage.json ⚙️ Configuration changes +1/-1

Update workspace version to 1.45.3

workspaces/x2a/backstage.json


3. workspaces/x2a/package.json Dependencies +1/-6

Simplify resolutions and update dependencies

workspaces/x2a/package.json


View more (6)
4. workspaces/x2a/packages/app/package.json Dependencies +22/-22

Update app dependencies and supported versions

workspaces/x2a/packages/app/package.json


5. workspaces/x2a/packages/backend/package.json Dependencies +6/-6

Upgrade backend plugin dependencies

workspaces/x2a/packages/backend/package.json


6. workspaces/x2a/plugins/scaffolder-backend-module-x2a/package.json Dependencies +2/-2

Update scaffolder module dependencies and versions

workspaces/x2a/plugins/scaffolder-backend-module-x2a/package.json


7. workspaces/x2a/plugins/x2a-backend/package.json Dependencies +4/-5

Upgrade x2a backend plugin dependencies

workspaces/x2a/plugins/x2a-backend/package.json


8. workspaces/x2a/plugins/x2a-common/package.json Dependencies +1/-1

Update common plugin core dependencies

workspaces/x2a/plugins/x2a-common/package.json


9. workspaces/x2a/plugins/x2a/package.json Dependencies +10/-10

Update frontend plugin dependencies

workspaces/x2a/plugins/x2a/package.json


Grey Divider

Qodo Logo

@rhdh-qodo-merge
Copy link
Copy Markdown

rhdh-qodo-merge Bot commented Mar 31, 2026

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Action required

1. Backstage API version mismatch 🐞 Bug ☼ Reliability
Description
The x2a workspace forces @backstage/backend-plugin-api to 1.5.0, but the resolved versions of some
backend packages (e.g. Bitbucket auth module and permission backend) declare dependencies on newer
@backstage/backend-plugin-api ranges, meaning they may execute against an API they were not built
for. This can break backend startup at runtime when those packages call APIs added after 1.5.0.
Code

workspaces/x2a/packages/backend/package.json[R29-32]

+    "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.3.9",
    "@backstage/plugin-auth-backend-module-github-provider": "^0.3.9",
    "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.3.9",
    "@backstage/plugin-auth-backend-module-guest-provider": "^0.2.14",
Evidence
workspaces/x2a/package.json pins @backstage/backend-plugin-api to 1.5.0 via resolutions.
However, workspaces/x2a/yarn.lock shows that
@backstage/plugin-auth-backend-module-bitbucket-provider@^0.3.9 resolves to 0.3.13 and declares
@backstage/backend-plugin-api: ^1.8.0, and @backstage/plugin-permission-backend@^0.7.3 resolves
to 0.7.8 and declares @backstage/backend-plugin-api: ^1.6.2, while the lock resolves
backend-plugin-api itself to 1.5.0. That is a semver-incompatible override and a concrete risk of
runtime incompatibility.

workspaces/x2a/package.json[55-59]
workspaces/x2a/yarn.lock[3257-3266]
workspaces/x2a/yarn.lock[4010-4019]
workspaces/x2a/yarn.lock[2280-2282]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`@backstage/backend-plugin-api` is forced to 1.5.0, but the resolved versions of some Backstage backend packages in `yarn.lock` require newer backend-plugin-api ranges (e.g. `^1.8.0` / `^1.6.2`). This creates a semver-incompatible override that can lead to runtime failures.

### Issue Context
- `workspaces/x2a/package.json` uses `resolutions` to pin `@backstage/backend-plugin-api`.
- `workspaces/x2a/yarn.lock` currently resolves:
 - `@backstage/plugin-auth-backend-module-bitbucket-provider@^0.3.9` -> 0.3.13, requiring `@backstage/backend-plugin-api: ^1.8.0`
 - `@backstage/plugin-permission-backend@^0.7.3` -> 0.7.8, requiring `@backstage/backend-plugin-api: ^1.6.2`
 - `@backstage/backend-plugin-api` -> 1.5.0

### Fix Focus Areas
- Decide which version set is correct for “RHDH 1.9.3” and make it consistent:
 - Either bump the pinned `@backstage/backend-plugin-api` (and any other Backstage packages) to satisfy the newer requirements,
 - OR pin the offending packages (`@backstage/plugin-auth-backend-module-bitbucket-provider`, `@backstage/plugin-permission-backend`, etc.) to versions that depend on `@backstage/backend-plugin-api` 1.5.0.
- After choosing the consistent set, regenerate `workspaces/x2a/yarn.lock` so `yarn install --immutable` passes.

Fix focus areas (edit these files/regions):
- workspaces/x2a/package.json[55-59]
- workspaces/x2a/packages/backend/package.json[23-44]
- workspaces/x2a/yarn.lock[2280-2282]
- workspaces/x2a/yarn.lock[3257-3266]
- workspaces/x2a/yarn.lock[4010-4019]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

Comment on lines 29 to 32
"@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.3.9",
"@backstage/plugin-auth-backend-module-github-provider": "^0.3.9",
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.3.9",
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.14",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Backstage api version mismatch 🐞 Bug ☼ Reliability

The x2a workspace forces @backstage/backend-plugin-api to 1.5.0, but the resolved versions of some
backend packages (e.g. Bitbucket auth module and permission backend) declare dependencies on newer
@backstage/backend-plugin-api ranges, meaning they may execute against an API they were not built
for. This can break backend startup at runtime when those packages call APIs added after 1.5.0.
Agent Prompt
### Issue description
`@backstage/backend-plugin-api` is forced to 1.5.0, but the resolved versions of some Backstage backend packages in `yarn.lock` require newer backend-plugin-api ranges (e.g. `^1.8.0` / `^1.6.2`). This creates a semver-incompatible override that can lead to runtime failures.

### Issue Context
- `workspaces/x2a/package.json` uses `resolutions` to pin `@backstage/backend-plugin-api`.
- `workspaces/x2a/yarn.lock` currently resolves:
  - `@backstage/plugin-auth-backend-module-bitbucket-provider@^0.3.9` -> 0.3.13, requiring `@backstage/backend-plugin-api: ^1.8.0`
  - `@backstage/plugin-permission-backend@^0.7.3` -> 0.7.8, requiring `@backstage/backend-plugin-api: ^1.6.2`
  - `@backstage/backend-plugin-api` -> 1.5.0

### Fix Focus Areas
- Decide which version set is correct for “RHDH 1.9.3” and make it consistent:
  - Either bump the pinned `@backstage/backend-plugin-api` (and any other Backstage packages) to satisfy the newer requirements,
  - OR pin the offending packages (`@backstage/plugin-auth-backend-module-bitbucket-provider`, `@backstage/plugin-permission-backend`, etc.) to versions that depend on `@backstage/backend-plugin-api` 1.5.0.
- After choosing the consistent set, regenerate `workspaces/x2a/yarn.lock` so `yarn install --immutable` passes.

Fix focus areas (edit these files/regions):
- workspaces/x2a/package.json[55-59]
- workspaces/x2a/packages/backend/package.json[23-44]
- workspaces/x2a/yarn.lock[2280-2282]
- workspaces/x2a/yarn.lock[3257-3266]
- workspaces/x2a/yarn.lock[4010-4019]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Signed-off-by: Marek Libra <marek.libra@gmail.com>
@mareklibra mareklibra force-pushed the FLPATH-3506.upgradeToRHDH19 branch from dfce21e to dfe93a1 Compare March 31, 2026 11:34
@sonarqubecloud
Copy link
Copy Markdown

@eloycoto eloycoto merged commit 53a0ccf into redhat-developer:main Apr 5, 2026
11 checks passed
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.

2 participants