Skip to content

chore(bulk-import): optimize bulk-import#3822

Open
debsmita1 wants to merge 1 commit into
redhat-developer:mainfrom
debsmita1:optimize-bulk-import
Open

chore(bulk-import): optimize bulk-import#3822
debsmita1 wants to merge 1 commit into
redhat-developer:mainfrom
debsmita1:optimize-bulk-import

Conversation

@debsmita1

@debsmita1 debsmita1 commented Jul 17, 2026

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Resolves:

https://redhat.atlassian.net/browse/RHIDP-15551

  • Cut NFS Module Federation sync size for bulk-import by keeping heavy UI/API graphs off the alpha entry (~468 KB → ~118 KB sync, about −75%).
  • Replaced deprecated NavItemBlueprint with PageBlueprint title + icon, and update the NFS demo sidebar to render auto-discovered navItems.
  • Extracted a thin BulkImportIcon and move getApi out of repository-utils so the alpha/API path no longer pulls sidebar, permissions, or the full icons/utils UI graph.
  • Remaining NFS vs OFS gap (~90 KB) is mostly @backstage/frontend-plugin-api blueprint wiring and its zod schema dependencies (ApiBlueprint / PageBlueprint), not plugin UI. The leftover zod cost is inherent to NFS page/API blueprints.

NFS alpha expose summary

Metric BEFORE AFTER Δ
Sync chunks 5 3 -2
Sync size 467.6 KB 117.8 KB -349.8 KB (-74.8%)
Async chunks 201 204 +3
Async size (listed) 1937.4 KB 2320.7 KB +383.3 KB

✔️ 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)

@rhdh-gh-app

rhdh-gh-app Bot commented Jul 17, 2026

Copy link
Copy Markdown

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/bulk-import/packages/app none v0.0.1
@red-hat-developer-hub/backstage-plugin-bulk-import workspaces/bulk-import/plugins/bulk-import patch v7.3.6

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

1 participant