hyperhive/nix/module-eval
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia ac2999252b grafana: the identity-mint alert selects the controller's pod records
On k8s/v1 the swarm-controller runs as a pod. Its logs reach the store
through the pod-log receiver with `service.name` "controller" and no
`_SYSTEMD_UNIT`, so `hh-agent-identity-mint-failed`, which selected the unit
and grouped by the host journal's `F_AGENT`, could never match: a failed
agent identity mint fired nothing.

Select `service.name`, and read the agent out of the stdout line with
`extract "agent=<agent> step="`: the controller logs `agent=<name>
step=<step> error=<text>` as tracing's text format after the message, and
the pod-log receiver keeps the whole line as `_msg`. The summary names the
`agent` label and the `error=` text. The review classifier doc's example
query changes the same way.

A controller test renders the failure through the stdout format and pins
that order. A module-eval case pins the rule's selector, the extract and
the grouping, and that no rule selects the controller's unit any more.
2026-11-30 22:20:34 +01:00
..
agent-android-dev.nix android-dev archetype: ship the Android SDK and nix-ld so a Gradle build runs 2026-11-20 19:35:47 +01:00
agent-forge-bao.nix agent ssh connections: declare per agent, render into the agent's ssh config 2026-11-20 03:10:41 +01:00
agent-github-bao.nix agents keep their github token in /run, fetched on every start, not in the state dir 2026-11-15 14:08:57 +01:00
agent-icon.nix swarm: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
agent-matrix.nix back off the matrix daemon's restarts so a homeserver outage can't flood the store with logins 2026-11-01 11:36:55 +01:00
agent-memory.nix bash tasks are the OOM killer's first victims: score 1000, subagent runs 900, MemoryHigh on the bash daemon 2026-11-19 08:03:07 +01:00
agent-otel.nix otel: collectors drop their own export-failure lines instead of shipping them 2026-11-15 01:20:18 +01:00
agent-plugins.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
agent-queue-bao.nix nix: the bash daemon gets the agent's store identity so it can publish its tasks 2026-11-21 13:31:28 +01:00
agent-rea.nix add rea agent module and reverse-engineer archetype 2026-10-27 11:33:04 +01:00
agent-runtime.nix swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back 2026-11-20 20:36:33 +01:00
agent-ssh-target.nix add an ssh ca to bao, agent ssh certificates and a target module 2026-11-16 20:31:18 +01:00
agent-user.nix move nixBuilds into its own agent module, and have the vm test's agent import it 2026-11-06 09:18:42 +01:00
bao-basics.nix outlast openbao's cold restart in the agent ca unit's start limit 2026-11-01 15:09:13 +01:00
bao-controller.nix full-setup and the host swarmctl reach the controller as a pod, not through a host socket 2026-11-30 22:19:18 +01:00
bao-grants.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
bao-matrix-reader.nix containers reach network-online only with a dhcp lease, and bao users wait for it 2026-11-01 11:06:41 +01:00
bao-otel-collector.nix swarm-otel: stamp sender from the authenticated client id, not a hive 2026-11-23 00:48:56 +01:00
boot-wait.nix 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
builder.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
ci-metrics.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
core-toggle.nix keep the container's secret key through the pod's first start 2026-11-30 22:20:34 +01:00
forge-placement.nix ci-runner: warn when the host has no nix store gc 2026-11-11 20:34:11 +01:00
grafana.nix grafana: the identity-mint alert selects the controller's pod records 2026-11-30 22:20:34 +01:00
hive-otel.nix otel: collectors drop their own export-failure lines instead of shipping them 2026-11-15 01:20:18 +01:00
hive-tls.nix swarm-archive: back up every agent's state to an append-only restic repository per agent 2026-11-10 07:49:49 +01:00
journald-severity.nix module-eval: assert the severity table once, not once per tier 2026-09-20 14:23:56 +02:00
k8s.nix keep the container's secret key through the pod's first start 2026-11-30 22:20:34 +01:00
lib.nix module-eval: give the Grafana stand-in a mainProgram, so upstream's getExe stops warning 2026-11-05 09:55:53 +01:00
matrix-core.nix hive-matrix: prefill the chat client with the server name, not the hive domain 2026-11-11 00:31:20 +01:00
name-guards.nix the operator's bao works on a store host without a hive 2026-11-11 09:10:50 +01:00
nats-authelia.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
nats-tls.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
secret-publisher.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
semi-spread.nix swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs 2026-11-12 12:18:32 +01:00
shared.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-otel-core.nix swarm-otel, swarm-grafana: a delivery unit fails on no value yet 2026-11-23 12:43:37 +01:00
swarm-otel-identity.nix run the metrics store and its auth responders as pods 2026-11-30 22:20:15 +01:00
swarm-services-switch.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00