Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix
Author SHA1 Message Date
atlas
4c65677b8d module-eval: the queue's pod, jwt roles, host units, exposure rules and store guard 2026-11-28 09:59:09 +01:00
atlas
64016a2740 nats: runtime k8s runs the queue and its auth callout as one pod 2026-11-28 09:59:09 +01:00
atlas
eba553c90b bao: the queue pod's two jwt roles share one ServiceAccount 2026-11-28 09:59:09 +01:00
atlas
e36b526335 docs: the controller's runtime, hostPort hop, listener leaf, state and rev rollout 2026-11-28 09:59:09 +01:00
atlas
a4df766d53 vm-tests: k8s-controller-switch moves the controller between its unit and the cluster 2026-11-28 09:59:09 +01:00
atlas
3d651d9b26 module-eval: the controller's runtime, hostPort hop, listener leaf and rev rollout 2026-11-28 09:59:09 +01:00
atlas
452f1af675 k8s: deploy.swarm-controller.runtime moves the controller between its unit and the cluster 2026-11-28 09:59:08 +01:00
atlas
a0215e917f vm-tests: k8s-runtime-switch moves the review classifier and the claude login minter with the router 2026-11-28 09:59:08 +01:00
atlas
7fd0107462 module-eval: the claude daemons' units, host-mode containers, pods, jwt roles and refusals 2026-11-28 09:59:08 +01:00
atlas
b2e9e81320 k8s: deploy.review-classifier.runtime and deploy.claude-login.runtime move the claude daemons between their containers and the cluster 2026-11-28 09:59:08 +01:00
atlas
bc530cec3d vm-tests: k8s-runtime-switch moves the CI run poller with the router and the speech-to-text service 2026-11-28 09:59:08 +01:00
atlas
6bb155e5cf k8s: deploy.ci-metrics.runtime moves the CI run poller between its timer and the cluster 2026-11-28 09:59:08 +01:00
atlas
a542498510 k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-28 09:59:08 +01:00
atlas
49bedb5108 vm-tests: k8s-runtime-switch moves the speech-to-text service with the router 2026-11-28 09:59:08 +01:00
atlas
2be4ba1a09 docs: the speech-to-text service's runtime, limits and cache volume 2026-11-28 09:59:08 +01:00
atlas
609a22a656 k8s: deploy.stt.runtime moves the speech-to-text service between its container and the cluster 2026-11-28 09:59:08 +01:00
atlas
7dafd20a10 vm-tests: k8s-runtime-switch moves the router between its container and the cluster and back 2026-11-28 09:59:08 +01:00
atlas
0a65778c85 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-28 09:59:08 +01:00
atlas
d4eab3348c k8s: a pod's public CA files come from a ConfigMap, not a Secret 2026-11-28 09:59:08 +01:00
atlas
5a5e23802c vm-tests: k8s-bao-login runs a pod's ServiceAccount login against the real store 2026-11-28 09:59:08 +01:00
atlas
e5a863ce79 k8s: pods log in to the secret store with their ServiceAccount token
The store gets a listener for the pods that asks for no client certificate,
open on the pod network's interfaces only, and a jwt auth mount with one
role per in-cluster service. The rendered pods run under a ServiceAccount
with a projected token in place of their client certificate.
2026-11-28 09:59:08 +01:00
atlas
e3098e0d03 vm-tests: a running collector keeps its cursor when it switches to the static user 2026-11-28 09:59:08 +01:00
atlas
96b2634a4e k8s: pod logs and metrics reach the hive collector 2026-11-28 09:59:08 +01:00
atlas
25addd8b86 vm-tests: k8s-node pod reaches the hive bridge's listeners by swarm name 2026-11-28 09:59:08 +01:00
atlas
c316851466 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-28 09:59:08 +01:00
atlas
24aa9dbc4e vm-tests: k8s-node boots a node through deploy.k8s.enable 2026-11-28 09:59:08 +01:00
atlas
408cfa7353 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-28 09:59:08 +01:00
atlas
cf3627718e k8s: render the in-cluster services' manifests from their units
services.hyperhive.k8s.enable renders a Deployment (swarm-controller,
swarm-notify-router) or CronJob (swarm-ci-metrics) per service this host
deploys into system.build.k8sManifests. The renderer reads each evaluated
unit: its environment, LoadCredential ids, state and runtime directories,
ExecStart and timer. Files the unit names are mounted at the same paths, so
the environment carries over as it is. Secrets are referenced by name only.

No unit changes. checks: k8s-manifests-all-local (kubeconform -strict,
offline schemas) and module-eval-k8s; the allLocal fixture turns the
rendering on.
2026-11-28 09:59:08 +01:00
atlas
70fe505b9b vm-tests: a k3s node harness, and the swarm images boot as pods 2026-11-28 09:59:08 +01:00
maia
c12e231d32 fix(matrix): the deferred starter logs the state its boot ended in
A degraded guest still starts the services, and now the journal says so next
to the start. The VM test pins the line.
2026-11-28 09:48:50 +01:00
maia
3919de6358 fix(matrix): queue tuwunel's start after the guest's boot is over
The deferred starter was a oneshot that ran `systemctl start --no-block
tuwunel` inside the boot transaction. A --no-block start still queues a
start job, so the guest's job queue stayed non-empty for as long as
tuwunel's start took, and the container (Type=notify, --notify-ready=yes,
one minute) never reported ready and was killed at its limit.

