Skip to content

fix(devtools): show manifest-only remotes in dependency graph#4848

Merged
2heal1 merged 1 commit into
mainfrom
codex/fix-chrome-devtools-deps-graph
Jun 26, 2026
Merged

fix(devtools): show manifest-only remotes in dependency graph#4848
2heal1 merged 1 commit into
mainfrom
codex/fix-chrome-devtools-deps-graph

Conversation

@2heal1

@2heal1 2heal1 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Description

fix(devtools): show manifest-only remotes in dependency graph

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e322009

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 47 packages
Name Type
@module-federation/devtools Patch
@module-federation/runtime Patch
@module-federation/enhanced Patch
@module-federation/rspack Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/sdk Patch
@module-federation/runtime-tools Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/dts-plugin Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
@module-federation/bridge-shared Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/modern-js Patch
@module-federation/modern-js-v3 Patch
@module-federation/retry-plugin Patch
@module-federation/rsbuild-plugin Patch
@module-federation/error-codes Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/runtime-core Patch
create-module-federation Patch
@module-federation/cli Patch
@module-federation/rspress-plugin Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch
@module-federation/metro Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rock Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/esbuild Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/observability-plugin Patch
@module-federation/playground Patch
website-new Patch
@module-federation/storybook-addon Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/utilities Patch
remote5 Patch
remote6 Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
node-dynamic-remote-new-version Patch
node-dynamic-remote Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit e322009
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6a3e49d67909030008dec70b
😎 Deploy Preview https://deploy-preview-4848--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new

pkg-pr-new Bot commented Jun 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@e322009

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@e322009

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@e322009

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@e322009

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@e322009

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@e322009

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@e322009

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@e322009

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@e322009

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@e322009

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@e322009

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@e322009

@module-federation/metro-plugin-rock

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rock@e322009

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@e322009

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@e322009

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@e322009

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@e322009

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@e322009

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@e322009

@module-federation/observability-plugin

pnpm add https://pkg.pr.new/@module-federation/observability-plugin@e322009

@module-federation/playground

pnpm add https://pkg.pr.new/@module-federation/playground@e322009

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@e322009

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@e322009

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@e322009

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@e322009

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@e322009

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@e322009

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@e322009

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@e322009

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@e322009

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@e322009

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@e322009

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@e322009

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@e322009

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@e322009

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@e322009

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@e322009

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@e322009

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@e322009

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@e322009

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@e322009

commit: e322009

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Report

10 package(s) changed, 32 unchanged.

Package dist + ESM entry

Package Total dist (raw) Delta ESM gzip Delta
@module-federation/cli 26.3 kB no change 786 B no change
@module-federation/core 39.1 kB no change 173 B no change
@module-federation/devtools 665.5 kB +1.5 kB (+0.2%) 4.0 kB no change
@module-federation/enhanced 810.0 kB no change 672 B no change
@module-federation/managers 69.8 kB no change 334 B no change
@module-federation/manifest 136.1 kB no change 182 B no change
@module-federation/metro-plugin-rnc-cli 0 B no change 314 B no change
@module-federation/node 193.4 kB no change 217 B no change
@module-federation/storybook-addon 79.2 kB no change 100 B no change
@module-federation/utilities 110.6 kB no change 328 B no change

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@module-federation/cli 2.3 kB -29 B (-1.2%) 2.3 kB -29 B (-1.2%)
@module-federation/core 1.1 kB -30 B (-2.7%) 1.0 kB -29 B (-2.7%)
@module-federation/devtools 30.3 kB +57 B (+0.2%) 30.3 kB +57 B (+0.2%)
@module-federation/enhanced 2.6 kB -43 B (-1.6%) 2.6 kB -43 B (-1.6%)
@module-federation/managers 2.4 kB -26 B (-1.0%) 2.4 kB -26 B (-1.0%)
@module-federation/manifest 6.1 kB -39 B (-0.6%) 6.1 kB -39 B (-0.6%)
@module-federation/metro-plugin-rnc-cli 411 B -24 B (-5.5%) 411 B -24 B (-5.5%)
@module-federation/node 9.2 kB -27 B (-0.3%) 9.2 kB -27 B (-0.3%)
@module-federation/storybook-addon 1.9 kB -23 B (-1.2%) 1.7 kB -23 B (-1.3%)
@module-federation/utilities 2.6 kB -31 B (-1.2%) 2.6 kB -31 B (-1.2%)

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 21.4 kB -23 B (-0.1%) 22.5 kB -12 B (-0.1%) +1.1 kB +11 B

Total dist (raw): 35.63 MB (+1.5 kB (+0.0%))
Total ESM gzip: 129.5 kB (no change)
Total web bundle (gzip): 254.4 kB (-215 B (-0.1%))
Total node bundle (gzip): 254.8 kB (-214 B (-0.1%))
Tracked ./bundler entry gzip: 556 B (no change)
Tracked ./bundler web bundle (gzip): 4.8 kB (no change)
Tracked ./bundler node bundle (gzip): 4.8 kB (no change)

Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as ./bundler are measured separately so ENV_TARGET-driven tree-shaking is visible. Bare imports are externalized to keep package-level sizes consistent, and assets are emitted as resources.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e322009d98

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


const splitModuleId = (target: string) => {
const isEntrySegment = (segment: string) =>
segment.startsWith('http') || segment.startsWith('//');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restrict entry matching to URL protocols

With the existing type:name:version module id format, a remote whose name starts with http (for example script:http-client:1.0.0) is now treated as if the name segment were a URL because this predicate matches any http* segment. parseModuleId then renders the node as script with version http-client:1.0.0 instead of http-client, and the card can also classify it as an entry URL. Please match only actual protocol segments such as http/https after splitting, or //....

Useful? React with 👍 / 👎.

@2heal1 2heal1 merged commit 8e3d5cb into main Jun 26, 2026
29 checks passed
@2heal1 2heal1 deleted the codex/fix-chrome-devtools-deps-graph branch June 26, 2026 09:52
@2heal1 2heal1 mentioned this pull request Jul 8, 2026
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