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

kubeflow / sdk / 26046313045
83%

Build:
DEFAULT BRANCH: main
Ran 18 May 2026 04:29PM UTC
Jobs 2
Files 87
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

18 May 2026 04:27PM UTC coverage: 82.964% (+3.1%) from 79.85%
26046313045

push

github

web-flow
chore(optimizer): add comprehensive unit tests for KubernetesBackend (#485)

Cover all public methods of the optimizer's KubernetesBackend with
  parametrized unit tests mirroring the trainer backend test structure.

  Tests added for: optimize, get_job, list_jobs, get_job_logs,
  get_best_results, wait_for_job_status, delete_job, get_job_events.

  Each method tested with success paths and error scenarios
  (TimeoutError, RuntimeError, ValueError) using mock K8s APIs.

  Address review feedback:
  - Add payload verification for create_namespaced_custom_object
  - Add test_get_job_status_conditions for all status-mapping branches
  - Add get_job_logs branch coverage (trial_name, follow, empty, pending pod)
  - Restore polling_interval validation cases (zero, equal-to-timeout, negative)
  - Rework wait_for_job_status with CR-based mock and callback test
  - Fix docstrings, move TypeVar near imports, add positional-arg comments

Signed-off-by: Slowlybomb <hslyusar@redhat.com>

232 of 234 new or added lines in 1 file covered. (99.15%)

4948 of 5964 relevant lines covered (82.96%)

1.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
99.24
7.81% kubeflow/optimizer/backends/kubernetes/backend_test.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 26046313045.1 18 May 2026 04:29PM UTC 87
82.96
GitHub Action Run
2 python-3.10 - 26046313045.2 18 May 2026 04:29PM UTC 87
82.96
GitHub Action Run
Source Files on build 26046313045
  • Tree
  • List 87
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26046313045
  • 5a5968d8 on github
  • Prev Build on main (#25755496365)
  • Next Build on main (#26054526926)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc