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

7,111 commits

Author SHA1 Message Date
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
iris
7e6972a191 shared: a busy button keeps its accessible name
The busy state hid the label with visibility: hidden, which takes it out of the
accessibility tree, so axe reports a button with no name while it works. The
label is opacity: 0 now; the button stays aria-busy and disabled.
2026-11-28 09:44:40 +01:00
iris
ad8263740b swarm-ui: a relative-time label wakes when its text changes, not every second
Each <RelativeTime> ran its own one-second interval and redrew each tick, though
"5m ago" holds for a minute and "3h ago" for an hour. Every label now sets a
timeout for the moment its text next changes (next-change.ts), so a list of
timestamps in minutes redraws once a minute.
2026-11-28 09:44:26 +01:00
iris
5b597b782f swarm-ui: text on badge and button fills reaches 4.5:1 in the default themes
axe found the neutral badge, the primary button and a selected card's message
under AA in hyperhive light (4.39:1 and 3.82:1) and in the Mocha themes. A
light palette now lightens the --purple-dim fill, the Mocha palettes darken it,
and the muted text keeps more of the text colour.
2026-11-28 02:38:01 +01:00
atlas
5e81895a3b swarm-controller: accounts handlers take their own sub-state via FromRef 2026-11-28 01:51:56 +01:00
iris
e701be870a swarm-ui: with an agent open, the list's filters sit behind one filter button
An open agent narrows the list to a column, where the filter boxes and menus
took three rows. They now stack in a popover under one button that shows how
many filters are active; the full-width list keeps them in the bar.
2026-11-28 01:14:01 +01:00
atlas
8d8fcb59cf swarm-controller: one test constructor for AppState fixtures 2026-11-28 00:00:26 +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
a74d23d313 swarmctl: stop the login-callback port test from racing other tests
`the_callback_listens_on_the_requested_port_or_a_free_one` bound port 0,
dropped the listener, then bound the number it got. Another test's bind in
between could take the port, so the test failed at random and turned
unrelated PRs red (run 9104 on #6931).

The test is now three. Port 0 gives a free loopback port. A port in use is an
error naming it, checked against a listener the test keeps open, so nothing
can take the port in between. The named port is honoured: the one step that
needs a released port retries on "address in use" only, and any other error or
a wrong port fails at once.

Closes #6933
2026-11-27 19:06:29 +01:00
atlas
eabcaab930 swarm-controller: move the agents concern into its own module
Refs #6897
2026-11-27 18:24:57 +01:00