HydraIssues

hydramirror CI: rotate GO_PRIVATE_TOKEN (short-lived) + fix OCI publish 401 (stale SCALE_REGISTRY_TOKEN)
open unclassified Project: hydramirror Reporter: 13 Oct 2026 20:39

Description

Two CI-credential residuals from shipping v1.20.1 (#630):

  1. GO_PRIVATE_TOKEN: the release workflow had NO private-module auth, so every tagged build failed once hydraapi/hydramonitor/etc went private (fatal: could not read Username for github.com). Added the same Configure-private-Go-modules step hydranode uses (commit b25801a). To unblock the release the secret was seeded from a short-lived gho_ OAuth token. ACTION: replace it with a durable fine-scoped PAT (read on private cederikdotcom repos), same as hydranode: gh secret set GO_PRIVATE_TOKEN --repo cederikdotcom/hydramirror. Until then CI will break when the OAuth token rotates.

  2. OCI publish 401: the Publish OCI image job fails to log in to scaleregistry.experiencenet.com (401), so the amd64/arm64 image is not published and the container mirror scales (bxl1, bxl1-b) stay on the old version without builds retention. Low impact (those mirrors have ample disk), but they will not get v1.20.1 until SCALE_REGISTRY_TOKEN on this repo is refreshed from the registry host. This is the known fleet-wide stale-registry-token issue.

The binary release path (used by nbg1, the mirror that actually fills) works and v1.20.1 is live there.