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

kubeflow / trainer / 40605959141
81%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2026 12:05AM 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

28 Oct 2026 12:00AM UTC coverage: 77.366% (-0.1%) from 77.482%
40605959141

push

github

web-flow
feat(controller): KEP-3562: [OptimizationJob] Add OptimizationJob alpha feature gate (#4331)

* feat(controller): KEP-3562: [OptimizationJob] Add OptimizationJob alpha feature gate

Put the OptimizationJob API behind a new OptimizationJob alpha feature gate,
disabled by default, so administrators can keep it off while it matures in
v2.4.

- Register the OptimizationJob controller only when the gate is enabled.
- Add a validating webhook that rejects OptimizationJob creation while the
  gate is disabled. Updates and deletions are not validated, so existing
  OptimizationJobs can still be removed after the gate is disabled.
- Require TrainJobStatus: the controller manager exits at startup when
  OptimizationJob is enabled without TrainJobStatus, because trials report
  their objective metrics through the TrainJob status server.
- Keep the CRD and RBAC installed regardless of the gate.
- Enable the gate in the integration framework and in the e2e setup for both
  the Kustomize and Helm installation paths.

Signed-off-by: Akshay Chitneni <achitneni@apple.com>

* Use native feature gate dependencies and patch the new webhook

- Register OptimizationJob's dependency on TrainJobStatus with
  AddDependencies, so Set and SetFromMap reject the combination everywhere,
  tests included, and drop the separate startup check.
- In the integration framework, keep TrainJobStatus disabled while the
  runtimes are built, so the trainjobstatus plugin is not registered without
  the status server configuration, and enable both gates afterwards.
- Fix the validating webhook patch: controller-gen orders webhooks by name,
  so the new OptimizationJob webhook shifted the positions the patch targets
  and the TrainJob webhook kept the generated "webhook-service" name, which
  rejected every TrainJob in the e2e tests. Patch every webhook, restore the
  objectSelector on the TrainingRuntime webhook, and add test operations so
  that a future change in order fails the build.
- Te... (continued)

10 of 30 new or added lines in 4 files covered. (33.33%)

1 existing line in 1 file now uncovered.

3360 of 4343 relevant lines covered (77.37%)

0.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
0.0
0.0% pkg/controller/setup.go
8
52.94
pkg/webhooks/optimizationjob_webhook.go
3
0.0
0.0% pkg/webhooks/setup.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% pkg/webhooks/setup.go
Jobs
ID Job ID Ran Files Coverage
1 40605959141.1 28 Oct 2026 12:05AM UTC 46
77.37
GitHub Action Run
Source Files on build 40605959141
  • Tree
  • List 46
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5cbb20b8 on github
  • Prev Build on master (#40589483904)
  • Next Build on master (#40606244336)
  • 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