• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

kubeflow / trainer / 32667230454
69%
master: 81%

Build:
Build:
LAST BUILD BRANCH: improve-coderabbit
DEFAULT BRANCH: master
Ran 23 Aug 2026 09:25PM 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

23 Aug 2026 09:20PM UTC coverage: 67.928% (-0.6%) from 68.543%
32667230454

Pull #3960

github

Abhishek86798
fix(controller): address review feedback on snapshot validation

Always resolve the runtime from the snapshot, falling back to the live
object when it does not exist, rather than branching on whether this is a
create or an update. This drops the useSnapshot flag and avoids using a
partially populated runtime when the snapshot fails to unmarshal.

Only return an Invalid error when the runtime is not found, and an
InternalError for any other failure from the live client.Get.

Cover TrainingRuntime and ClusterTrainingRuntime with table tests for both
the mutated-runtime and deleted-runtime scenarios, and clean up
ClusterTrainingRuntimes between tests since they are cluster-scoped.

Signed-off-by: Abhishek <abhikokadwar2@gmail.com>
Pull Request #3960: fix(controller): validate TrainJob updates against the runtime snapshot

0 of 47 new or added lines in 2 files covered. (0.0%)

3 existing lines in 1 file now uncovered.

2603 of 3832 relevant lines covered (67.93%)

0.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
65.45
-4.79% pkg/runtime/core/trainingruntime.go
23
28.17
-7.55% pkg/runtime/core/clustertrainingruntime.go

Coverage Regressions

Lines Coverage ∆ File
3
74.07
-11.11% pkg/runtime/core/core.go
Jobs
ID Job ID Ran Files Coverage
1 32667230454.1 23 Aug 2026 09:25PM UTC 43
67.93
GitHub Action Run
Source Files on build 32667230454
  • Tree
  • List 43
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3960
  • PR Base - master (#32447518121)
  • 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