Skip to content

chore(orchestrator): remove cleanup of dependencies. Fixes RHIDP-16038 - #4469

Open
lholmquist wants to merge 1 commit into
redhat-developer:mainfrom
lholmquist:RHIDP-16038-remove-unused-deps-orchestrator
Open

chore(orchestrator): remove cleanup of dependencies. Fixes RHIDP-16038#4469
lholmquist wants to merge 1 commit into
redhat-developer:mainfrom
lholmquist:RHIDP-16038-remove-unused-deps-orchestrator

Conversation

@lholmquist

Copy link
Copy Markdown
Member

Summary

Cleans up orchestrator plugin dependency graphs after a fresh knip pass (the checked-in reports were stale). Unused packages are dropped, imports that were already in source are declared, and knip reports are regenerated.

Fixes RHIDP-16038.

  • Remove unused production deps such as leftover scaffolder/catalog packages, express-promise-router, yn, vscode-languageserver-types, and unused MUI/RJSF packages
  • Remove unused/redundant devDependencies (plugin-template leftovers, @types/uuid, @testing-library/dom)
  • Declare previously unlisted imports: @backstage/catalog-model, @backstage/config, @backstage/types, json-schema, @types/express-serve-static-core, @spotify/prettier-config
  • Leave form-react on orchestrator-form-widgets (used by the CustomReviewPage example) and OpenAPI script binaries in orchestrator-common

Test plan

  • yarn tsc in workspaces/orchestrator
  • yarn build:knip-reports for the affected plugins
  • Spot-check yarn test on a couple of touched packages (orchestrator-backend, orchestrator-form-widgets) if CI does not already cover them

Checklist

  • A changeset describing the change and affected packages
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app

rhdh-gh-app Bot commented Aug 25, 2026

Copy link
Copy Markdown

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-orchestrator-backend workspaces/orchestrator/plugins/orchestrator-backend patch v8.12.1
@red-hat-developer-hub/backstage-plugin-orchestrator-common workspaces/orchestrator/plugins/orchestrator-common patch v3.9.0
@red-hat-developer-hub/backstage-plugin-orchestrator-form-api workspaces/orchestrator/plugins/orchestrator-form-api patch v2.10.0
@red-hat-developer-hub/backstage-plugin-orchestrator-form-react workspaces/orchestrator/plugins/orchestrator-form-react patch v2.11.0
@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets workspaces/orchestrator/plugins/orchestrator-form-widgets patch v2.0.0
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator patch v6.0.0
@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator workspaces/orchestrator/plugins/scaffolder-backend-module-orchestrator patch v1.7.2

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.59%. Comparing base (a1deb3a) to head (7ffd5d6).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4469   +/-   ##
=======================================
  Coverage   61.59%   61.59%           
=======================================
  Files        2556     2556           
  Lines      102054   102054           
  Branches    28576    28576           
=======================================
  Hits        62856    62856           
  Misses      38599    38599           
  Partials      599      599           
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from a1deb3a
ai-integrations 67.70% <ø> (ø) Carriedforward from a1deb3a
app-defaults 48.37% <ø> (ø) Carriedforward from a1deb3a
augment 46.67% <ø> (ø) Carriedforward from a1deb3a
boost 79.84% <ø> (ø) Carriedforward from a1deb3a
bulk-import 72.79% <ø> (ø) Carriedforward from a1deb3a
cost-management 13.55% <ø> (ø) Carriedforward from a1deb3a
dcm 72.09% <ø> (ø) Carriedforward from a1deb3a
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from a1deb3a
e2e-extensions 62.13% <ø> (ø) Carriedforward from a1deb3a
e2e-global-header 49.45% <ø> (ø) Carriedforward from a1deb3a
e2e-homepage 61.11% <ø> (ø) Carriedforward from a1deb3a
e2e-intelligent-assistant 46.68% <ø> (ø) Carriedforward from a1deb3a
e2e-orchestrator 49.52% <ø> (ø) Carriedforward from a1deb3a
e2e-quickstart 55.21% <ø> (ø) Carriedforward from a1deb3a
e2e-scorecard 50.21% <ø> (ø) Carriedforward from a1deb3a
e2e-theme 16.36% <ø> (ø) Carriedforward from a1deb3a
extensions 56.59% <ø> (ø) Carriedforward from a1deb3a
global-floating-action-button 71.18% <ø> (ø) Carriedforward from a1deb3a
global-header 66.50% <ø> (ø) Carriedforward from a1deb3a
homepage 48.39% <ø> (ø) Carriedforward from a1deb3a
install-dynamic-plugins 58.57% <ø> (ø) Carriedforward from a1deb3a
intelligent-assistant 75.35% <ø> (ø) Carriedforward from a1deb3a
konflux 91.98% <ø> (ø) Carriedforward from a1deb3a
lightspeed 69.02% <ø> (ø) Carriedforward from a1deb3a
mcp-integrations 84.14% <ø> (ø) Carriedforward from a1deb3a
orchestrator 70.87% <ø> (ø)
quickstart 63.74% <ø> (ø) Carriedforward from a1deb3a
sandbox 79.56% <ø> (ø) Carriedforward from a1deb3a
scorecard 87.40% <ø> (ø) Carriedforward from a1deb3a
theme 88.91% <ø> (ø) Carriedforward from a1deb3a
translations 5.12% <ø> (ø) Carriedforward from a1deb3a
x2a 79.20% <ø> (ø) Carriedforward from a1deb3a

*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 a1deb3a...7ffd5d6. 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.

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.

1 participant