Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 19a045a401 hive-agent: re-send the turn-state header once a minute
The header on `$SWARM.agent-state.<agent>` went out only when a bus event
changed it, and the core subject keeps nothing for a late subscriber. An
idle agent therefore said nothing to a reader that attached after its
last change: swarm-controller after a restart showed `effective: null`
for that agent until its next turn, which can be hours.

The publish loop now also wakes every 60 s and re-sends the current
header through the same `publish` path (clearing the dedup state first).
Transitions still go out as they happen. Same subject, same grant.

An agent whose queue connection is down now logs `swarm agent state:
publish skipped` once a minute even while idle, so the
`hh-swarm-agent-state-publish-skipped` alert also fires for idle
disconnected agents, not only busy ones.

Refs #5034
2026-10-10 17:37:23 +02:00
..
agent agent ui: add a clickable new-session menu entry 2026-09-28 13:53:58 +02:00
dashboard container stats: measure agent disk usage through hive-priv, unknown on failure 2026-10-05 18:56:46 +02:00
shared dashboard: drop the approvals queue 2026-10-04 23:55:32 +02:00
swarm-ui hive-agent: re-send the turn-state header once a minute 2026-10-10 17:37:23 +02:00