Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-controller/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 597fdebaf3 swarm-bao-forge-publisher starts on the deploy that adds it
The publisher was wanted only by container@hive-forge.service. A switch
starts a new unit only through the targets that want it, and the container
is already running, so the deploy that introduced the publisher left it dead
until the next container restart or boot; the path unit cannot help, because
the mint's only-once guard never rewrites the file.

- The publisher is also wanted by multi-user.target, like swarm-secret-publish.
- A token file that is not there yet exits 0 instead of waiting 120s and
  failing: the path unit runs the publisher when the mint writes it, so a
  switch with the forge container down does not fail. TimeoutStartSec is 60.
- swarm-controller loses its After= on the publisher: a switch issues the two
  jobs separately, so it ordered nothing there, and the background re-read
  covers the gap.
- The controller's background re-read logs at info once the backoff is
  capped, one line per five minutes, so a forge host that never got its
  publisher leaf stays visible; earlier retries stay at debug.

Refs #4998
2026-10-08 13:59:26 +02:00
..
forge swarm-controller grants internal/docs read to agents; hives stop doing it 2026-10-07 21:39:55 +02:00
matrix_account swarm-controller: revoke matrix admin from former operators 2026-10-05 12:39:02 +02:00
agent_icon.rs swarm: let an agent publish its own icon 2026-09-28 13:47:37 +02:00
agent_identity.rs swarm-secret-client: agents may list their own subtree; controller rewrites agent policies 2026-10-01 17:43:28 +02:00
agent_input.rs swarm UI: send a message to an agent, without its hive 2026-10-04 03:02:14 +02:00
agent_renewal.rs swarm-controller: first credential-renewal pass waits for the queue connection 2026-09-30 15:46:56 +02:00
agent_state_stream.rs swarm-nats-auth: take the subscribe subjects from the shared definitions 2026-10-07 16:51:53 +02:00
agent_status.rs swarm-ui: add agent start/stop, backed by the wanted-state route 2026-09-02 19:57:04 +02:00
auth.rs swarm options: no swarm.* value depends on a deploy option or this host's hive 2026-10-04 18:13:47 +02:00
config_pr.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
forge.rs swarm-bao-forge-publisher starts on the deploy that adds it 2026-10-08 13:59:26 +02:00
forge_account.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
github_account.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
issue_report.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
linked_accounts.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
main.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
matrix_account.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
otel_http_client.rs swarm-queue-client: request the bearer-authz scope when minting an agent token 2026-09-17 09:51:44 +02:00
queue_identity.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00
read_policy.rs swarm-secret-client: agents may list their own subtree; controller rewrites agent policies 2026-10-01 17:43:28 +02:00
schedules.rs swarm: named scheduled prompts for one or more agents, fired in each agent 2026-10-04 17:24:57 +02:00
status.rs swarm-controller: make status::render/row pub(crate) so agent_status.rs's doc links resolve 2026-09-02 10:20:29 +02:00
store.rs fix doc-comment pointers broken by the module-eval split 2026-09-20 04:31:08 +02:00
subagent_term.rs swarm-controller: drop the relay subscription to the refused hive-scoped agent subject 2026-10-04 22:24:51 +02:00
term_stream.rs swarm-nats-auth: take the subscribe subjects from the shared definitions 2026-10-07 16:51:53 +02:00
vcs_metrics.rs swarm CA: describe the store's pki root as the only anchor in docs and comments 2026-10-05 21:17:10 +02:00
wanted.rs swarm-controller: first credential-renewal pass waits for the queue connection 2026-09-30 15:46:56 +02:00
webhook.rs swarm-controller gains forge access when the token arrives, without a restart 2026-10-08 13:40:24 +02:00