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

kubernetes-sigs / lws / 28890140871
58%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 06:45PM 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

07 Jul 2026 06:42PM UTC coverage: 55.614% (-0.06%) from 55.673%
28890140871

push

github

web-flow
webhook: reject LeaderWorkerSet replicas outside [0, 1000000] range (#913)

- Add +kubebuilder:validation:Minimum=0 and Maximum=1000000 markers
  to the Replicas field in LeaderWorkerSetSpec so the OpenAPI schema
  enforces the bounds at the API server level.
- Update the validating webhook (generalValidate) to return a
  descriptive error when replicas < 0 or replicas > 1000000, providing
  defense-in-depth alongside the schema constraints.
- Regenerate CRD manifests (config/crd/bases, charts/lws/crds) so the
  minimum/maximum constraints are present in the installed CRD.
- Add integration test cases:
  * creation with replicas=1000001 should fail
  * update to replicas=1000001 should fail

This prevents the controller from crashing or looping when a user
submits an excessively large replica count, as identified in issue #908
and the related Kueue integration fix.

0 of 7 new or added lines in 1 file covered. (0.0%)

20 existing lines in 1 file now uncovered.

2105 of 3785 relevant lines covered (55.61%)

46.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
13.45
-0.32% pkg/webhooks/leaderworkerset_webhook.go

Coverage Regressions

Lines Coverage ∆ File
20
13.45
-0.32% pkg/webhooks/leaderworkerset_webhook.go
Jobs
ID Job ID Ran Files Coverage
1 28890140871.1 07 Jul 2026 06:45PM UTC 25
55.61
GitHub Action Run
Source Files on build 28890140871
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 87cf4a98 on github
  • Prev Build on main (#28789506696)
  • Next Build on main (#28897170844)
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