hyperhive/nix/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas d9c7b7fcc1 fix(ci): hive-ci prefetch — correct partOf unit name + 401-harden token fetch
Two bugs that together kept the runner registration token from
refreshing (#1475):

1. Unit name: the prefetch's before/wantedBy/partOf targeted
   nixos-container@hive-ci.service, but a declarative containers.<n> is
   the host unit container@<n>.service (confirmed against the live
   container@hive-matrix.service during the #1465 incident). The wrong
   name made all three silent no-ops, so the partOf never bound — the
   RemainAfterExit oneshot stayed 'active (exited)' and never re-ran on
   nixos-container restart, leaving the stale token in place. Corrected
   to container@hive-ci.service.

2. 401-hardening: the registration-token fetch used a bare curl -sf | jq,
   so a forge-core-token that is stale/invalid for the current forge
   (e.g. after a forge rebuild) 401s and fails silently every attempt for
   the full 60s loop, then exits with a misleading 'core token absent or
   forge unreachable'. Now capture the HTTP status and fail fast + loudly
   on 401/403 with a clear message pointing at re-minting the core token.
2026-06-06 11:58:13 +02:00
..
hive-c0re.nix docs: specify certFingerprint format and generation recipe 2026-06-05 23:38:54 +02:00
hive-ci.nix fix(ci): hive-ci prefetch — correct partOf unit name + 401-harden token fetch 2026-06-06 11:58:13 +02:00
hive-forge.nix fix(#981): enable Forgejo Actions so runner registration token API works 2026-06-01 18:38:44 +02:00
hive-gateway.nix fix(nix): emit explicit port in .well-known/matrix/server delegation 2026-06-06 00:37:07 +02:00
hive-matrix.nix fix(matrix): correct container ordering unit name to container@<n>.service 2026-06-06 11:51:37 +02:00
hive-network.nix refactor: remove hyperhive.role option — there is only one role: agent 2026-06-04 14:31:44 +02:00