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

kubernetes-sigs / lws / 41306245064
88%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2026 12:27PM UTC
Jobs 1
Files 37
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

01 Nov 2026 12:23PM UTC coverage: 88.249% (-0.001%) from 88.25%
41306245064

push

github

web-flow
fix: report Ready only after the webhook server starts (#1261)

lws-controller-manager registers readyz as `healthz.Ping`, but it sets
up the webhooks only after the certs are ready. So a replica can go
Ready, and the Deployment Available, before it serves webhook calls.
Creating a LeaderWorkerSet right after the Deployment is Available can
then fail with `connection refused`.

setupControllers now closes a `webhooksReady` channel after it
registers the webhooks. The readyz check waits for that channel and
then runs the webhook server's `StartedChecker`. So readyz is never the
first caller of `GetWebhookServer()`, which would start a webhook
server with no webhooks. When `ENABLE_WEBHOOKS=false`,
lws-controller-manager sets up no webhook server, so readyz stays
`healthz.Ping`.

12 of 19 new or added lines in 1 file covered. (63.16%)

3 existing lines in 1 file now uncovered.

9297 of 10535 relevant lines covered (88.25%)

36803.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
31.03
3.3% cmd/main.go

Coverage Regressions

Lines Coverage ∆ File
3
31.03
3.3% cmd/main.go
Jobs
ID Job ID Ran Files Coverage
1 41306245064.1 01 Nov 2026 12:26PM UTC 37
88.25
GitHub Action Run
Source Files on build 41306245064
  • Tree
  • List 37
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0f324c7 on github
  • Prev Build on main (#41297394281)
  • Next Build on main (#41306255007)
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