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
atlas cafa120d77 swarm-builder: scope the forge token to the forge, one build at a time, opt-in
argus's review on #5177: the git credential helper answered every `get`,
so a config PR's own flake inputs could have git send the builder's forge
token to any host. The helper is now configured under
`credential.<forge-url>.helper` and itself answers only an https request
whose host is the forge's; a test runs it as git does and checks that
other hosts, http and non-get operations get nothing.

Builds are bounded: every `build_agent` node needs the one `builder` jobq
resource, so one runs at a time and the rest wait pending, and a newer
head cancels its PR's pending build (a running one finishes and writes on
its own commit). The builder also holds a one-permit semaphore around each
build.

`builder` and `review-classifier`, the forge logins swarm-controller owns,
join nix/reserved-names.nix, with a test tying the list to both constants.

The builder is now opt-in like the CI runner: `allSwarmServices` no longer
turns it on, since it runs unreviewed config PRs through the host's nix
daemon. mara had not answered atlas's question on the PR.
2026-10-14 03:30:46 +02:00
..
agent-forge-bao.nix agents: swap the agent's bao leaf in with one rename 2026-10-11 10:00:43 +02:00
agent-github-bao.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
agent-icon.nix nix: split module-eval into per-subsystem checks 2026-09-20 04:25:54 +02:00
agent-matrix.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
agent-memory.nix subagent, bash: run each subagent run and bash task in its own cgroup 2026-10-13 12:25:27 +02:00
agent-otel.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
agent-plugins.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
agent-queue-bao.nix module-eval: restore agentWith in agent-queue-bao.nix 2026-10-13 14:56:25 +02:00
agent-runtime.nix agents: swap the agent's bao leaf in with one rename 2026-10-11 10:00:43 +02:00
agent-user.nix module-eval: agent-user test asserts the heal_own_dir form 2026-10-09 11:30:30 +02:00
bao-basics.nix swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare 2026-10-13 17:00:56 +02:00
bao-controller.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
bao-grants.nix swarm-builder: build each agent config PR head and post a commit status 2026-10-14 03:30:46 +02:00
bao-matrix-reader.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
bao-otel-collector.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
builder.nix swarm-builder: scope the forge token to the forge, one build at a time, opt-in 2026-10-14 03:30:46 +02:00
core-toggle.nix swarm-victorialogs: size the agent-auth limit for a host booting its agents together 2026-10-14 01:54:54 +02:00
forge-placement.nix glue: otel scrape targets for authelia, grafana and nats move out of the services 2026-10-14 01:40:40 +02:00
grafana.nix glue: otel scrape targets for authelia, grafana and nats move out of the services 2026-10-14 01:40:40 +02:00
hive-otel.nix glue: consumers' start-after-bao ordering moves into one glue module 2026-10-13 22:05:16 +02:00
hive-tls.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
journald-severity.nix module-eval: assert the severity table once, not once per tier 2026-09-20 14:23:56 +02:00
lib.nix module-eval: set the hive-controller option only in tests that need a hive 2026-10-05 09:58:13 +02:00
matrix-core.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
name-guards.nix swarm: refuse swarm.hives keys that are not valid hive identifiers 2026-10-12 21:45:50 +02:00
nats-authelia.nix glue: otel scrape targets for authelia, grafana and nats move out of the services 2026-10-14 01:40:40 +02:00
nats-tls.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
secret-publisher.nix glue: the secret publisher's authelia-dependent settings move out of the publisher module 2026-10-14 01:52:53 +02:00
shared.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
swarm-otel-core.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
swarm-otel-identity.nix swarm-otel: declare forgejo's published scrape target on every host 2026-10-13 22:15:13 +02:00
swarm-services-switch.nix swarm-builder: scope the forge token to the forge, one build at a time, opt-in 2026-10-14 03:30:46 +02:00