Skip to content

fix: omit registry URLs from tests lockfile - #3111

Open
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoft:mainfrom
JamieMagee:fix/omit-tests-lockfile-registry-urls
Open

fix: omit registry URLs from tests lockfile#3111
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoft:mainfrom
JamieMagee:fix/omit-tests-lockfile-registry-urls

Conversation

@JamieMagee

Copy link
Copy Markdown
Member

Description

Add omit-lockfile-registry-resolved=true to tests/.npmrc while keeping the approved package proxy. Regenerating tests/package-lock.json with npm 11.11.1 removes 593 resolved fields without changing dependencies, integrity data, lockfileVersion, or other metadata.

Validation:

  • npm config get registry: https://packagefeedproxy.microsoft.io/npm/
  • npm config get omit-lockfile-registry-resolved: true
  • Second regeneration pass produced the same package-lock.json SHA-256
  • npm ci --ignore-scripts --no-audit --no-fund
  • npm ci --ignore-scripts --no-audit --no-fund && npm run build from the repository root
  • cd tests && npm test (69 passed)
  • cd tests && npm run typecheck
  • cd tests && npm run lint

Checklist

  • Tests pass locally (cd tests && npm test)
  • Title has one of the prefixes: fix:, feat:, feature:, chore:, misc:, test:, eval:
  • If modifying skill descriptions: verified routing correctness with integration tests (In tests/, npm run test:vally -- --plugin <plugin-dirname> --skill <skill>) (not applicable)

Related Issues

Fixes #3110

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 24, 2026 23:31
@JamieMagee
Jamie Magee (JamieMagee) requested a review from a team as a code owner August 24, 2026 23:31
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates test npm configuration to omit registry URLs from generated lockfiles while retaining the approved package proxy.

Changes:

  • Adds omit-lockfile-registry-resolved=true to tests/.npmrc.
  • Regenerates the test lockfile without registry URL metadata.
Show a summary per file
File Summary
tests/.npmrc Enables lockfile registry URL omission while retaining the approved proxy.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove registry URLs from the tests package lock

2 participants