Skip to content

Sync backend Python, Plotly, and CUDA CVE fixes - #38

Merged
anle2024 merged 3 commits into
NVIDIA:mainfrom
anle2024:anle/sync-backend-cve-fixes-31647
Oct 20, 2026
Merged

anle2024 merged 3 commits into
NVIDIA:mainfrom
anle2024:anle/sync-backend-cve-fixes-31647

Conversation

@anle2024

@anle2024 anle2024 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Sync the seven-file security fix from https://github.com/kumo-ai/kumo/pull/31647 into Engine. All seven changed files match upstream.

Update backend CPython to 3.14.8, Plotly to 7.1.0, and the GPU backend dependency selection to cu132. Include the upstream lockfile and dependency export and forecast visualization regression tests. The CPU export changes only the Plotly pin.

Change map

File-by-file change map.

Testing Done

  • Docker tests: 13 passed, including frozen CPU and CUDA dependency exports.
  • Forecast visualization regression: 1 passed.
  • Lock freshness, Python lint and formatting, shell syntax, license checks, and whitespace checks passed.
  • Verified that every changed file matches its upstream blob.

The earlier sync run encountered AWS authentication errors before service tests started. Native image builds, GPU execution, and security scans were not rerun for this sync.

@copy-pr-bot

copy-pr-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@anle2024
anle2024 had a problem deploying to gha-kumo-workflow-tests October 19, 2026 22:07 — with GitHub Actions Failure
@anle2024

anle2024 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

Change map

Requested change: sync the merged security fix from kumo-ai/kumo#31647. The base uses CPython 3.14.7, Plotly 5.13.0, and the GPU cu130 profile. Apply the upstream seven-file change and verify source equality. Release publication and CI configuration changes are outside this sync.

File Function / scope What changed Why
docker/kumodeps_base Shared backend Python build Select CPython 3.14.8 and its matching source checksum. Carry over the upstream Python security fixes.
docker/Dockerfile.kumo_backend_gpu GPU base and application stages Select cu132 for both dependency installations. Carry over the upstream CUDA dependency selection.
setup.py Drawing dependencies and extras Pin Plotly 7.1.0 and add cu132. Include the upstream MapLibre fix and expose the GPU profile.
pyproject.toml uv indexes, Torch sources, and conflicts Add the explicit CUDA 13.2 index and mutually exclusive extra. Resolve the intended Torch build for the new profile.
uv.lock Generated workspace resolution Sync the upstream lockfile. Keep dependency installation consistent with upstream.
test/docker/test_gpu_dependency_profile.py CPU and cu132 export regression Test frozen exports and the CUDA Toolkit version. Carry over the upstream dependency regression test.
packages/kumo-sdk/test/test_forecasting.py Forecast visualization regression Test values, entity selection, serialization, and HTML generation. Carry over the upstream Plotly compatibility test.

Verification: all seven changed file blobs match upstream. The Docker suite passed 13 tests and the forecasting regression passed one test. Lock, formatting, lint, shell syntax, license, and whitespace checks passed. The earlier sync run failed at private AWS authentication before service tests ran. Native image builds, GPU execution, and security scans were not rerun.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/kumo-engine/.coderabbit.yaml
  • Review profile: QUIET
  • Plan: Enterprise
  • Run ID: d17facc4-f8c7-486a-b5d9-bdf444d26c68
📥 Commits

Reviewing files that changed from the base of the PR and between 503f92c and cad25e5.

📒 Files selected for processing: 1
  • docker/kumodeps_base
💤 Files with no reviewable changes: 1
  • docker/kumodeps_base

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The GPU backend image and dependency configuration now select cu132, using the CUDA 13.2 PyTorch index and GPU Faiss extra; the CUDA 13.3 base and CUDA 13 Faiss wheel remain. A dependency-export test checks CPU and cu132 selections. The Python source version changes to 3.14.8 with its checksum. The drawing extra changes to Plotly 7.1.0, and a forecasting test checks figure traces, visibility controls, JSON round-trip, and HTML output.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to cad25

No actionable merge-blocking issue is established in the reviewed change. The current CI routing differs from the reported public-check plan, but this PR leaves that routing unchanged.

