Skip to content

chore: update go, JS and Python deps for High/Crit CVEs - #671

Merged
mckornfield merged 1 commit into
mainfrom
cves-0714-py-js-go/mck
Jul 14, 2026
Merged

chore: update go, JS and Python deps for High/Crit CVEs#671
mckornfield merged 1 commit into
mainfrom
cves-0714-py-js-go/mck

Conversation

@mckornfield

@mckornfield mckornfield commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Dependency Updates
    • Raised minimum LangChain-related versions across evaluation, platform, guardrails, plugins, and tooling (while keeping existing upper bounds).
    • Updated Go observability components (OpenTelemetry/Prometheus/gRPC) to newer releases.
    • Refreshed Python and third-party pinned requirements/metadata, including adding defusedxml, updating json-repair, and adjusting tooling/web dependency overrides.
  • Documentation
    • Clarified AIPerf benchmark venv installation isolation to avoid interference from repo-level uv constraints.

@mckornfield
mckornfield requested review from a team as code owners July 14, 2026 14:52
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Dependency constraints were updated across Python packages, Go services, generated dependency metadata, licensing data, advisory data, and the web package. AIPerf installation was isolated from repository uv configuration, and a pnpm override was added.

Changes

Python dependency constraints

Layer / File(s) Summary
Package LangChain constraints
packages/nemo_evaluator_sdk/pyproject.toml, packages/nemo_platform/pyproject.toml, plugins/nemo-guardrails/pyproject.toml, services/guardrails/pyproject.toml
Raised LangChain minimum versions across Python packages.
Root uv constraints and overrides
pyproject.toml
Updated uv constraints and removed selected dependency overrides.
AIPerf environment isolation
plugins/nemo-guardrails/src/nemo_guardrails_plugin/benchmarks/bootstrap.py
AIPerf virtual-environment creation and installation now ignore repository uv configuration.

Go telemetry dependencies

Layer / File(s) Summary
Jobs launcher telemetry stack
services/core/jobs/jobs-launcher/go.mod
Updated OpenTelemetry, Prometheus, gRPC, protobuf, and related indirect dependencies.
Guardrails callouts telemetry stack
services/guardrails/callouts/go.mod
Updated OpenTelemetry exporters, instrumentation, SDK components, gRPC gateway, and genproto dependencies.

Generated dependency and license metadata

Layer / File(s) Summary
Exported requirements refresh
third_party/requirements-main.txt
Regenerated package pins, versions, hashes, and dependency attribution comments.
License and advisory metadata
third_party/licenses.jsonl, third_party/osv-licenses.json, tools/nemo-platform-sdk-tools/src/nemo_platform_sdk_tools/license/overrides.yaml
Updated package licenses, overrides, license totals, package records, and advisory metadata.

Web dependency override

Layer / File(s) Summary
Brace expansion resolution
web/package.json
Added a pnpm override resolving brace-expansion@1.1.15 to 1.1.16.

Suggested reviewers: sandychapman, mikeknep, svvarom, ironcommit

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: dependency updates across Go, JS, and Python to address high/critical CVEs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cves-0714-py-js-go/mck

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions
The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions


Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@web/package.json`:
- Line 62: Add the missing test:ci and typecheck scripts to the scripts section
of web/package.json, using vitest run --coverage and tsc --noEmit respectively.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 52e11956-fcdc-4e7e-a1c3-47258835dd16

📥 Commits

Reviewing files that changed from the base of the PR and between 44ecead and efaff76.

⛔ Files ignored due to path filters (5)
  • sdk/python/nemo-platform/pyproject.toml is excluded by !sdk/**
  • services/core/jobs/jobs-launcher/go.sum is excluded by !**/*.sum
  • services/guardrails/callouts/go.sum is excluded by !**/*.sum
  • uv.lock is excluded by !**/*.lock
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (8)
  • packages/nemo_evaluator_sdk/pyproject.toml
  • packages/nemo_platform/pyproject.toml
  • plugins/nemo-guardrails/pyproject.toml
  • pyproject.toml
  • services/core/jobs/jobs-launcher/go.mod
  • services/guardrails/callouts/go.mod
  • services/guardrails/pyproject.toml
  • web/package.json

Comment thread web/package.json
@github-actions github-actions Bot added the chore label Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 24398/31577 77.3% 62.0%
Integration Tests 14023/30226 46.4% 19.3%

@mckornfield
mckornfield force-pushed the cves-0714-py-js-go/mck branch 2 times, most recently from 2173bef to 6ebc2c5 Compare July 14, 2026 16:28

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@third_party/osv-licenses.json`:
- Around line 1433-1673: Update the json-repair dependency from 0.58.7 to
version 0.60.1 or newer in both requirements-main.txt and the pyproject
dependency declarations. Keep the dependency constraints consistent across both
files; only document an explicit security exception instead if the upgrade
cannot be made.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 51f49750-794c-412a-ac80-be262a7b1ad9

