From c5f67f56f46ea5c0b300a2e0eb00a7368efe4f2a Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 02:58:27 +0100 Subject: dashboard: add epoch switch indicator --- docs/dashboard.md | 4 +++- docs/openapi.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/dashboard.md b/docs/dashboard.md index 7cdc7b7..4067da5 100644 --- a/docs/dashboard.md +++ b/docs/dashboard.md @@ -80,7 +80,9 @@ Every member of the swarm, by alias (or a shortened node ID): around it), or voted for one, while that remake is open: voting, or committed until the member switched. A small amber breath as a remake is proposed (its coordinator) and as each vote comes; a short pop once it's decided, green if committed, red if - aborted (or expired), and the nodes turn back. Of the remakes in this node's document: + aborted (or expired), and the nodes turn back. Committed, the coordinator's ring + counts down this node's wait to switch (`switchDelay`): from the top, it goes + counterclockwise, and is gone as this node switches. Of the remakes in this node's document: every member's vote shows, as it reaches this node. * **A golden glow**, growing from it and fading, once: it just entered a new epoch (a remake, [`remakes.md`](remakes.md)). For every member that reports its links (they diff --git a/docs/openapi.yaml b/docs/openapi.yaml index bfad909..d9d6c04 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -758,7 +758,9 @@ paths: answered a LINKS; ours always, the others' while fresh) and `live` (whether the members' links are subscribed to, `/admin/dashboard/links`), and `remakes` (those of this node's epoch: `id`, `coordinator`, `phase` as in - `/admin/remakes`, `voters` (node IDs) and `fromGeneration`, the epoch's). One producer + `/admin/remakes`, `voters` (node IDs), `fromGeneration`, the epoch's, and + once committed `switchDelayMs` and `switchInMs`, this node's wait to switch + and what is left of it). One producer per node makes it every 2 s while anyone looks (and for a minute after this request), subscribed to the members' links (each tells of a change as it happens; renewed every 30 s); every client gets the same. Only with the `dashboard` cargo feature. -- cgit v1.3.1