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
iris 1a31a4cd5a swarm: set an agent's config repo avatar from its icon
The agent module exposes the PNG nix renders from the agent's icon as the
read-only option services.hyperhive.agent.iconPng, which the forge and matrix
avatar syncs now share. When the builder reads an icon it builds that one
attribute with nix build and sends the file, base64, next to the SVG in the
meta build reply, so the builder runs no renderer of its own.

After recording the icon, the controller sets the avatar of
agent-configs/<agent> from the PNG as the forge admin, removes the avatar when
the icon is removed, and leaves it alone when the builder sent no PNG. A marker
per repo holds the image's fingerprint, so a build whose icon did not change
makes no forge call; a forge that refuses the avatar does not fail the build.
An old builder sends no PNG, so it changes nothing.
2026-11-23 10:11:16 +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 daemons exit 0 when told to stop while still waiting for the store at startup 2026-11-19 08:06:36 +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: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
push.rs the builder reads an agent's icon from its config and the controller writes the swarm's copy 2026-11-16 23:01:08 +01:00