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.
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.
`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
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
The state menu on an agent card that fills the width hung from the
trigger's left edge, so the window cut the list off. The list now measures
itself when it opens and flips to the trigger's right edge when it would
overflow.
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.
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
The container drop-in wrote MemorySwapMax=0 only next to a finite
MemoryMax=. A container with MemoryMax=infinity kept host swap, so a
container over its memory share paged out and every process that
touched a paged-out page slept in D, out of reach of a signal.
limits_dropin_body now writes MemorySwapMax=0 for every container. The
OOM killer inside the container's cgroup takes over: subagent runs
(+900) and bash tasks (+1000) die before the agent's own session
(-500), as before. Docs say so.
The editor stopped at 60em, and the claude login row packed the login and
the API key badges into one wrapping line. The width cap is gone, and the
API key has its own row beside the login's.
Part of the unification order in the UI sweep issue (step d, the rest).
The pull-request and issue reports (the repo list and the report), the review
try-out's repo list and classifier cap, and the classifier key move to the
shared read hook. A failed report still drops its rows, now by reading
'error ? null : loaded' instead of a handler that cleared them. The reads that
seed a draft, post, or are not a plain request stay as they were.
Part of the unification order in the UI sweep issue (steps e and f).
The terminal, turn-state and message feeds each opened an EventSource, tracked
connecting/open/reconnecting/closed, probed the session when the browser gave
up, and reconnected through an attempt counter. openStream (no Preact, source
injected, tested with a fake) and useEventStream now own that; each feed keeps
only what it does with a message.
A change confirmed itself three ways: a toast, inline, or nothing. The design
guide now says forms confirm inline, actions on a card in a refreshing list
confirm with a toast, and a change the page already shows says nothing. Fire
now, saving a schedule and removing an egress entry gain the toast they lacked.