Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-builder/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 64dfe0d205 cache-miss pass pushes a record the builder did not push
A meta build whose attic push failed (attic or its token not up yet) is
recorded with cached false and the deploy goes ahead. Nothing sent that
build again until internal/meta moved, so the create for that agent
failed on every hive and a rebuild was silently never pending.

The controller's cache-miss pass now also takes a record from the head
with cached false: it sends the same build without asking the cache, with
the pass's existing backoff (30 min doubling to 12 h), and rewrites the
record with cached true once the push lands, under the same
compare-and-set guard as a path change. The push.rs module doc no longer
claims the next build pushes again.

Mixed versions: controller-only, same wire type and builder request. An
old controller leaves an uncached record as before; a builder needs no
change.

Closes #6173
2026-11-07 09:05:45 +01:00
..
archetypes.rs read the running rev and the hyperhive flake from /etc files, not the unit 2026-11-06 11:35:48 +01:00
hyperhive_flake.rs read the running rev and the hyperhive flake from /etc files, not the unit 2026-11-06 11:35:48 +01:00
main.rs swarm-builder: an agent option whose eval failed is left out of the reply, not read as its default 2026-11-06 11:36:32 +01:00
metrics.rs swarm-builder: export build counts, durations, queue wait and publish failures through the host's collector 2026-11-05 00:43:25 +01:00
nix_build.rs swarm-builder: an agent option whose eval failed is left out of the reply, not read as its default 2026-11-06 11:36:32 +01:00
push.rs cache-miss pass pushes a record the builder did not push 2026-11-07 09:05:45 +01:00