Omit registry URLs from npm lockfiles - #1530
Merged
Jackson Weber (JacksonWeber) merged 1 commit intoAug 25, 2026
Merged
Conversation
Add project-level npm settings for the root and performance test projects, then regenerate both lockfiles without changing dependency versions or integrity data. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Jackson Weber (JacksonWeber)
approved these changes
Aug 25, 2026
Jackson Weber (JacksonWeber)
approved these changes
Aug 25, 2026
Jackson Weber (JacksonWeber)
merged commit Aug 25, 2026
dadabd7
into
microsoft:main
13 checks passed
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.
Summary
The root and performance test lockfiles recorded registry URLs in
resolvedfields, including Azure Artifacts feed URLs. This change addsomit-lockfile-registry-resolved=trueto both project-level.npmrcfiles and regenerates both lockfiles with npm 11.19.0.The regeneration removes 951 registry
resolvedfields. Dependency versions, integrity hashes,lockfileVersion3, andos,cpu, andlibcmetadata are unchanged.Validation
npm config get omit-lockfile-registry-resolvedreturnstruein both projects.npm install --package-lock-only --ignore-scripts --no-audit --no-fundruns produce identical SHA-256 hashes.npm ci --no-audit --no-fundsucceeds in both projects with Node.js 22.23.2 and npm 11.19.0.npm testcommand still has console timing and TelemetryClient assertion failures. The unchanged base commit,4dc1c066747690daf7b27d280c7da60cb26bb609, fails in the same test areas under the same toolchain.