Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/module-eval
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia d390e7a5cc k8s: the store-credential unit starts at fork, off the boot and switch path
`swarm-bao-store-auth` was a retrying oneshot on multi-user.target. A
oneshot's start job stays pending through its restarts, so a boot or a switch
with the secret store sealed waited on it for up to 15 minutes, the same
shape as #6901's CA publisher.

It is now `Type=simple` with the shared retry kept: the start job is done at
fork and the unit keeps trying until the store answers. `RemainAfterExit`
leaves it `active (exited)` once the credential is out, and the 15-minute
start timeout goes, as a start job done at fork has no use for it. Nothing
orders after the unit: the gateway reads the file at its next reload and the
pods wait in ContainerCreating for the Secret.

`is-active` is now true while the script runs and `systemctl restart` returns
at fork, so the k8s-services and k8s-nats tests wait for `SubState=exited` where they relied
on either.

Closes #6937
2026-11-29 14:02:31 +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
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
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
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
bao-basics.nix
bao-controller.nix full-setup and the host swarmctl reach the controller as a pod, not through a host socket 2026-11-29 14:02:31 +01:00
bao-grants.nix the queue's exporter asks every request for a login the gateway supplies 2026-11-29 14:02:31 +01:00
bao-matrix-reader.nix
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
builder.nix require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +01:00
ci-metrics.nix require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +01:00
core-toggle.nix run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00
forge-placement.nix
grafana.nix swarm-controller: move the observability concern into its own module 2026-11-27 14:21:35 +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
journald-severity.nix
k8s.nix k8s: the store-credential unit starts at fork, off the boot and switch path 2026-11-29 14:02:31 +01:00
lib.nix
matrix-core.nix
name-guards.nix
nats-authelia.nix run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00
nats-tls.nix require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +01:00
secret-publisher.nix run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00
semi-spread.nix
shared.nix require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +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-29 14:02:31 +01:00
swarm-services-switch.nix run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00