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

kubeflow / sdk / 21944504251
73%

Build:
DEFAULT BRANCH: main
Ran 12 Feb 2026 11:21AM UTC
Jobs 2
Files 83
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

12 Feb 2026 11:20AM UTC coverage: 72.824% (+4.0%) from 68.801%
21944504251

push

github

web-flow
feat: add SparkClient API for SparkConnect session management (#225)

* feat(spark): add core types, dataclasses, and constants

- Add SparkConnectInfo, SparkConnectState, Driver, Executor types
- Add type tests for validation
- Add Kubernetes backend constants (CRD group, version, defaults)

Signed-off-by: Shekhar Rajak <shekharrajak@live.com>

* feat(spark): add backend base class and options pattern

- Add RuntimeBackend abstract base class with session lifecycle methods
- Add options pattern (Name, Image, Timeout, etc.) aligned with trainer SDK
- Add validation utilities for connect parameters
- Add comprehensive option tests

Signed-off-by: Shekhar Rajak <shekharrajak@live.com>

* feat(spark): add KubernetesBackend for SparkConnect CRD operations

- Implement KubernetesBackend with create/get/list/delete session methods
- Add port-forward support for out-of-cluster connections
- Add CRD builder utilities and URL validation
- Add comprehensive backend and utils tests with parametrized patterns

Signed-off-by: Shekhar Rajak <shekharrajak@live.com>

* feat(spark): add SparkClient API with KEP-107 compliant connect method

- Implement SparkClient as main user interface for SparkConnect sessions
- Support connect to existing server (base_url) or auto-create new session
- Add public exports for SparkClient, Driver, Executor, options
- Add SparkClient unit tests

Signed-off-by: Shekhar Rajak <shekharrajak@live.com>

* chore(spark): add test infrastructure and package init files

- Add test common utilities and fixtures
- Add package __init__ files for test directories
- Setup test/e2e/spark structure

Signed-off-by: Shekhar Rajak <shekharrajak@live.com>

* feat(spark): add example scripts demonstrating SparkClient usage

- Add spark_connect_simple.py with 3 usage levels (minimal, simple, advanced)
- Add spark_advanced_options.py with full configuration examples
- Add connect_existing_session.py for connecting to existing servers
- Add demo and test scri... (continued)

1115 of 1292 new or added lines in 18 files covered. (86.3%)

4092 of 5619 relevant lines covered (72.82%)

1.46 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.53
kubeflow/spark/backends/kubernetes/backend_test.py
1
98.88
kubeflow/spark/types/options.py
5
84.38
kubeflow/spark/api/spark_client.py
6
73.91
kubeflow/spark/backends/base.py
8
92.23
kubeflow/spark/backends/kubernetes/utils.py
50
13.79
kubeflow/spark/types/validation.py
106
60.0
kubeflow/spark/backends/kubernetes/backend.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 21944504251.1 12 Feb 2026 11:22AM UTC 83
72.82
GitHub Action Run
2 python-3.10 - 21944504251.2 12 Feb 2026 11:21AM UTC 83
72.82
GitHub Action Run
Source Files on build 21944504251
  • Tree
  • List 83
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21944504251
  • c6a6c526 on github
  • Prev Build on main (#21941961384)
  • Next Build on main (#21955571005)
  • 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