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

kubernetes-sigs / lws / 26700104325
56%

Build:
DEFAULT BRANCH: main
Ran 31 May 2026 01:37AM UTC
Jobs 1
Files 25
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

31 May 2026 01:34AM UTC coverage: 56.136% (+11.8%) from 44.386%
26700104325

push

github

web-flow
[DisaggregatedSet][2/N] Add controller implementation with rolling update support (#836)

* [DisaggregatedSet][2/N] Add controller implementation

Add the full DisaggregatedSet controller implementation, migrated from
the standalone disaggregatedset module into the main LWS repository.

Components added:
- Reconciler with stateless rolling update detection
- Rolling update executor with coordinated drain and newest-first
  drain ordering for multi-revision scenarios (A→B→C)
- Stateless linear interpolation planner for N-role rolling updates
- LeaderWorkerSet manager for workload CRUD operations
- Service manager for headless portless endpoint discovery
- Utility functions for revision computation, labels, and naming

Key behaviors:
- Coordinated drain prevents orphan workloads across roles
- Newest-first drain ordering ensures broken intermediate revisions
  drain before stable originals
- maxSurge=0 correctly uses maxUnavailable for batch sizing
- Stability gate blocks progress until new workload is fully ready

Signed-off-by: Mathis Felardos <mathis@mistral.ai>

* [DisaggregatedSet][2/N] Add unit and integration tests

Add comprehensive test coverage for the DisaggregatedSet controller,
migrated from the standalone module with import path and API version
updates (v1alpha1 -> v1, LeaderWorkerSetTemplateSpec wrapping).

Test files:
- executor_test.go: drain ordering, coordinated drain, A→B→C scenarios,
  scaleUp/scaleDown operations, role change detection
- planner_test.go: rolling update step computation, linear interpolation,
  surge/unavailable constraints, orphan prevention, N-role support
- workload_manager_test.go: LWS CRUD, initial-replicas annotation,
  revision computation, metadata merging
- service_manager_test.go: headless service lifecycle, cross-role
  readiness coordination, drained service cleanup
- utils_test.go: label/naming utilities, owner reference management
- disaggregatedset_controller_test.go: integration tests with envtest

S... (continued)

966 of 1173 new or added lines in 6 files covered. (82.35%)

2150 of 3830 relevant lines covered (56.14%)

45.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
89
29.37
pkg/utils/disaggregatedset/utils.go
40
85.29
pkg/controllers/disaggregatedset/executor.go
36
77.09
77.09% pkg/controllers/disaggregatedset/disaggregatedset_controller.go
21
90.28
pkg/controllers/disaggregatedset/lws_manager.go
11
95.74
pkg/controllers/disaggregatedset/planner.go
10
92.25
pkg/controllers/disaggregatedset/service_manager.go
Jobs
ID Job ID Ran Files Coverage
1 26700104325.1 31 May 2026 01:37AM UTC 25
56.14
GitHub Action Run
Source Files on build 26700104325
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 17ee2304 on github
  • Prev Build on main (#26474061889)
  • Next Build on main (#26746669545)
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