Skip to content

orchestrator - version:bump to v1.52.0#3892

Open
lokanandaprabhu wants to merge 4 commits into
mainfrom
orchestrator/v1.52.0
Open

orchestrator - version:bump to v1.52.0#3892
lokanandaprabhu wants to merge 4 commits into
mainfrom
orchestrator/v1.52.0

Conversation

@lokanandaprabhu

@lokanandaprabhu lokanandaprabhu commented Jul 21, 2026

Copy link
Copy Markdown
Member

Backstage release v1.52.0 has been published, this Pull Request contains the changes to upgrade orchestrator to this new release.

Please review the changelog before approving, there may be manual changes needed:

Additional fixes for Backstage 1.52.0 regressions

1. config:check failure — @backstage/plugin-kubernetes-react config.d.ts

The validate config CI step fails with:

Error: Invalid TypeScript configuration schema:
node_modules/@backstage/plugin-kubernetes-react/config.d.ts(1,33):
  error TS2307: Cannot find module './src/components/PodExecTerminal/PodExecTerminal'

Root cause: config.d.ts has a stale, unused import { PodExecTerminal } from './src/...' — the ./src directory isn't shipped in the published package. Same class of bug as the theme plugin (#3792, #3814).

Upstream fix: backstage/backstage#34721 (merged, shipped in 0.5.x). However, the transitive dependency @janus-idp/shared-react pins ^0.4.4, so our lockfile resolves to 0.4.4 which is still broken.

Workaround: Added a sed patch in scripts/postinstall to strip the stale import after yarn install. Safe to remove once @janus-idp/shared-react updates its range to pick up >=0.5.0.

2. Oversized Run ID copy button

The copy button next to the Run ID field renders oversized after the bump.

Root cause: Backstage 1.52.0's CopyTextButton (from @backstage/core-components) switched from a MUI IconButton to ButtonIcon from @backstage/ui, which uses scoped CSS (width: 2rem; height: 2rem via data-size attributes) that cannot be overridden from consumer code. The previous CSS overrides targeting & > button no longer apply.

Fix: Replaced CopyTextButton with a MUI IconButton + ContentCopyIcon + Tooltip — the same pattern used across other workspaces (augment, boost, dcm). Added workflow.fields.workflowIdCopy translation key across all 6 languages.

@rhdh-gh-app

rhdh-gh-app Bot commented Jul 21, 2026

Copy link
Copy Markdown

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-legacy workspaces/orchestrator/packages/app-legacy none v0.0.3
app workspaces/orchestrator/packages/app none v0.0.4
backend workspaces/orchestrator/packages/backend none v0.0.0
custom-authentication-provider-module-backend workspaces/orchestrator/plugins/custom-authentication-provider-module-backend none v0.0.1
custom-authentication-provider-module workspaces/orchestrator/plugins/custom-authentication-provider-module none v0.0.1
@red-hat-developer-hub/backstage-plugin-orchestrator-backend-module-loki workspaces/orchestrator/plugins/orchestrator-backend-module-loki minor v1.3.3
@red-hat-developer-hub/backstage-plugin-orchestrator-backend workspaces/orchestrator/plugins/orchestrator-backend minor v8.10.3
@red-hat-developer-hub/backstage-plugin-orchestrator-common workspaces/orchestrator/plugins/orchestrator-common minor v3.7.3
@red-hat-developer-hub/backstage-plugin-orchestrator-form-api workspaces/orchestrator/plugins/orchestrator-form-api minor v2.8.3
@red-hat-developer-hub/backstage-plugin-orchestrator-form-react workspaces/orchestrator/plugins/orchestrator-form-react minor v2.9.3
@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets workspaces/orchestrator/plugins/orchestrator-form-widgets minor v1.11.3
@red-hat-developer-hub/backstage-plugin-orchestrator-node workspaces/orchestrator/plugins/orchestrator-node minor v1.3.3
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator minor v5.9.4
@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator workspaces/orchestrator/plugins/scaffolder-backend-module-orchestrator minor v1.6.4

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.59%. Comparing base (f8f09d1) to head (f573a2a).
⚠️ Report is 27 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3892      +/-   ##
==========================================
- Coverage   56.59%   56.59%   -0.01%     
==========================================
  Files        2372     2372              
  Lines       95021    95029       +8     
  Branches    26591    26594       +3     
==========================================
  Hits        53777    53777              
- Misses      39700    39708       +8     
  Partials     1544     1544              
Flag Coverage Δ *Carryforward flag
adoption-insights 84.54% <ø> (ø) Carriedforward from f1e2832
ai-integrations 69.26% <ø> (ø) Carriedforward from f1e2832
app-defaults 69.79% <ø> (ø) Carriedforward from f1e2832
augment 46.67% <ø> (ø) Carriedforward from f1e2832
boost 75.27% <ø> (ø) Carriedforward from f1e2832
bulk-import 72.59% <ø> (ø) Carriedforward from f1e2832
cost-management 13.55% <ø> (ø) Carriedforward from f1e2832
dcm 60.72% <ø> (ø) Carriedforward from f1e2832
extensions 56.18% <ø> (ø) Carriedforward from f1e2832
global-floating-action-button 71.18% <ø> (ø) Carriedforward from f1e2832
global-header 62.19% <ø> (ø) Carriedforward from f1e2832
homepage 47.58% <ø> (ø) Carriedforward from f1e2832
install-dynamic-plugins 56.77% <ø> (ø) Carriedforward from f1e2832
intelligent-assistant 69.50% <ø> (ø) Carriedforward from f1e2832
konflux 91.98% <ø> (ø) Carriedforward from f1e2832
lightspeed 69.02% <ø> (ø) Carriedforward from f1e2832
mcp-integrations 83.40% <ø> (ø) Carriedforward from f1e2832
orchestrator 56.94% <0.00%> (-0.07%) ⬇️
quickstart 65.11% <ø> (ø) Carriedforward from f1e2832
sandbox 79.56% <ø> (ø) Carriedforward from f1e2832
scorecard 82.66% <ø> (ø) Carriedforward from f1e2832
theme 83.85% <ø> (ø) Carriedforward from f1e2832
translations 5.15% <ø> (ø) Carriedforward from f1e2832
x2a 79.31% <ø> (ø) Carriedforward from f1e2832

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8f09d1...f573a2a. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lokanandaprabhu

Copy link
Copy Markdown
Member Author
Screenshot 2026-07-21 at 10 53 28 AM

Application is working fine.

@christoph-jerolimov christoph-jerolimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't request a change on GH here, but maybe you can try the right @backstage/config-loader from Backstage 1.52 instead of the post-install workaround. When someone else wants merge it this way, its fine as interim solution.

Comment thread workspaces/orchestrator/plugins/orchestrator-backend/package.json
Comment thread workspaces/orchestrator/scripts/postinstall Outdated
lokanandaprabhu and others added 4 commits July 22, 2026 17:24
Also fixes oversized CopyTextButton by replacing it with MUI IconButton,
as @backstage/core-components switched to scoped CSS that can't be overridden.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The published @backstage/plugin-kubernetes-react config.d.ts has a stale
import from ./src that breaks config:check. Fixed upstream in
backstage/backstage#34721; this patch can be removed once the transitive
dep @janus-idp/shared-react updates its version range.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the postinstall sed patch for kubernetes-react config.d.ts
with a resolution pinning @backstage/config-loader to 1.10.11.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants