• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
No new info detected.

kubeflow / sdk
67%

Build:
DEFAULT BRANCH: main
Repo Added 14 Jul 2025 04:01PM UTC
Token yxmcYXSnNVrJPc90YGQkBzB65waBkVYLz regen
Build 474 Last
Files 58
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 0.1.0
  • 0.1.0rc1
  • 0.2.0
  • 0.2.1
  • add-coverage-badge
  • add-dependabot
  • add-labels-annotations-support#87
  • add-ok-to-test-workflow
  • add-pre-commit-ci
  • add-proposal-title
  • add-sdk-docs-workflow
  • add-spark-to-roadmap
  • agent.md
  • allow-trainjob-naming
  • auto-release
  • backend-public
  • cache
  • check
  • cherry-pick-103-to-release-0.1
  • cherry-pick-154-to-release-0.2
  • cherry-pick-157-to-release-0.2
  • cherry-pick-162-to-release-0.2
  • cherry-pick-166-to-release-0.2
  • cherry-pick-168-to-release-0.2
  • cherry-pick-177-to-release-0.2
  • chore/fix-welcome-workflow
  • ci-permissions
  • coveralls-parallel
  • custom-trainer-container
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/download-artifact-7
  • dependabot/github_actions/actions/github-script-8
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/stale-10
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/amannn/action-semantic-pull-request-6.1.1
  • dependabot/github_actions/softprops/action-gh-release-2
  • dev-testing
  • dict-unpack
  • docker-backend
  • docs/update-agents-trainer-section
  • drop-py39-support
  • export-custom-trainer-container
  • feat/171-add-initializer-support-container-backend
  • feat/add-mig-device-support
  • feat/container-gpu-passthrough
  • feat/initializers/s3
  • feat/kep-spark-client
  • feat/logging-system-v2
  • feat/lora-support
  • feat/wait-for-pod-logs
  • feature/customtrainer-python-file
  • feature/support-multiple-pip-index-urls-clean
  • fix-copy-get-packages
  • fix-first-time-ci
  • fix-image-runtime
  • fix-pip-user-issue
  • fix-s3-initializer
  • fix/filter-duplicate-pods-in-get-job
  • fix/import-trainer
  • fix/namespace-trainingruntime-list
  • from-exception
  • get-best-results
  • get-job-logs-opt
  • get-job-logs-refactor
  • get-runtime-packages
  • hatchling-package
  • hpo-new-apis
  • hpo-proposal
  • hpo-support
  • image-issue
  • install-as-user
  • kubeflow-hub-api
  • kubernetes-backend
  • latest-news
  • local-exec-proposal
  • local-exec-readme
  • localprocess-backend-test
  • main
  • move-dev-to-deps
  • move-pyproject
  • nominate-kramaranya
  • optimizer-container
  • osamaahmed17/195
  • osamaahmed17/203
  • podman-backend
  • pr-01
  • pr-02
  • pr-03
  • pr-05
  • pr-06
  • pr-197
  • pr-titles-check
  • prerelease-update
  • remove-accelerator-type
  • remove-pip-user-from-local
  • roadmap
  • ruff-config
  • runtime-framework-labels
  • skip-release-on-forks
  • training-backends
  • unit-test
  • update-approvers
  • update-contrib
  • update-e2e
  • update-readme
  • update-readme-hpo
  • update-roadmap
  • update-sdk-diagram
  • urllib3-update
  • wait-for-job-api
  • welcome-ci
  • wf-ok-to-test

07 Jan 2026 11:36AM UTC coverage: 66.607% (-0.1%) from 66.736%
20780172530

push

github

web-flow
feat(trainer): add get_job_events API to retrieve TrainJob events (#220)

* feat(trainer): add get_job_events() API to retrieve TrainJob events

- Add Event dataclass to represent Kubernetes events with fields: involved_object_kind, involved_object_name, message, reason, event_time, first_occurrence, last_occurrence, count, and type
- Implement get_job_events() method in TrainerClient to provide users with visibility into TrainJob state changes and pod events
- Add abstract method get_job_events() to RuntimeBackend base class
- Implement get_job_events() for KubernetesBackend with proper event filtering and sorting
- Implement get_job_events() for LocalProcessBackend and ContainerBackend (return empty list as events are Kubernetes-specific)
- Add comprehensive unit tests for the new functionality

This addresses issue #196 by providing an API for users to check TrainJob events, giving additional clarity about the state when logs alone are insufficient.

Related-To: #196
Signed-off-by: Aditya Shirsatrao <adityashirsatrao007@gmail.com>

* Update kubeflow/trainer/backends/kubernetes/backend.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aditya <adityashirsatrao007@gmail.com>

* Update kubeflow/trainer/backends/kubernetes/backend.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aditya <adityashirsatrao007@gmail.com>

* fix: Error handling consistent

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>

* fix: Error handling consistent

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>

* Pre-commit test failure fix

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>

* Args for docstring in Event class

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>

* test mock events API and align timeout handling

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>

* only handle timeout error from the list_namespaced_event() API

Signed-off-by: sksingh2005 <shashanksgh3@gmail.com>
... (continued)

48 of 81 new or added lines in 7 files covered. (59.26%)

1 existing line in 1 file now uncovered.

2599 of 3902 relevant lines covered (66.61%)

1.33 hits per line

Relevant lines Covered
Build:
Build:
3902 RELEVANT LINES 2599 COVERED LINES
1.33 HITS PER LINE
Source Files on main
  • Tree
  • List 58
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20780172530 main feat(trainer): add get_job_events API to retrieve TrainJob events (#220) * feat(trainer): add get_job_events() API to retrieve TrainJob events - Add Event dataclass to represent Kubernetes events with fields: involved_object_kind, involved_objec... push 07 Jan 2026 11:37AM UTC web-flow github
66.61
20773601027 pr-197 Merge 76a8948d0 into 8f3637c1e Pull #220 07 Jan 2026 07:12AM UTC web-flow github
66.61
20763015224 pr-197 Merge 254da15f5 into 8f3637c1e Pull #220 06 Jan 2026 09:44PM UTC web-flow github
66.64
20749930887 feat/kep-spark-client Merge c2a72fa27 into 8f3637c1e Pull #163 06 Jan 2026 01:36PM UTC web-flow github
66.74
20747503876 feat/171-add-initializer-support-container-backend Merge 0b7a9528c into 8f3637c1e Pull #188 06 Jan 2026 11:55AM UTC web-flow github
68.06
20722538864 feat/171-add-initializer-support-container-backend Merge 0dbb6b641 into 8f3637c1e Pull #188 05 Jan 2026 04:51PM UTC web-flow github
68.0
20722293333 feat/171-add-initializer-support-container-backend Merge 768a6a939 into 8f3637c1e Pull #188 05 Jan 2026 04:41PM UTC web-flow github
68.0
20597706575 feat/container-gpu-passthrough Merge 50ee611e2 into 5d0bd0cc5 Pull #219 05 Jan 2026 04:05PM UTC web-flow github
66.46
20719761526 main feat(trainer): support NVIDIA MIG device resources in TrainJob device… (#204) * feat(trainer): support NVIDIA MIG device resources in TrainJob Signed-off-by: Owen <owen.j@kakaoenterprise.com> * chore(trainer): update docstrings for GPU resource... push 05 Jan 2026 03:14PM UTC web-flow github
66.74
20601316614 feat/kep-spark-client Merge e378e42e2 into 5d0bd0cc5 Pull #163 30 Dec 2025 04:42PM UTC web-flow github
66.37
See All Builds (467)

Badge your Repo: sdk

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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