Pre-merge checks: Passed 2 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Change Map Design Review Warning The dependency design is appropriate, but the prior change-map concern remains unresolved. The PR changes docker/Dockerfile.kumo_backend_gpu to invoke kumodeps_base with CUDA_VERSION=cu132 and a… Update the change-map comment and the stale comments in setup.py and docker/kumodeps_base to state that cu132 is used by backend images, while scripts/update_packages.sh and the CUDA 13 Faiss selectors remain on cu130. Add focused…
Passed Passed checks: 2 passed
Check name Status Explanation
Pr Size Passed The pull request changes 7 files. This does not exceed the 40-file limit.
Public Resource Access Passed No inaccessible external reference was introduced. The final diff adds the public PyTorch cu132 index in pyproject.toml:72-73 and public PyPI/PyTorch artifact URLs in uv.lock (including `uv.lock:1…
Full details: Public Resource Access

Explanation

No inaccessible external reference was introduced. The final diff adds the public PyTorch cu132 index in pyproject.toml:72-73 and public PyPI/PyTorch artifact URLs in uv.lock (including uv.lock:1390, 5156-5158, and 7217+). Anonymous HTTP range GET checks returned 206 for all 60 URLs found on added or modified diff lines. No workflow file is changed in the authoritative PR range. Prior failure refuted: The prior failure names workflow changes, but git diff --name-only base head -- .github/workflows is empty. The kumo-ai/kumo conditions remain identical on both base and head and are not introduced by this PR.

Full details: Change Map Design Review

Explanation

The dependency design is appropriate, but the prior change-map concern remains unresolved. The PR changes docker/Dockerfile.kumo_backend_gpu to invoke kumodeps_base with CUDA_VERSION=cu132 and adds the cu132 extra in setup.py. However, setup.py still explains the Faiss selectors as only cpu/cu130 (lines 62-68), and docker/kumodeps_base still documents only cpu and cu130 (lines 7-11). scripts/update_packages.sh intentionally remains limited to cpu|cu130 (lines 62-77), while the new regression test covers only cpu and cu132. This omits the material boundary between the backend-only cu132 path and the preserved local cu130/Faiss path, and it does not provide focused verification for both paths.

Resolution

Update the change-map comment and the stale comments in setup.py and docker/kumodeps_base to state that cu132 is used by backend images, while scripts/update_packages.sh and the CUDA 13 Faiss selectors remain on cu130. Add focused cu130 export or selector verification alongside the existing CPU and cu132 checks. Do not change scripts/update_packages.sh unless local cu132 development is intended; if it is intended, update and test its ARM64 Faiss selector.

  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments: 1
test/docker/test_gpu_dependency_profile.py: 1

29-38: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win

Assert the CUDA Toolkit 13.2.1 security floor.

The cu132 export test accepts exact cuda-toolkit pins from 13.1.x. This does not enforce the 13.2.1 floor stated for the GPU image. Raise the threshold to 13.2.1.

Suggested fix
-            Version(pin.version) >= Version('13.1') for pin in toolkit.specifier
+            Version(pin.version) >= Version('13.2.1') for pin in toolkit.specifier

ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/kumo-engine/.coderabbit.yaml
  • Review profile: QUIET
  • Plan: Enterprise
  • Run ID: 8fe9e856-8d87-4932-812e-278552854572
📥 Commits

Reviewing files that changed from the base of the PR and between d9d9776 and 7dc4b20.

⛔ Files ignored due to path filters: 1
  • uv.lock is excluded by !**/*.lock, !**/*.lock
📒 Files selected for processing: 6
  • docker/Dockerfile.kumo_backend_gpu
  • docker/kumodeps_base
  • packages/kumo-sdk/test/test_forecasting.py
  • pyproject.toml
  • setup.py
  • test/docker/test_gpu_dependency_profile.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@anle2024 anle2024 changed the title Sync backend Python, Plotly, and CUDA CVE fixes Sync backend CVE fixes and run Engine checks without AWS Oct 19, 2026
@anle2024 anle2024 changed the title Sync backend CVE fixes and run Engine checks without AWS Sync backend Python, Plotly, and CUDA CVE fixes Oct 19, 2026
@anle2024
anle2024 had a problem deploying to gha-kumo-workflow-tests October 19, 2026 22:50 — with GitHub Actions Failure
@anle2024
anle2024 merged commit d814bf0 into NVIDIA:main Oct 20, 2026
63 of 113 checks passed

This branch had an error being deployed

1 failed deployment
gha-kumo-workflow-tests — cad25e58 Deployed Oct 19, 2026 by anle2024 via import #89
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.

2 participants