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

kubernetes-sigs / lws / 34607601421
64%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2026 02:03PM UTC
Jobs 1
Files 29
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

11 Sep 2026 02:00PM UTC coverage: 64.491% (+0.8%) from 63.682%
34607601421

push

github

web-flow
test: cover the rolling update partition helpers (#1041)

rollingUpdatePartition decides which replicas a rolling update is
allowed to touch next, and calculateContinuousReadyReplicas and
calculateLWSUnreadyReplicas feed it. A wrong partition either violates
maxUnavailable or leaves the rollout stuck. None of the three had a
direct test; they were only exercised through the integration suite.

Add table-driven cases for the behaviours the code encodes: the ready
tail is counted only while replicas are also updated; replicas without
a state yet count as unready; the partition advances by rollingStep from
the tail, is held while a replica below the window is not ready, still
drops for a not ready replica at the window edge so a broken rollout can
finish, and never moves back up.

Each case was checked by mutation: dropping the updated check, removing
the unavailable guard, letting the partition grow and ignoring missing
states each turn exactly the cases that guard them red.

3191 of 4948 relevant lines covered (64.49%)

44.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34607601421.1 11 Sep 2026 02:03PM UTC 29
64.49
GitHub Action Run
Source Files on build 34607601421
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4f9ed4c9 on github
  • Prev Build on main (#34598769451)
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