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

kubernetes-sigs / lws / 37286587861
85%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2026 08:56AM UTC
Jobs 1
Files 31
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

05 Oct 2026 08:54AM UTC coverage: 84.646% (+0.002%) from 84.644%
37286587861

push

github

web-flow
Name hash worker StatefulSets after the leader host name (#1126)

* Name hash worker StatefulSets after the leader host name

A hash leader has no pod name at admission, so its TPU_WORKER_HOSTNAMES listed workers as -1.<subdomain> and TPU_NAME was empty. Naming the worker StatefulSet after the leader host name, which admission sets, lets the leader compute its workers' names. Worker StatefulSets are now looked up by the leader host name in both modes, since it equals the pod name in Ordinal mode.

Same change as #1112 on release-0.11, plus the Group Identity docs.

Signed-off-by: Benjamin Braun <benjaminbraun@google.com>

* Use one leaderHostname variable in the TPU helpers

Workers are named after the leader host name, so the worker StatefulSet name and the leader host name are the same value. Keep a single leaderHostname instead of separate leader name and host name variables.

Signed-off-by: Benjamin Braun <benjaminbraun@google.com>

---------

Signed-off-by: Benjamin Braun <benjaminbraun@google.com>

34 of 34 new or added lines in 3 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

6235 of 7366 relevant lines covered (84.65%)

24972.21 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
99.12
-0.88% pkg/utils/accelerators/tpu.go
Jobs
ID Job ID Ran Files Coverage
1 37286587861.1 05 Oct 2026 08:56AM UTC 31
84.65
GitHub Action Run
Source Files on build 37286587861
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 344e9b78 on github
  • Prev Build on main (#36928643944)
  • Next Build on main (#37288312045)
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