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

kubernetes-sigs / lws / 44179103531
88%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 09:26PM UTC
Jobs 1
Files 42
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

17 Nov 2026 09:22PM UTC coverage: 88.459% (+0.08%) from 88.378%
44179103531

push

github

web-flow
Pace combined scale-up and rolling updates via availability floor (#1258)

* Pace combined scale-up and rolling updates via availability floor

Pace combined template updates and scale-ups (as well as scale-ups during
an active rolling update) across both Ordinal and Hash groupIdentity modes
against the pre-rollout non-surge availability floor
max(0, min(baseline, spec.replicas) - maxUnavailable), tracked via a single
rollout-baseline-replicas annotation on the leader StatefulSet/Deployment
and cleared upon rollout convergence.

- Ordinal mode: compute partition and stale-leader disruption directly from
  current cached group states without multi-phase JSON state machines or
  uncached API reads; protect uncredited Ready groups below partition across
  multiple unready prefix ordinals; enforce the availability floor in
  deleteStaleOrdinalLeaders; and apply mid-rollout scale-downs immediately.
- Hash mode: widen the leader Deployment's RollingUpdate maxUnavailable to
  spec.replicas - floor while spec.replicas > baseline, restoring the user
  budget and clearing the baseline annotation once the rollout converges.
- Docs & API: clarify percentage budget resolution against desired
  spec.replicas and document unified Ordinal and Hash combined rollout
  semantics.

Co-authored-by: chen shoval <73109795+chenshoval@users.noreply.github.com>
Signed-off-by: ahg-g <ahg@google.com>

* Clear the rollout baseline once the revision rollout completes

A group that stayed unready after every group reached the target revision
kept rollout-baseline-replicas indefinitely. The next template update then
reused the smaller pre-rollout baseline and relaxed the availability floor,
for example letting an 8-replica LWS with maxUnavailable=1 take down four
Ready groups at once. A replica-only scale-down with an unready surviving
group also recorded a baseline without any rollout.

- Ordinal: keep the baseline only while the partition is above the user
  partition, a desired g... (continued)

908 of 1016 new or added lines in 3 files covered. (89.37%)

2 existing lines in 1 file now uncovered.

11627 of 13144 relevant lines covered (88.46%)

35720.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
91
87.51
1.77% pkg/controllers/leaderworkerset_controller.go
17
82.95
0.43% pkg/controllers/leaderworkerset_hash.go

Coverage Regressions

Lines Coverage ∆ File
2
87.51
1.77% pkg/controllers/leaderworkerset_controller.go
Jobs
ID Job ID Ran Files Coverage
1 44179103531.1 17 Nov 2026 09:26PM UTC 42
88.46
GitHub Action Run
Source Files on build 44179103531
  • Tree
  • List 42
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b869a695 on github
  • Prev Build on main (#43714538905)
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