📥 Commits

Reviewing files that changed from the base of the PR and between 2173bef and 6ebc2c5.

⛔ Files ignored due to path filters (5)
  • sdk/python/nemo-platform/pyproject.toml is excluded by !sdk/**
  • services/core/jobs/jobs-launcher/go.sum is excluded by !**/*.sum
  • services/guardrails/callouts/go.sum is excluded by !**/*.sum
  • uv.lock is excluded by !**/*.lock
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (13)
  • packages/nemo_evaluator_sdk/pyproject.toml
  • packages/nemo_platform/pyproject.toml
  • plugins/nemo-guardrails/pyproject.toml
  • plugins/nemo-guardrails/src/nemo_guardrails_plugin/benchmarks/bootstrap.py
  • pyproject.toml
  • services/core/jobs/jobs-launcher/go.mod
  • services/guardrails/callouts/go.mod
  • services/guardrails/pyproject.toml
  • third_party/licenses.jsonl
  • third_party/osv-licenses.json
  • third_party/requirements-main.txt
  • tools/nemo-platform-sdk-tools/src/nemo_platform_sdk_tools/license/overrides.yaml
  • web/package.json
🚧 Files skipped from review as they are similar to previous changes (8)
  • web/package.json
  • services/guardrails/callouts/go.mod
  • packages/nemo_evaluator_sdk/pyproject.toml
  • plugins/nemo-guardrails/src/nemo_guardrails_plugin/benchmarks/bootstrap.py
  • packages/nemo_platform/pyproject.toml
  • pyproject.toml
  • plugins/nemo-guardrails/pyproject.toml
  • services/core/jobs/jobs-launcher/go.mod

Comment thread third_party/osv-licenses.json Outdated
@mckornfield
mckornfield force-pushed the cves-0714-py-js-go/mck branch from 6ebc2c5 to 4cb6302 Compare July 14, 2026 17:09

@ironcommit ironcommit 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.

LGTM

Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
@mckornfield
mckornfield force-pushed the cves-0714-py-js-go/mck branch from 4cb6302 to 28e032a Compare July 14, 2026 18:13

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@third_party/osv-licenses.json`:
- Around line 877-886: Update the license entries for defusedxml and pandas in
third_party/osv-licenses.json at lines 877-886, 2397-2405, and 6000-6010,
replacing non-standard with PSF-2.0 for defusedxml and BSD-3-Clause for pandas.
Regenerate the summary counts so they reflect the corrected classifications.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: de29bf2e-9f4a-4551-a1c7-1e089bb16c15

📥 Commits

Reviewing files that changed from the base of the PR and between 4cb6302 and 28e032a.

⛔ Files ignored due to path filters (5)
  • sdk/python/nemo-platform/pyproject.toml is excluded by !sdk/**
  • services/core/jobs/jobs-launcher/go.sum is excluded by !**/*.sum
  • services/guardrails/callouts/go.sum is excluded by !**/*.sum
  • uv.lock is excluded by !**/*.lock
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (13)
  • packages/nemo_evaluator_sdk/pyproject.toml
  • packages/nemo_platform/pyproject.toml
  • plugins/nemo-guardrails/pyproject.toml
  • plugins/nemo-guardrails/src/nemo_guardrails_plugin/benchmarks/bootstrap.py
  • pyproject.toml
  • services/core/jobs/jobs-launcher/go.mod
  • services/guardrails/callouts/go.mod
  • services/guardrails/pyproject.toml
  • third_party/licenses.jsonl
  • third_party/osv-licenses.json
  • third_party/requirements-main.txt
  • tools/nemo-platform-sdk-tools/src/nemo_platform_sdk_tools/license/overrides.yaml
  • web/package.json
🚧 Files skipped from review as they are similar to previous changes (10)
  • tools/nemo-platform-sdk-tools/src/nemo_platform_sdk_tools/license/overrides.yaml
  • services/guardrails/pyproject.toml
  • web/package.json
  • plugins/nemo-guardrails/pyproject.toml
  • packages/nemo_evaluator_sdk/pyproject.toml
  • third_party/licenses.jsonl
  • services/core/jobs/jobs-launcher/go.mod
  • plugins/nemo-guardrails/src/nemo_guardrails_plugin/benchmarks/bootstrap.py
  • pyproject.toml
  • packages/nemo_platform/pyproject.toml

Comment thread third_party/osv-licenses.json
@mckornfield
mckornfield added this pull request to the merge queue Jul 14, 2026
Merged via the queue into main with commit 0101419 Jul 14, 2026
58 checks passed
@mckornfield
mckornfield deleted the cves-0714-py-js-go/mck branch July 14, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants