Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix
Author SHA1 Message Date
atlas
aed7c8451a read the running rev and the hyperhive flake from /etc files, not the unit 2026-11-06 11:35:48 +01:00
atlas
39482ea6cd forge-token: exit 1 when the store read fails for any reason but "not there"
Only "No value found at" and a 403 mean the token is not minted yet and
exit 0. Any other failure exits 1 so the restart policy and store-retry
apply. The token file stays untouched either way.

Closes #6089
2026-11-06 09:19:33 +01:00
atlas
d5eb7711e6 move nixBuilds into its own agent module, and have the vm test's agent import it 2026-11-06 09:18:42 +01:00
atlas
f930571e38 nixBuilds none: turn the container's own nix-daemon socket and service off 2026-11-06 09:18:42 +01:00
atlas
5485151ba6 add a per-agent nix builds mode, host or none, carried like privateUsers 2026-11-06 09:18:42 +01:00
atlas
6847ed865a bind a namespaced agent's socket dir off /run so its owner maps to the agent user 2026-11-06 09:18:16 +01:00
atlas
89bbeb9757 the bridge resolver answers other record types for its own names locally instead of waiting on an upstream 2026-11-05 16:04:40 +01:00
iris
2b78634944 swarm-grafana: dashboards for the swarm builder, the CI runner, Matrix and the notification router 2026-11-05 10:44:33 +01:00
damocles
3a77e869eb module-eval: give the Grafana stand-in a mainProgram, so upstream's getExe stops warning 2026-11-05 09:55:53 +01:00
atlas
cb5a9b2bd7 report the real error when the granter role's bootstrap step fails, and retry on a standby store 2026-11-05 08:57:10 +01:00
atlas
bef9d401a4 matrix: report homeserver up, latency and database size through existing collectors
tuwunel 1.9.4 exports no metrics. The host collector gets an httpcheck
receiver on the gateway's /_matrix/client/versions (new
services.hyperhive.otel.httpChecks, declared by hive-matrix), and a timer in
the hive-matrix container pushes the database directory's size through the
forwarder's OTLP port, as the attic cache-size unit does. The size step
dereferences the state directory's symlink and pushes nothing for a result
under 4096 bytes.
2026-11-05 08:30:06 +01:00
iris
d1f83c64ce swarm-grafana: a dashboard for grafana itself 2026-11-05 08:08:57 +01:00
damocles
652c0e9614 swarm-claude-login: export login step, duration, expiry and active session metrics 2026-11-05 01:31:23 +01:00
damocles
7efcfd0644 swarm-notify-router: export event, todo, review request and consumer metrics 2026-11-05 01:31:23 +01:00
iris
d86ecd68a8 module-eval: the CI metric names are pinned from the forge board's CI runs tab 2026-11-05 00:47:17 +01:00
iris
ffe2116561 swarm-grafana: shorten the forge board description 2026-11-05 00:47:17 +01:00
iris
bc5c36dba6 swarm-grafana: the forge and CI runs boards become one forge board with content, runtime and CI runs tabs 2026-11-05 00:47:17 +01:00
atlas
e30f5849d5 swarm-builder: export build counts, durations, queue wait and publish failures through the host's collector
The builder pushes its build metrics (builds by kind and outcome, build
duration, queue depth and wait, reply publish failures) to its forwarder's
OTLP receiver, which relays them to the swarm collector.