The starter is now Type=simple, so its own start job ends at the fork. It
waits for `systemctl is-system-running --wait` and only then queues the
service. The VM test waits for the daemon to reach `activating` instead of
asserting it the moment the container's start ends.
2026-11-28 09:48:50 +01:00
atlas
19640f3bf8 container-deferred-start: assert the control unit's end state instead of reset-failed 2026-11-28 09:48:50 +01:00
atlas
ba0f9c6264 start tuwunel after the container is up, under its own 30 min limit 2026-11-28 09:48:50 +01:00
damocles
73ef63a5e5 matrix daemon: stay up when the primary account is down and say why in the tools 2026-11-28 09:46:56 +01:00
atlas
352af3ea59 swarm-controller: move the deploy concern into its own module
Refs #6897
2026-11-27 21:25:28 +01:00
atlas
05e59c1e8c hive-matrix: the fallocate probe works inside tuwunel's sandbox
Refs #6885
2026-11-27 20:38:14 +01:00
atlas
8f7c45d40f add a default archetype, preselected by the clients 2026-11-27 19:40:19 +01:00
maia
26ac7acb25 deploy: drop the rename shims of controller.links, adminSync.ignoreUsers and otel.scrapeTargets
The three `swarm.*` options moved under their service's deploy namespace on
2026-11-01, so their `mkRenamedOptionModule` shims are past the four-week
window. The `core-toggle` eval case that sets the old names on purpose printed
`Obsolete option ... is used` in every `nix flake check` log, from the shim of
`swarm.otel.scrapeTargets`.

The shims go, and so do the case's settings, assertions and rename-warning
entries for these three. The case keeps the other nine renames. The
`swarm-otel-identity` checks read `scrapeTargets` through the old
`swarm.otel` path, which only the shim provided, so they now read
`deploy.swarm-otel.scrapeTargets`. No config, example or doc names the old
paths.

Closes #6929
2026-11-27 18:14:39 +01:00
atlas
6d0c0dc391 swarm-controller: move the secrets concern into its own module
Refs #6897
2026-11-27 17:35:19 +01:00
atlas
7c7c94d184 hive-matrix: turn off tuwunel's log preallocation on btrfs and zfs
Refs #6885
2026-11-27 17:35:04 +01:00
damocles
82710f4fa8 memory-cap: give claude a heap ceiling of at most 3 GiB instead of 75% of the container cap 2026-11-27 17:22:17 +01:00
iris
dd17b20dac grafana: draw the forge change-size panels as bars that follow the time range
Average change size and the lines added and deleted panels drew one-line spikes:
the counters only exist while a repo is active and the rate over the short
rate interval left a gap everywhere else, so isolated pushes were hairlines, and
one repo's bulk import set the scale for the rest. They now draw bars of at most
40 buckets that follow the time range, and the average is the bucket's lines over
its merges on a logarithmic axis. No docs change: observability.md documents the
metrics, not the panels.
2026-11-27 17:03:29 +01:00
atlas
a9df331469 swarm-controller: move the forge concern into its own module
Refs #6897
2026-11-27 16:45:16 +01:00
atlas
cd8feedf73 swarm-controller: move the observability concern into its own module
Refs #6897
2026-11-27 14:21:35 +01:00
atlas
9b2ba275d8 swarm-controller: move the accounts concern into its own module
Refs #6897
2026-11-27 13:13:28 +01:00
atlas
237cdaffaa swarm-controller: move the review concern into its own module
Refs #6897
2026-11-27 12:17:26 +01:00
maia
b56fbaed39 egress: say the forward-chain comment's agent_allow also holds the swarm endpoints
Closes #6902
2026-11-27 11:45:43 +01:00
maia
ecfc21b962 egress: let every agent reach the swarm's own endpoints under forward reject
With the egress intercept on, the forward chain rejects what `agent_allow`
does not hold, and `agent_allow` only held an agent's ssh connections. An
agent whose secret store, queue, logs or metrics endpoint is not on the
bridge was refused, so no agent started on a hive away from the swarm host.

hive-c0re's egress worker now also renders a `* <ipv4> <port>` line for each
endpoint URL it hands to agents (HIVE_AGENT_BAO_ADDR, HIVE_AGENT_LOGS_QUERY_URL,
HIVE_AGENT_METRICS_URL, HIVE_AGENT_NATS_URL), resolved like the ssh hosts.
`hive-priv egress-pin` expands a `*` line to the MAC of every agent port. An
older hive-priv skips the line, as it skips any unknown name.

Closes #6902
2026-11-27 11:45:43 +01:00
damocles
e77758d0d0 matrix-ctl: restart the homeserver when it loaded another registration, not when the file is newer, and never while it starts 2026-11-27 08:29:56 +01:00
damocles
897f8af77d subagent and bash daemons: the runs' memory ceiling sits on their cgroup node, not on the unit 2026-11-26 14:23:34 +01:00