Skip to content

fix(topology): provide the mobx peer and drop the unused @backstage/theme dependency - #12464

Merged
christoph-jerolimov merged 1 commit into
backstage:mainfrom
sebdanielsson:fix/topology-declare-deps
Dec 1, 2026
Merged

christoph-jerolimov merged 1 commit into
backstage:mainfrom
sebdanielsson:fix/topology-declare-deps

Conversation

@sebdanielsson

@sebdanielsson sebdanielsson commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

Strict installs (pnpm, Yarn PnP) only resolve declared dependencies, and plugin-topology doesn't provide one of its peers.

  • Add mobx, a peer of mobx-react that nothing provided. Same range as @patternfly/react-topology, so they share one copy.
  • Remove @backstage/theme. Nothing uses it, and it would need @material-ui/core as a peer.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

🤖 Generated with Claude Code

https://claude.ai/code/session_01NZ5217H8AkdKkDBNzEiTik

…heme dependency

plugin-topology didn't provide the mobx peer that mobx-react requires,
and depended on the unused @backstage/theme, whose @material-ui/core
peer it didn't provide. Strict installs (pnpm, Yarn's pnpm linker, PnP)
can't resolve undeclared packages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NZ521AzxwB3vLPS9t6fABT
Signed-off-by: Sebastian Danielsson <[email protected]>
@backstage-goalie

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-topology workspaces/topology/plugins/topology patch v3.1.1

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.32%. Comparing base (f30348d) to head (f7c3055).
⚠️ Report is 30 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main   #12464       +/-   ##
===========================================
- Coverage   85.92%   64.32%   -21.61%     
===========================================
  Files         265      121      -144     
  Lines        9159     2820     -6339     
  Branches     2239      841     -1398     
===========================================
- Hits         7870     1814     -6056     
+ Misses       1279      988      -291     
- Partials       10       18        +8     
Flag Coverage Δ
3scale ?
bookmarks ?
keycloak ?
pingidentity ?
rbac ?
scaffolder ?
topology 64.32% <ø> (?)

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 cbd0db3...f7c3055. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AmbrishRamachandiran AmbrishRamachandiran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for cleaning this up! LGTM 🚀

cc @christoph-jerolimov for a final look.

@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.

Thanks @sebdanielsson, this lgtm 👍

@christoph-jerolimov
christoph-jerolimov merged commit 7963098 into backstage:main Dec 1, 2026
65 checks passed
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.

5 participants