Skip to content

chore: enable volume extra test#754

Open
mckornfield wants to merge 1 commit into
mainfrom
jobs-reenable-volume-test/mck
Open

chore: enable volume extra test#754
mckornfield wants to merge 1 commit into
mainfrom
jobs-reenable-volume-test/mck

Conversation

@mckornfield

@mckornfield mckornfield commented Jul 17, 2026

Copy link
Copy Markdown
Contributor
  • Also fix nss test

Summary by CodeRabbit

  • New Features

    • Added shared persistent storage support for Kubernetes and Volcano jobs in E2E environments, mounted at /mnt/additional_storage.
    • Enabled additional-volume job coverage when the required storage is available.
  • Tests

    • Improved Safe Synthesizer test setup by creating model filesets directly and validating the expected fileset count.
    • E2E tests now conditionally skip storage-dependent scenarios when the required mount is unavailable.

* Also fix nss test

Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
@mckornfield
mckornfield requested review from a team as code owners July 17, 2026 13:50
@github-actions github-actions Bot added the chore label Jul 17, 2026
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 76379e7a-8c29-49cb-9229-8d9add57bc7b

📥 Commits

Reviewing files that changed from the base of the PR and between 8a5663f and b254027.

📒 Files selected for processing (7)
  • e2e/k8s/values/default.yaml
  • e2e/k8s/values/kind.yaml
  • e2e/k8s/values/minikube-auth-portforward.yaml
  • e2e/k8s/values/minikube-auth.yaml
  • e2e/k8s/values/minikube.yaml
  • e2e/test_jobs.py
  • e2e/test_safe_synthesizer.py

📝 Walkthrough

Walkthrough

E2E Kubernetes and Volcano jobs now mount a PVC-backed volume at /mnt/additional_storage. The additional-volume test conditionally skips based on service configuration. Safe Synthesizer fileset setup now uses in-process module loading with count validation.

Changes

E2E job storage

Layer / File(s) Summary
PVC-backed job storage configuration
e2e/k8s/values/*.yaml
Kubernetes and Volcano job executors are configured with nmp-additional-volume, backed by the chart PVC template and mounted at /mnt/additional_storage.
Conditional additional-volume validation
e2e/test_jobs.py
The additional-volume test receives RunningServices and skips only when the required container-backed mount is unavailable.

Safe Synthesizer fileset setup

Layer / File(s) Summary
In-process model-fileset registration
e2e/test_safe_synthesizer.py
The fixture dynamically loads setup_model_filesets.py, invokes create_filesets, validates the created-fileset count, and removes subprocess-specific handling.

Possibly related PRs

Suggested labels: test

Suggested reviewers: matthewgrossman, tylersbray

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 28.57% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: enabling the additional-volume E2E test, though the phrasing is awkward.
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 jobs-reenable-volume-test/mck

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

@github-actions

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 25531/32732 78.0% 62.6%
Integration Tests 14729/31381 46.9% 19.2%

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.

1 participant