Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: isolate module federation shared scope per app#2770

Merged
JammingBen merged 2 commits into
stable-7.1from
backport/stable-7.1/pr-2768
Jun 30, 2026
Merged

fix: isolate module federation shared scope per app#2770
JammingBen merged 2 commits into
stable-7.1from
backport/stable-7.1/pr-2768

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Backport

This will backport the following commits from main to stable-7.1:

Questions ?

Please refer to the Backport tool documentation

Load each external app through its own ModuleFederation instance instead
of a single shared host instance. All remotes loaded through one instance
share the same shareScopeMap by reference, so a faulty app that corrupts
that scope during init breaks every other app too. Per-instance isolation
contains such failures to the offending app while preserving parallel
loading and singleton identity of shared modules.

(cherry picked from commit 3926dbb)
@JammingBen JammingBen changed the title [stable-7.1] Merge pull request #2768 from opencloud-eu/feat/isolated-module-federation-scopes fix: isolate module federation shared scope per app Jun 30, 2026
@JammingBen JammingBen enabled auto-merge June 30, 2026 08:26
@JammingBen JammingBen merged commit 410bc65 into stable-7.1 Jun 30, 2026
29 of 30 checks passed
@JammingBen JammingBen deleted the backport/stable-7.1/pr-2768 branch June 30, 2026 08:53
@openclouders openclouders mentioned this pull request Jun 30, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants