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

kubeflow / trainer / 29758781335
68%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2026 04:19PM UTC
Jobs 1
Files 42
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

20 Jul 2026 04:15PM UTC coverage: 68.256% (-0.04%) from 68.299%
29758781335

push

github

web-flow
fix(runtimes): merge resourcesPerNode with Runtime container resources (#3602)

* fix(controller): merge resourcesPerNode with Runtime container resources

When a TrainJob sets resourcesPerNode, merge it with the referenced
Runtime's node container resources instead of replacing the entire block.
TrainJob keys override matching keys; unset keys inherit from the Runtime.

This fixes the case where specifying only GPU silently drops CPU/memory
from the Runtime and pushes pods to BestEffort QoS.

Fixes kubeflow/trainer#3551

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(controller): address review feedback for resourcesPerNode merge

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): use SMP for claims merge and deduplicate apply path

- Replace manual merge with Strategic Merge Patch so Claims are merged
  by name (patchMergeKey:name), consistent with Limits and Requests
- Move resource merge before FromTypedObjWithFields to keep typed spec
  and apply configuration in sync, removing duplicated inline patching
- Extract MergeResourceRequirements into pkg/runtime for isolated testing
- Add merged_resourcesPerNode case to TestTrainingRuntimeNewObjects

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): move MergeResourceRequirements to util and drop unused helpers

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fold MergeResourceRequirements into trainingruntime.go

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): fold resource merge into ReplicatedJobs loop

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

* fix(runtimes): fold resource merge into ReplicatedJobs loop

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

---------

Signed-off-by: Sridhar1030 <sridharpillai75@gmail.com>

40 of 53 new or added lines in 2 files covered. (75.47%)

2548 of 3733 relevant lines covered (68.26%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
66.67
-33.33% pkg/util/trainingruntime/trainingruntime.go
5
70.79
1.83% pkg/runtime/core/trainingruntime.go
Jobs
ID Job ID Ran Files Coverage
1 29758781335.1 20 Jul 2026 04:19PM UTC 42
68.26
GitHub Action Run
Source Files on build 29758781335
  • Tree
  • List 42
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 67c11444 on github
  • Prev Build on master (#29756975521)
  • Next Build on master (#29761615570)
  • 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