Skip to content

I assert this is necessary to enable the Java tests to run. - #2340

Open
edburns wants to merge 2 commits into
mainfrom
edburns/npm-woes-20260814-1628
Open

I assert this is necessary to enable the Java tests to run.#2340
edburns wants to merge 2 commits into
mainfrom
edburns/npm-woes-20260814-1628

Conversation

@edburns

@edburns edburns commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

I am trying to avoid becoming an expert on the npm authentication infrastructure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@edburns
edburns requested a review from a team as a code owner August 14, 2026 23:44
@edburns
edburns requested review from MackinnonBuck and a balanced review from Copilot August 14, 2026 23:44

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

Removes registry URLs from npm lockfiles so Java test setup respects configured registries.

Changes:

  • Omits registry resolution metadata from two lockfiles.
  • Updates dependency automation to preserve that format.
  • Simplifies Java’s npm invocations.
Show a summary per file
File Description
test/harness/package-lock.json Removes resolved registry URLs.
nodejs/package-lock.json Removes resolved registry URLs.
java/sdk/pom.xml Removes redundant npm flags.
.github/workflows/update-copilot-dependency.yml Preserves omission during manual updates.

Review details

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

Files not reviewed (1)
  • test/harness/package-lock.json: Generated file
  • Files reviewed: 2/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

VERSION: ${{ inputs.version }}
working-directory: ./nodejs
run: npm install "@github/copilot@$VERSION"
run: npm install "@github/copilot@$VERSION" --omit-lockfile-registry-resolved=true
@github-actions github-actions Bot mentioned this pull request Aug 14, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f787ed29-2541-42ff-85da-d3baef89d667
@github-actions

Copy link
Copy Markdown
Contributor

Cross-SDK Consistency Review ✅

This PR makes only build/infrastructure changes:

  • Adds .npmrc files with omit-lockfile-registry-resolved=true to nodejs/ and test/harness/
  • Removes the equivalent CLI flag from java/sdk/pom.xml (superseded by the .npmrc setting)
  • Updates package-lock.json files to strip registry-resolved URLs

There are no SDK API surface changes in this PR. No cross-language consistency issues to flag.

Generated by SDK Consistency Review Agent for #2340 · sonnet46 16.9 AIC · ⌖ 5.38 AIC · ⊞ 6.6K ·

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.

3 participants