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

kubeflow / trainer / 38453510684
77%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2026 07:20PM 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 07:16PM UTC coverage: 73.283% (+0.6%) from 72.69%
38453510684

push

github

web-flow
feat(api): implement DRA support for TrainJob (KEP-2782) (#4027)

* feat(api): add resourceClaimsPerNode, runtimePatches DRA fields and DynamicResourceAllocation gate

Adds Trainer.resourceClaimsPerNode (template-only, DNS-label name), PodSpecPatch.resourceClaims and ContainerPatch.resources per KEP-2782, rejects resourcesPerNode.claims via CEL, and introduces the DynamicResourceAllocation alpha feature gate.

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

* test(integration): cover DRA claims wiring and webhook validation

Enables the DynamicResourceAllocation gate in the integration framework and adds controller and webhook specs for resourceClaimsPerNode, runtimePatches claims and dangling-claim rejection. The controller specs pass once the runtime wiring lands.

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

* feat(runtime): wire resourceClaimsPerNode into the trainer node PodSpec

Applies the TrainJob claims to the node Pod's resourceClaims and the node container's resources.claims, keeping TrainJob claims ahead of runtime-wired ones and preserving an existing container claim's request. Adds the operator guide.

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

* feat(runtime): support DRA claims through runtimePatches

Documents PodSpecPatch.resourceClaims and ContainerPatch.resources for sidecars and init containers and covers the combined resourceClaimsPerNode plus runtimePatches path. Strategic merge already handles the new fields.

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

* feat(webhooks): validate DRA fields behind the feature gate

Rejects DRA fields on create and on updates that introduce them while the gate is disabled, rejects runtime templates and runtimePatches whose container claims reference no Pod-level claim.

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

* fix(runtime): address review feedback on DRA claims wiring

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

* test(inte... (continued)

169 of 199 new or added lines in 6 files covered. (84.92%)

1 existing line in 1 file now uncovered.

3511 of 4791 relevant lines covered (73.28%)

0.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
73.29
9.91% pkg/webhooks/trainjob_webhook.go
6
60.53
-2.49% pkg/runtime/runtime.go
2
68.98
6.37% pkg/runtime/core/trainingruntime.go

Coverage Regressions

Lines Coverage ∆ File
1
60.53
-2.49% pkg/runtime/runtime.go
Jobs
ID Job ID Ran Files Coverage
1 38453510684.1 13 Oct 2026 07:20PM UTC 46
73.28
GitHub Action Run
Source Files on build 38453510684
  • Tree
  • List 46
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2ab9c6e0 on github
  • Prev Build on master (#38451108976)
  • Next Build on master (#38476434858)
  • 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