Skip to content

v5.253.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:09
· 759 commits to v5 since this release

Added

  • Hub dashboard: Register your own hive is now a form when the hub runs with HIVE_HUB_SELFSERVICE_REGISTRATION (#18060, #18145). Both CTAs (header and the "No hives yet" empty state) ask GET /api/hub/selfservice/status on load; with the flag off they keep linking to the self-host guide, with it on they open a modal that takes a name (shown with the fixed byo-<login>- prefix), org, one owner/name repository per line and an optional https dashboard URL, and posts to /api/hub/selfservice/hives. On success the heartbeat key is shown once with a copy button and a "copy before closing" warning, beside the hub URL and Docker Compose, Podman and Kubernetes snippets in tabs; the key lives only in the open dialog and is wiped from the DOM on close. Validation, not-an-admin (naming the refused repo), duplicate, per-user cap and GitHub-unreachable answers appear inline. A new Self-hosted hives section lists the signed-in user's own registrations with an online badge and last accepted heartbeat, Rotate key (confirm, then the new key once with the overlap note) and Remove (confirm, then revoke).
  • A project.reference_repos entry derived from an accepted request issue resolves its credential from the GitHub App installation on the requesting org instead of refusing to boot: with an installation it keeps write: [issues, prs], without one it is served read-only in memory and the request issue gets exactly one marked hive:reference-repos-read-only comment saying the hive can read but not open issues or PRs there (re-posted only when the read-only set changes, never on a plain reload). write_token_file is never consulted for a derived entry, a hand-written write-mode entry without a credential still exits 22, and /api/status referenceRepos entries now carry derived_from, credential_state (write-tier, read-only, unresolved) and credential_reason (#18139, #18158).
  • The hub marketplace seeds a second curated TechDocs model, cncf-techdocs-assessment@curated-2026.11.2, identical to curated-2026.11.1 except for a spec.intake block naming the assessment-request form headings ("Website or documentation repository", "Other repositories or sites in scope", "Out of scope") that yield derived write-tier reference repos once a maintainer accepts the request; curated-2026.11.1 stays in the catalogue unchanged, so a hive still bound to it derives nothing until it rebinds (#18139, #18160).

Security

  • Self-service hive registration hardening (#18166, part of #18060): HIVE_HUB_SELFSERVICE_MAX_PER_USER is now enforced again under the self-service store lock, so concurrent POST /api/hub/selfservice/hives requests from one user can no longer all pass the pre-ownership count and exceed the cap (the late refusal answers 429 and logs selfservice_hive_refused with reason=per_user_cap). New self-service IDs use byo-<login>--<name> instead of byo-<login>-<name>, so logins that contain hyphens can no longer collide or squat each other's IDs (a-b + c and a + b-c both used to become byo-a-b-c); a login containing -- or starting or ending with - is refused with reason=invalid_login, and a name may not start with -. Hives registered before this change keep their existing IDs and keys. Repo references . and .. (for example owner/..) are now refused everywhere repo refs are validated, so they can no longer be resolved as path segments in the GitHub ownership-check URL.

SBOMs: SPDX JSON, generated by Syft against the linux/amd64 image digest, attached below for hive, hive-contributor, and hive-hub. They cover linux/amd64 only — see releases.md for why linux/arm64 is not scanned separately.

NOTICE: third-party license attribution for the Go module dependencies compiled into these images, attached below. Does not cover base-image OS packages or the Node.js/tmux layers built from source — see releases.md for the exact boundary.