Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph

7,078 commits

Author SHA1 Message Date
atlas
261bcdc5bb k8s: deploy.swarm-controller.runtime moves the controller between its unit and the cluster 2026-11-29 14:02:31 +01:00
atlas
16dbdbbeef docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 2026-11-29 14:02:31 +01:00
atlas
f5376a7cd3 vm-tests: k8s-runtime-switch moves the review classifier and the claude login minter with the router 2026-11-29 14:02:31 +01:00
atlas
cad4c7aa3b module-eval: the claude daemons' units, host-mode containers, pods, jwt roles and refusals 2026-11-29 14:02:31 +01:00
atlas
e0ffeeb76d k8s: deploy.review-classifier.runtime and deploy.claude-login.runtime move the claude daemons between their containers and the cluster 2026-11-29 14:02:31 +01:00
atlas
4ac5fac9fb docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 2026-11-29 14:02:31 +01:00
atlas
d7feb1e6f5 vm-tests: k8s-runtime-switch moves the CI run poller with the router and the speech-to-text service 2026-11-29 14:02:31 +01:00
atlas
043e059004 k8s: deploy.ci-metrics.runtime moves the CI run poller between its timer and the cluster 2026-11-29 14:02:31 +01:00
atlas
b75cc44f09 k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-29 14:02:31 +01:00
atlas
8ef9333ede vm-tests: k8s-runtime-switch moves the speech-to-text service with the router 2026-11-29 14:02:31 +01:00
atlas
ea16b03a55 docs: the speech-to-text service's runtime, limits and cache volume 2026-11-29 14:02:31 +01:00
atlas
aead3a07d5 k8s: deploy.stt.runtime moves the speech-to-text service between its container and the cluster 2026-11-29 14:02:31 +01:00
atlas
419135bf34 vm-tests: k8s-runtime-switch moves the router between its container and the cluster and back 2026-11-29 14:02:31 +01:00
atlas
080ea99a54 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-29 14:02:31 +01:00
atlas
2446a8b26c k8s: a pod's public CA files come from a ConfigMap, not a Secret 2026-11-29 14:02:31 +01:00
atlas
254d82077a vm-tests: k8s-bao-login runs a pod's ServiceAccount login against the real store 2026-11-29 14:02:31 +01:00
atlas
2cda2d5fc5 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-29 14:02:31 +01:00
atlas
49d5e92b8c swarm-secret-client: log in with a service-account token under BAO_AUTH=jwt 2026-11-29 14:02:31 +01:00
atlas
274e50bc36 vm-tests: a running collector keeps its cursor when it switches to the static user 2026-11-29 14:02:31 +01:00
atlas
5fcd86c4a8 k8s: pod logs and metrics reach the hive collector 2026-11-29 14:02:31 +01:00
atlas
c9d2b9f4f0 vm-tests: k8s-node pod reaches the hive bridge's listeners by swarm name 2026-11-29 14:02:31 +01:00
atlas
cf30c8d861 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-29 14:02:31 +01:00
atlas
ee55e87684 vm-tests: k8s-node boots a node through deploy.k8s.enable 2026-11-29 14:02:31 +01:00
atlas
1c82336174 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-29 14:02:31 +01:00
maia
e217d2d816 vm-nightly: run the k8s-swarm-images test in the nightly matrix
The vm-test-list lint, added on main, requires every test in nix/vm-tests.nix
to be in the nightly matrix.
2026-11-29 14:02:31 +01:00
atlas
b9ed77db88 docs: describe swarmctl migrate, the all-local swarm's move onto k8s 2026-11-29 14:02:31 +01:00
atlas
2c6260ff0d 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-29 14:02:31 +01:00
atlas
dd4a1a3490 vm-tests: a k3s node harness, and the swarm images boot as pods 2026-11-29 14:02:31 +01:00
atlas
52bfca85ad swarm-controller: git_forge read handlers take a forge-only sub-state 2026-11-29 14:02:12 +01:00
atlas
b184f4e096 swarm-controller: secrets handlers take their own sub-state via FromRef 2026-11-29 14:01:44 +01:00
atlas
c3773828c9 swarm-controller: builder-runs handlers take their own sub-state via FromRef 2026-11-29 12:51:29 +01:00
atlas
a8c1c0f5c2 swarm-controller: ssh-connection handlers take their own sub-state via FromRef 2026-11-29 12:37:33 +01:00
atlas
c43c35e05b swarm-controller: archetypes handler takes its own sub-state via FromRef 2026-11-29 12:37:11 +01:00
atlas
de78daf6dd swarm-controller: hives handlers take their own sub-state via FromRef 2026-11-29 12:36:51 +01:00
atlas
871438afcc swarm-controller: forge-admin handlers take their own sub-state via FromRef 2026-11-29 12:36:21 +01:00
atlas
53382d9c78 swarm-controller: config-pr handlers take their own sub-state via FromRef 2026-11-29 06:26:15 +01:00
atlas
37ba403992 swarm-controller: bash-task handler takes its own sub-state via FromRef 2026-11-29 06:18:28 +01:00
flake-bot
04a2dbf13a nix flake update 2026-11-29 06:16:04 +01:00
maia
93ccd11bf3 hive-matrix: tuwunel's database open logs RocksDB's own messages
tuwunel hands RocksDB's log to its own logger at `rocksdb_log_level = "error"`,
so the recovery and flush lines of a database open never reached the journal:
a replay that has run for hours looked the same as a wedged open. The module
sets `rocksdb_log_level = "info"` and `rocksdb_log_stderr = true`, which writes
them to stderr, past tracing's filter.

The comment on the unit's start limit said the 30 minutes bound the open.
They don't: tuwunel sends `EXTEND_TIMEOUT_USEC` every 15 s whether or not the
open advanced, so only a stop ends a wedged one. The comment and the handbook
say so.

Refs #6885
Closes #6981
2026-11-28 17:08:09 +01:00
atlas
b9687c54f2 swarm-controller: alerts and jobq-graph handlers take their own sub-state via FromRef 2026-11-28 09:50:47 +01:00
flake-bot
b7650259c9 nix flake update 2026-11-28 09:49:02 +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
iris
7ae1b42fd9 swarm-ui: an agent icon loads when it scrolls into view
Every card fetched its icon on page load, so a roster of 80 made 80 requests
before the first scroll. The image is lazy now; the first screen's still load at
once.
2026-11-28 09:48:36 +01:00
iris
c1d182daa0 swarm-ui: the two retry buttons that said try again say retry
Eight failed reads offer a retry button; the claude login dialog and the
instructions editor worded the same action try again.
2026-11-28 09:48:24 +01:00
iris
f6a0bb4bb3 swarm-ui: the three toasts that didn't match read like the rest
Two toasts started with a capital and ended with a full stop (the stored login
dialog's and the login delete's), and the API key removal had no tone. They are
short lowercase phrases with the ok tone now, and the design guide says so.
2026-11-28 09:48:07 +01:00
iris
963ec65bbc swarm-ui: a toast waits while the pointer is on it
A toast left after four seconds (eight for an error) whether it had been read or
not. The countdown stops while the pointer rests on it and runs on for at least
1.5 seconds after the pointer leaves.
2026-11-28 09:47:54 +01:00
iris
868b8743d8 swarm-ui: the browser chrome takes the theme's background colour
The theme-color meta was a fixed mauve, so a phone's status bar and an installed
app's title bar stayed mauve under every theme, light ones included. The theme
effect sets it from the computed --bg after each change, and again when the OS
scheme changes under auto.
2026-11-28 09:47:36 +01:00