feat: graduate the linked install strategy from experimental to stable#9674
Merged
owlstronaut merged 1 commit intoJun 26, 2026
Merged
Conversation
owlstronaut
approved these changes
Jun 26, 2026
Contributor
Author
|
@owlstronaut the feature is no different in v11, should this be backported? |
Contributor
|
🎉 Backport to |
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.
Removes the experimental designation from
install-strategy=linked(isolated mode): drops the install-time warning and the(experimental)note in the config docs.linkedis now a supported, opt-in install strategy. The default stayshoisted.Why
install-strategy=linked(RFC-0042) has been experimental since it shipped, warning on every install. It has since been hardened extensively — the discrepancies tracked in #9608, plus ~50 earlier PRs, are resolved — and it now produces hoisted-equivalent results acrossinstall/ci/ls/query/explain/audit/sbom/exec/run/link/uninstall, the supply-chain controls (allow-scripts/allow-remote/allow-git,--strict-allow-scripts), and the v12 features (npm patch,packageExtensions,.npm-extension), with a project lockfile identical to hoisted. It has also been exercised against the Gutenberg monorepo, which powers the WordPress Block Editor. The experimental warning no longer reflects its state.How
@npmcli/arborist(reify.js): remove theThe "linked" install strategy is EXPERIMENTAL and may contain bugs.warning emitted on every linked install.@npmcli/config(definitions.js): drop(experimental)from theinstall-strategydescription forlinked.The
node_modules/.store/layout remains an internal implementation detail. This does not change the default install strategy.References
install-strategy=linked(isolated mode) bugs #9608