Watch
0
0
Fork
You've already forked hyperhive
0

swarm: an agent's open todos, mirrored to the queue and served by the controller

This commit is contained in:
iris 2026-11-16 00:28:54 +01:00 • committed by mara
commit b239500f88

View file

@ -91,6 +91,12 @@ pub(crate) fn spawn(client: async_nats::Client, wanted: Arc<WantedWriter>, hives
"agent commands: opening the bucket failed; next pass"
);
}
if let Err(e) = swarm_queue_client::agent_todos::open_or_create(&client).await {
tracing::warn!(
error = %swarm_queue_client::chain(&e),
"agent todos: opening the bucket failed; next pass"
);
}
for agent in live_agents(&wanted, &hives).await {
if let Err(e) = swarm_queue_client::bash_task::open_output(&client, &agent).await {
tracing::warn!(