hyperhive/nix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 4f446269ae fix: re-run hive-ci-prefetch on every container restart via partOf
The hive-ci-prefetch oneshot has RemainAfterExit=true and is wired to the
container only via wantedBy + before. Once it runs successfully it stays
'active (exited)' indefinitely, so systemd skips it on subsequent container
restarts. The runner-token file it wrote is never refreshed.

This breaks the runner after its first registration: the token written on
the first successful boot is either a placeholder (forge-core-token wasn't
ready yet) or a registration token that has since been consumed/rotated.
On the next container restart prefetch does not re-run, the stale token
persists, and the in-container register service fails with
'invalid_argument: runner registration token not found' — exactly the
symptom in the field (worked briefly, two orphan runners registered, then
permanently offline).

Add partOf = [ nixos-container@hive-ci.service ] so a container stop/restart
propagates to the prefetch unit, forcing it to re-run and fetch a fresh
registration token before the container comes back up. before= still orders
it ahead of the container start within the same transaction.
2026-06-05 00:39:13 +02:00
..
docs chore: scrub #NNN issue references from code comments and nix descriptions 2026-06-01 13:30:52 +02:00
forge-theme forge: use branding/hyperhive.svg for logo and favicon 2026-05-21 17:50:46 +02:00
modules fix: re-run hive-ci-prefetch on every container restart via partOf 2026-06-05 00:39:13 +02:00
packages chore: scrub #NNN issue references from code comments and nix descriptions 2026-06-01 13:30:52 +02:00
templates fix(#1304) scope state/harness chowns to own agent dir in hive-agent-user-migrate 2026-06-04 21:04:12 +02:00
assets.nix docs/gotchas.md: extract nix/{assets,docs,templates/weston-vnc} prose (#718 batch 3) 2026-05-31 15:24:39 +02:00
frontend.nix frontend: npm dependency updates (#681) 2026-05-31 01:29:35 +02:00