Skip to content
quarry View Ticket
Login

View Ticket

2026-09-24
00:53 • Ticket [a06c9ad33f] Mirror health: dashboard summary, notify after N consecutive failures, per-mirror pull history status still Closed with 1 other change artifact: 5b762e85a7 user: zeitgeist
2026-09-23
02:54 • Closed ticket [a06c9ad33f]. artifact: bb503231cd user: zeitgeist
2026-09-19
16:14 • Ticket [a06c9ad33f]: 2 changes artifact: de7bb8ae21 user: zeitgeist
2026-08-21
18:09 • New ticket [a06c9ad33f]. artifact: fb47eb48ac user: ai-local

Mirror health: dashboard summary, notify after N consecutive failures, per-mirror pull history

Closeda06c9ad33f61d813ecbeb272547764dc37d30df3Created 101.2 days agoUpdated 67.9 days ago
Description2026-08-21 18:09:52
29 silent pull failures is how the wapp outage went unnoticed.

- Admin dashboard tile: "22 mirrors · 21 current · 1 failing (wapp, 29 attempts)". - After N consecutive failures, send through `--notify`, with backoff so a dead domain does not page hourly forever. - Keep the last ~20 pull results per mirror (time, duration, artifacts received, error) instead of a single `last_at`; "when did it stop?" and "has it always been slow?" are unanswerable today.

2026-09-19 16:14:01

Adding an observation from closing 82eb641a, so it lands on the ticket that owns this family rather than becoming a ticket of its own.

That ticket was opened automatically by the journal after 863 consecutive pull failures against https://fossil-scm.org/home. Measured today:

total 19 mirrors   failing 0
fossil  https://fossil-scm.org/home  fail=0  state=current  lastOk=2026-09-19T15:21:33

The condition ended some time in the intervening fortnight and nothing closed the ticket. It sat Open for 14 days describing a mirror that was healthy for nearly all of them.

So the "notify after N consecutive failures" half of this ticket has a second half worth specifying alongside it: a surface that can open a record on a threshold should be able to resolve it on recovery. Otherwise the tracker accumulates one permanent ticket per transient outage, and the signal that made the threshold worth having is exactly what degrades it — every stale open record makes the next real one less credible.

The recovery condition is already in the data (failures returning to 0 with a fresh lastOk), so this is about the writer, not new state. Same shape as the notify: fire on the transition, both directions.

2026-09-23 02:54:41

Measured on 0.1.0-beta+5bbe5f191073 (landing 80d908ab). GET /api/v1/mirrors carries pulls per mirror: docsrc and zit, the two pulled since the deploy, each show one attempt with its duration (686 ms, 307 ms), changed=false, no error; the rest fill in at their next hourly pull, last 20 kept. /fleet?tab=mirrors opens with the summary line, data-hook="mirror-summary" data-all="19" data-failing="0": "19 mirrors · 19 current", and names any failing mirror with its streak before the forms. Admin alerts fire at streaks 3, 10, 30, 100, 300, 1000 and once on recovery (unit-covered; no mirror is failing on prod right now to see one live). Divergence is 5d40f151, landing 3f0776bc, separate.