Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/script-tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 9113651c10 hand agents the dashboard port, pinned claude and otel labels at container start
The three values that differ per host (deploy.hive-controller.dashboardPort,
claudeCodePackage and otel.extraResourceAttributes) no longer go into the
meta flake. hive-priv writes them into the container's
/etc/hyperhive-hive-facts with the hive name and domain, and the agent
reads them at boot:

- HIVE_DASHBOARD_PORT reaches every unit through the hive-facts generator;
  the web UI still defaults to 7000 without it.
- `claude` on PATH is a wrapper that runs HYPERHIVE_CLAUDE_CODE_PATH's
  claude when it is there, and the container's own claude-code otherwise.
  The host's serve.json keeps gc-rooting the pinned build.
- OTEL_RESOURCE_ATTRIBUTES moves out of the units' Environment= into a
  boot-time generator, which appends HYPERHIVE_OTEL_EXTRA_RESOURCE_ATTRIBUTES.

The agent options services.hyperhive.agent.claudeCodePath (now a removed
option) and otel.extraResourceAttributes go; only the meta render set them.
render_flake takes no HiveEnv any more, so the memory-cap render test and
render_hive_flake_at, which only existed to vary HiveEnv into the render,
go with it.

Refs #4857
2026-10-22 07:11:46 +02:00
..
agent-bao-fetch.nix agents: re-pull the agent's own bao mTLS leaf on a timer 2026-10-11 10:00:43 +02:00
agent-bao-fetch.sh agents: swap the agent's bao leaf in with one rename 2026-10-11 10:00:43 +02:00
agent-hive-facts.nix hand agents the dashboard port, pinned claude and otel labels at container start 2026-10-22 07:11:46 +02:00
agent-hive-facts.sh hand agents the dashboard port, pinned claude and otel labels at container start 2026-10-22 07:11:46 +02:00
agent-memory-cap.nix agents: hand over the kept drop-in's cap, warn at boot without one 2026-10-12 10:59:12 +02:00
agent-memory-cap.sh agents: always write the memory cap, infinity for none 2026-10-12 10:59:12 +02:00
nats-render-config.nix swarm-nats: take the callout issuer and user keys from the store 2026-10-06 14:53:33 +02:00
nats-render-config.sh swarm-nats: take the callout issuer and user keys from the store 2026-10-06 14:53:33 +02:00
refresh-consumer.nix swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare 2026-10-13 17:00:56 +02:00
refresh-consumer.sh swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare 2026-10-13 17:00:56 +02:00