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

kubernetes-sigs / lws / 42166418974
88%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 05:10AM UTC
Jobs 1
Files 41
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

06 Nov 2026 05:06AM UTC coverage: 88.177% (+0.1%) from 88.078%
42166418974

push

github

web-flow
Reject TPU-divergent subGroupPolicy partitions when the leader requests no TPUs (#1285)

* Reject TPU-divergent subGroupPolicy partitions when the leader requests no TPUs

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

* Re-trigger EasyCLA check

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

* Reject all TPU-divergent subgroup layouts and keep legacy objects updatable

Validate the two remaining divergent combinations (LeaderExcluded with a TPU
leader, both-TPU leader-extra layout) in a standalone helper, and exempt
existing objects from the new checks on update while size, subGroupSize, TPU
requests, and subGroupPolicyType stay unchanged and replicas do not grow.

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

* Keep legacy TPU subgroup layouts writable unless the partition changes

Admission follows injection, so a pod that already sets TPU worker env is not treated as injected. Replica changes stay allowed because scale bypasses this webhook, and DisaggregatedSet uses the same check when a role template changes.

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

* Simplify legacy TPU subgroup layouts to full grandfathering

Drop the partition-key equality gate: a spec that already fails the
check now stays writable regardless of how it is edited. The key could
not be proven complete against future injection changes, and rejecting
edits of already-failing objects only risked wedging routine
operations on them. Only writes that move a passing object into a
failing layout are still rejected.

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

---------

Signed-off-by: zhouyou9505 <zhouyou9505@gmail.com>

68 of 68 new or added lines in 2 files covered. (100.0%)

10710 of 12146 relevant lines covered (88.18%)

31955.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42166418974.1 06 Nov 2026 05:10AM UTC 41
88.18
GitHub Action Run
Source Files on build 42166418974
  • Tree
  • List 41
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dc7c7a66 on github
  • Prev Build on main (#42084381849)
  • Next Build on main (#42169423328)
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