• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / trainer / 38391878265
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: trainer-metrics-implementation
DEFAULT BRANCH: master
Ran 13 Oct 2026 11:45AM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Oct 2026 11:37AM UTC coverage: 72.918% (+0.2%) from 72.69%
38391878265

Pull #3961

github

Prat260104
refactor: validate RuntimePatches after merge, remove duplicate checks

Changes based on mentor feedback:

Per-patch validation (ensure resources exist in template):
- Validate ReplicatedJob exists in runtime template
- Validate Container exists in runtime template
- Validate InitContainer exists in runtime template
- Validate no envs for reserved containers

Merged validation (after all patches applied):
- VolumeMount references existing volumes (after merge)
- VolumeMount mountPath is not empty
- Toleration operator is valid (Equal/Exists)
- Toleration effect is valid (NoSchedule/PreferNoSchedule/NoExecute)
- Toleration with Equal operator has value when key specified

Removed validations (handled by Kubernetes):
- Duplicate volume names (K8s listType=map prevents this)
- Duplicate volumeMount names (K8s listType=map prevents this)
- Duplicate tolerations (allowed per mentor feedback)
- Duplicate mountPaths (K8s handles this)
- Empty volume names (K8s validates this)

Tests:
- Updated 5 tests to reflect merged state in info.TemplateSpec.ObjApply
- Removed 3 tests for validations no longer performed
- All tests pass

Addresses feedback on #3893

Signed-off-by: Prateek Rai <prateekrai903@gmail.com>
Pull Request #3961: feat(framework): validate Volumes, VolumeMounts, and Tolerations in RuntimePatches

56 of 62 new or added lines in 1 file covered. (90.32%)

3414 of 4682 relevant lines covered (72.92%)

0.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
78.21
2.22% pkg/runtime/framework/plugins/jobset/jobset.go
Jobs
ID Job ID Ran Files Coverage
1 38391878265.1 13 Oct 2026 11:45AM UTC 46
72.92
GitHub Action Run
Source Files on build 38391878265
  • Tree
  • List 46
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3961
  • PR Base - master (#38343077036)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc