You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 contribute: the server should state the hive's display name on auth_ok instead of the relay parsing the hostname #19059
A contributor who connects a ClankeR relay to a hosted hive can only identify it by its hostname. The relay (and the queue lines in #19053) derive a short name from the first hostname label, so the hive that serves hivecommons/hive shows up as kubestellar-hive, because its host hosted-kubestellar-hive-<suffix>.hive.hivecommons.dev was generated from the org and repo names at claim time, before the project moved to the hivecommons org. The hive's real display name already reads "hivecommons hive".
Host names are minted once and deliberately never recomputed (see the handleRenameHive doc comment), so a rename of the hive never reaches the hostname. The hostname is therefore the wrong source for a name shown to people.
Proposal
The server states the hive's display name on auth_ok and the relay prefers it over parsing the hostname.
Server: auth_ok carries an optional hive_name (the normalized project.name, the same value the fleet self-report already uses). Additive and omitted when empty, so older relays ignore it.
Relay: store it on the hub record at auth_ok, expose one hiveDisplayName(hub) helper (lowercased, whitespace to dashes, so "hivecommons hive" reads hivecommons-hive) that returns null when the hub sent nothing. The hostname-derived short name stays as the fallback. No behaviour is gated on it, and an older hub that sends nothing keeps today's output.
Follow-up once #19053 lands: hiveShortName calls hiveDisplayName first.
Out of scope
Renaming the hostname itself is an infra change with its own risks (ingress, relay URLs, webhooks, docs) and is tracked separately.
Activity
🌱 chore: top up v6 from v5 (2026-11-18) (#19100)