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

7,122 commits

Author SHA1 Message Date
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
a7ffbd328e docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 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
9d7a3fd958 docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 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
c70466bae7 swarm-secret-client: log in with a service-account token under BAO_AUTH=jwt 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
maia
af7cdda9f7 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-28 09:59:08 +01:00
atlas
8021d8395a docs: describe swarmctl migrate, the all-local swarm's move onto k8s 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
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
iris
bcb432caf4 swarm-ui: three press targets show a hover state
The selection bar's link buttons, an expandable card's head and a toast all take
the pointer cursor and gave no other sign. The links underline on hover and
focus, the head tints its title, and the toast darkens its border.
2026-11-28 09:47:13 +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
iris
9fdde2ec63 swarm-ui: menus, popovers, toasts and dialogs fade in, with one motion guard
Dialogs, toasts, popovers, dropdowns and the filter popover appeared with no
transition, and the header menu had a keyframe of its own. theme.css holds
--enter and --fade, off under reduced motion and the motion setting's reduce,
and each floating box uses them.
2026-11-28 09:46:32 +01:00
iris
fdeb95a61b shared: buttons answer hover, press and keyboard focus
.ui-button had a pointer cursor and nothing else: no hover, no pressed state and
no focus style of its own. Each variant gets a hover fill, a press nudge and a
purple focus ring, with the transition off under reduced motion.
2026-11-28 09:46:01 +01:00
iris
76d2c5e788 swarm-ui: a finished bash task and a stale subagent read in the muted colour
Both rows dimmed with opacity: 0.6, which took their muted id and age to 2.65:1
on the page. They use the muted colour now, which holds 4.7:1.
2026-11-28 09:45:37 +01:00
iris
c77904362d swarm-ui: an agent card is no longer a button around buttons
The card row had role=button and tabindex=0 and held the terminal button, the
wanted menu and the login button, which axe reports as nested interactive
controls and which a screen reader can't walk. The row is no control now; the
agent's name is a real button, so Tab, Enter and Space open the agent, and a
press anywhere on the card still does. Picking stays one checkbox per card.
2026-11-28 09:45:23 +01:00