feat(sandbox): expose standalone sandbox controller#3161
Merged
Conversation
This was referenced Jul 18, 2026
kuitos
force-pushed
the
rfc/compartment-plugins
branch
from
July 18, 2026 15:04
cbd8a24 to
b416d9f
Compare
kuitos
force-pushed
the
rfc/standalone-sandbox-runtime
branch
from
July 18, 2026 15:04
985c4f4 to
19726a9
Compare
kuitos
marked this pull request as ready for review
July 18, 2026 15:41
kuitos
force-pushed
the
rfc/standalone-sandbox-runtime
branch
from
July 18, 2026 15:43
19726a9 to
8167242
Compare
- The JS-only preset no longer mutates an element passed to mount(): data-name and <qiankun-head> preparation belong to the container-backed preset only, in both the mount path and the controller nodeTransformer. - Drop the redundant head-ensure call in the dynamicAppend plugin mount: it discarded the returned cleanup, so a head created there could never be released. Head auto-creation is owned solely by createSandbox mount, whose cleanups are tracked and freed on dispose. - Replace the qiankun-head string literal with the qiankunHeadTagName constant, throw QiankunError instead of TypeError for the styleIsolation-without-container misconfiguration, and restore the styleIsolation JSDoc lost when SandboxConfiguration became a Pick of CreateSandboxOptions.
This was referenced Jul 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack
4 / 5. Depends on #3160.
Review scope
@qiankunjs/sandbox.Out of scope
Validation
loadApptests: 6 passed at this layer.pnpm run build:packagespassed.pnpm pack --dry-runpassed.