feat(runtime): add optional unloadRemote API for deterministic teardown#4379
feat(runtime): add optional unloadRemote API for deterministic teardown#4379ScriptedAlchemy wants to merge 38 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 5a24735 The changes in this PR will be included in the next version bump. This PR includes changesets to release 43 packages
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 |
❌ Deploy Preview for module-federation-docs failed. Why did it fail? →
|
Bundle Size Report7 package(s) changed, 34 unchanged.
Total dist: 6.89 MB (+10.8 kB (+0.2%)) |
…-federation/core into feat/issue-4160-unload-remote-api
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 916fa2abe5
ℹ️ 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".
@module-federation/devtools
@module-federation/cli
create-module-federation
@module-federation/data-prefetch
@module-federation/dts-plugin
@module-federation/enhanced
@module-federation/error-codes
@module-federation/esbuild
@module-federation/managers
@module-federation/manifest
@module-federation/metro
@module-federation/metro-plugin-rnc-cli
@module-federation/metro-plugin-rnef
@module-federation/modern-js
@module-federation/modern-js-v3
@module-federation/native-federation-tests
@module-federation/native-federation-typescript
@module-federation/nextjs-mf
@module-federation/node
@module-federation/retry-plugin
@module-federation/rsbuild-plugin
@module-federation/rspack
@module-federation/rspress-plugin
@module-federation/runtime
@module-federation/runtime-core
@module-federation/runtime-tools
@module-federation/sdk
@module-federation/storybook-addon
@module-federation/third-party-dts-extractor
@module-federation/treeshake-frontend
@module-federation/treeshake-server
@module-federation/typescript
@module-federation/utilities
@module-federation/webpack-bundler-runtime
@module-federation/bridge-react
@module-federation/bridge-react-webpack-plugin
@module-federation/bridge-shared
@module-federation/bridge-vue3
@module-federation/inject-external-runtime-core-plugin
commit: |
Android Release APK for all devicesNote: if the download link expires, please re-run the workflow to generate a new build. Generated at 2026-02-15T22:37:18.655Z UTC |
iOS Release APP for simulatorsNote: if the download link expires, please re-run the workflow to generate a new build. Generated at 2026-02-15T22:33:28.256Z UTC |
|
LGTM, but needs to add usage docs to website :D |
Pass loaded-state through afterRemoveRemote and skip webpack cache invalidation when the current host never loaded the remote. Add unloadRemote usage docs. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve the dts-plugin TYPE-001 failure by correcting package entry paths for workspace dependencies and updating RawSource usage for webpack typings. Co-authored-by: Cursor <cursoragent@cursor.com>
Restore sdk and error-codes export paths to the filenames emitted by the current build so CI package resolution no longer fails on these branches. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
enhanced,rsbuild-plugin,runtime-tools) to use the new unload entrypoint shapeChanged Packages
@module-federation/runtime@module-federation/runtime-core@module-federation/webpack-bundler-runtime@module-federation/enhanced@module-federation/rsbuild-plugin@module-federation/runtime-toolsChangesets
.changeset/soft-carpets-develop.md(minor for runtime/runtime-core/webpack-bundler-runtime).changeset/lucky-fishes-smell.md(patch for enhanced/rsbuild-plugin/runtime-tools)Base
main