chore(konflux): bump Backstage from 1.45.2 to 1.49.4#2848
Conversation
- bump all @backstage/* dependencies via backstage-cli versions:bump --release 1.49.4 - bump TypeScript from 5.3 to 5.7 (required for DOM.AsyncIterable) - bump react-router and react-router-dom to 6.30.2 - bump node.js engine from 18/20/22 to 22/24 - add @backstage/cli-defaults to suppress CLI warning - simplify EntityPage.tsx to Konflux-only components - fix TS2742 in useKonfluxResource.ts (explicit ApiRef type error)
Code Review by Qodo
1. Blank Overview without annotation
|
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
|
Review Summary by QodoBump Backstage to 1.49.4 with TypeScript 5.7 and simplified entity page
WalkthroughsDescription• Bump Backstage from 1.45.2 to 1.49.4 across all packages • Update TypeScript from 5.3 to 5.7 and Node.js engine to 22/24 • Upgrade react-router dependencies to 6.30.2 • Simplify EntityPage.tsx to Konflux-only components, removing boilerplate • Fix TypeScript TS2742 error with explicit ApiRef type annotation • Add @backstage/cli-defaults dev dependency Diagramflowchart LR
A["Backstage 1.45.2"] -- "version bump" --> B["Backstage 1.49.4"]
C["TypeScript 5.3"] -- "upgrade" --> D["TypeScript 5.7"]
E["Node.js 18/20/22"] -- "update engines" --> F["Node.js 22/24"]
G["react-router 6.3.0"] -- "upgrade" --> H["react-router 6.30.2"]
I["EntityPage.tsx"] -- "simplify" --> J["Konflux-only components"]
K["useKonfluxResource.ts"] -- "fix TS2742" --> L["Explicit ApiRef type"]
File Changes1. workspaces/konflux/backstage.json
|
milantaky
left a comment
There was a problem hiding this comment.
LGTM, tests are passing, project compiles with no errors, and UI working as expected:)



Hey, I just made a Pull Request!
Description
In this PR we're bumping the Backstage version for the konflux workspace to 1.49.4 version. Here are the main changes:
@backstage/*dependencies viabackstage-cli versions:bump --release 1.49.4TypeScriptfrom 5.3 to 5.7 andnode.jsengine to 22/24react-routerandreact-router-domto 6.30.2EntityPage.tsxto Konflux-only components (removes unused boilerplate)useKonfluxResource.tswith explicit type annotation (explicit ApiRef type error)@backstage/cli-defaultsdev dependencyFixes https://redhat.atlassian.net/browse/KFLUXUI-1221
How to test it?
Prerequisites:
node -vto verify)Build validation:
yarn tsc— should compile without errorsyarn test— all tests should passLocal dev validation:
yarn devto start the local Backstage instanceOverviewtab shows theLatest Releasestable andStatuscardCI/CDtab loads and displays pipeline runsKonfluxtab loads and displays resourcesVisual references
konflux-plugin-bump-backstage-version.mov
✔️ Checklist