It also registers the standard store client-certificate gauges
(bao.client_cert.*, cert=builder) on the same exporter. They are the
builder's liveness signal: exported every minute whether or not a build
runs. The cert-metrics table in docs/scheduler/observability.md gains the
builder row.
2026-11-05 00:43:25 +01:00
atlas
0bc350a8a1 ci runner: export its built-in metrics through the container's forwarder 2026-11-04 22:26:54 +01:00
atlas
dd5fde848f squid blocks a runtime deny list from the controller in every egress mode, ahead of the allow list 2026-11-04 22:16:35 +01:00
atlas
3cc4fdb54c agent: say claude-code is only on PATH for the claude runtime in acp.command 2026-11-04 21:02:49 +01:00
atlas
1ce5996c49 agent: pull in and allow claude-code only for the claude runtime 2026-11-04 20:52:49 +01:00
atlas
1e2e93da59 report the granter login's real error and retry on a standby store 2026-11-04 19:37:09 +01:00
atlas
1665436347 authelia's store-login units wait for the container's network 2026-11-04 19:16:47 +01:00
atlas
92f79622f9 give the secrets unit a private tmp for its prefetched secrets 2026-11-04 17:26:34 +01:00
atlas
197caa1e52 fetch the secrets unit's store leaves concurrently and log how long each phase takes 2026-11-04 17:04:35 +01:00
iris
23c2527199 harness metrics for tool calls, bash commands, reminders and first-turn context, on the agents board
The per-agent /stats page read these from its sqlite; the swarm board had
none of them. hive-agent now counts the tools a turn called, the commands
bash tasks ran (from the bash daemon's own table, newer rows only),
reminders scheduled and delivered, and records the first turn of a fresh
session; the turns tab shows them, with fresh sessions per agent. Claude's
own export has no tool-call counter, so the docs no longer say it does.
2026-11-03 16:05:49 +01:00
atlas
5f9629dfc7 store_seeded: report a failed read instead of minting over it 2026-11-03 15:53:33 +01:00
iris
5e9a22cb38 remove the hive dashboard's stats page and the price table behind it
The ST4TS page (/stats.html), GET /api/stats-hive, hive-c0re's hive_stats
rollup and the modelPrices option that only fed its cost estimate are
gone. Each agent's own /stats page and the turn-stats database it reads
are unchanged. Setting modelPrices now fails evaluation with a message
saying so.
2026-11-03 07:45:51 +01:00
atlas
1d3ab2fae5 run swarm-attic in its own network namespace
the gateway reaches atticd over a unix socket a relay in the container
forwards, and the host unit that creates the cache dials its public name.
2026-11-03 07:42:10 +01:00
iris
aecde1dc75 agents board: a turns tab, and turn duration bounds past 10 s
The per-agent /stats page shows what the swarm agents board lacked about
turns. The new tab reads the turn count and duration the harness already
records: average duration, cache hit rate, tokens per turn, turns per hour
by agent and by model, duration percentiles, and the wake source and result
mixes. The duration histogram used the SDK default buckets, which stop at
10 s while a turn averages 24 s, so every p95 read a flat 10 s; it now has
explicit bounds up to an hour.
2026-11-03 00:20:45 +01:00
müde
f08a0a5d09 nix: hyperhive-the-movie app (gource history movie), replaces gource.sh 2026-11-02 20:34:13 +01:00
iris
29569e90ed links menu: give the forge link an emoji-presentation icon
U+2692 is text-presentation by default, so it drew as a small
monochrome glyph next to the colour icons of the other links. The
hammer is emoji-presentation by default.
2026-11-02 20:19:05 +01:00
atlas
65d75da8db vm tests: idmap-capable store for the userns subtest, restart nix-daemon via its socket 2026-11-02 18:20:47 +01:00
atlas
a0c8892b99 sum the boot-wait budgets of units that start one after another in a container, and check it 2026-11-02 17:22:37 +01:00
atlas
d6e983995d add external gitlab accounts: stored in bao, linked per agent, allowed in squid, usable with glab 2026-11-02 16:44:56 +01:00
atlas
3b8ab17240 bound the forge's SSO source setup and retry it with a growing delay 2026-11-02 08:08:41 +01:00
atlas
70b112058a keep service containers' boot-wait budgets under their start limit, and check it 2026-11-02 08:00:26 +01:00
atlas
da0cdda6a4 vm-nightly: drop placeholder-free f prefixes, enable nix-command on the offline test's path-info 2026-11-02 07:57:07 +01:00
atlas
279428a66f wait for grafana's socket and read the forge's user list whole in the mint 2026-11-02 00:22:25 +01:00
atlas
c0429bf617 export the swarm cache's size from atticd's database to the attic dashboard 2026-11-01 23:46:23 +01:00
atlas
99752f81d9 remove the needs_update system event: nothing emits it
Refs #5948
2026-11-01 23:08:12 +01:00
atlas
8a7f254c74 remove c0re.preBuildAgentTemplates and agentBaseToplevel 2026-11-01 22:20:15 +01:00
atlas
4d85ec4c21 nightly vm test: the builder's meta build finds a prebuilt agent in an offline store 2026-11-01 21:25:32 +01:00
atlas
90272ec3c0 move links, adminSync.ignoreUsers and scrapeTargets under their service's deploy namespace 2026-11-01 20:47:23 +01:00
atlas
a0deb29e59 start the container journal forwarder's collector from its secret fetch, with backoff 2026-11-01 19:11:26 +01:00
atlas
a73946102f bao reader policy, responder units and docs for the per-surface grant 2026-11-01 18:40:35 +01:00
atlas
b2694b0a92 add a grafana dashboard for the swarm binary cache 2026-11-01 18:07:45 +01:00
damocles
862495530c drop the applied repo: the hive keeps no copy of an agent's config, only the deploy markers. Refs #5913 2026-11-01 17:49:10 +01:00
iris
d53cfc50bf builds board: count builds by id, so a doubled journal does not double the totals 2026-11-01 17:18:58 +01:00