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

kubeflow / trainer / 32976974935
69%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2026 01:59PM UTC
Jobs 1
Files 43
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

26 Aug 2026 01:53PM UTC coverage: 68.438% (-0.03%) from 68.464%
32976974935

push

github

web-flow
feat(runtimes): add deprecation warning for TrainingRuntime (#3966)

* feat(runtime): add deprecation warning for TrainingRuntime

This commit adds deprecation warning support for TrainingRuntime to match
the existing behavior in ClusterTrainingRuntime.

Changes:
- Added deprecation check in TrainingRuntime.ValidateObjects()
- Emits admission warning when runtime has label trainer.kubeflow.org/support=deprecated
- Follows same pattern as ClusterTrainingRuntime implementation

The implementation ensures consistent deprecation warnings across both
runtime types, helping users identify deprecated runtimes early.

Fixes #3965

Signed-off-by: Prateek Rai <prateekrai903@gmail.com>

* test: add comprehensive tests for TrainingRuntime deprecation warnings

- Add TestTrainingRuntimeValidateCreate to verify deprecation warnings
  when creating TrainingRuntime objects with support=deprecated label
- Add test cases for TrainJob referencing deprecated TrainingRuntime
- Extend TrainingRuntimeValidator.ValidateCreate to emit deprecation
  warnings, matching ClusterTrainingRuntime behavior
- Ensures consistent deprecation warnings across both runtime types

Addresses feedback on #3965

Signed-off-by: Prateek Rai <prateekrai903@gmail.com>

---------

Signed-off-by: Prateek Rai <prateekrai903@gmail.com>

9 of 22 new or added lines in 2 files covered. (40.91%)

2615 of 3821 relevant lines covered (68.44%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
66.36
-3.88% pkg/runtime/core/trainingruntime.go
Jobs
ID Job ID Ran Files Coverage
1 32976974935.1 26 Aug 2026 01:59PM UTC 43
68.44
GitHub Action Run
Source Files on build 32976974935
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9f7e1421 on github
  • Prev Build on master (#32791813761)
  • Next Build on master (#32995967066)
  • 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