hives report an agent being updated: its status shows updating from the update's stop until the container is back up
A hive marks an agent updating when StopForUpdate stops its running container and clears it when the tail Reconcile or Start settles it, success or failure. The flag rides in the agent status snapshot (absent when false, so older readers and documents are unchanged), the status publisher sends a change at once instead of at the next sweep, and the swarm UI card shows an updating badge.
This commit is contained in:
parent
ca1e25b21e
commit
748ef2da08
1 changed files with 227 additions and 12 deletions
|
|
@ -25,7 +25,9 @@ An agent created here or with `swarmctl agent create` starts `paused`; set it
|
|||
`up` from its card. A card shows **login needed** when the agent's claude has no
|
||||
session, with a **log in** button that runs the claude login from a dialog (see
|
||||
[`claude-login.md`](claude-login.md)). The **wanted** badge changes an agent's
|
||||
declared state, destroy included.
|
||||
declared state, destroy included. A card shows **updating** while the hive
|
||||
updates the agent, from the moment the update stops its container until the
|
||||
container is back up, so the stopped agent doesn't read as lost.
|
||||
|
||||
Each page, its controls and what they send are in
|
||||
[the swarm UI reference](../../4-implementation/web-ui/swarm-ui.md).
|
||||
|
|
|
|||
Loading…
Reference in a new issue