Convergence/staleness alerting endpoint #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem. Fail-open agents mean a device cut off from the API enforces
stale policy indefinitely — by design — and generation reporting is the only
signal. Today that signal has no consumer: nothing distinguishes "fleet
converged" from "three devices have been 40 generations behind for a week".
Proposal. A
/fleet/convergenceendpoint (and/or Prometheus metrics)exposing per-device: last check-in time, applied generation, generations
behind head, and last status. Plus configurable thresholds
(
max_generations_behind,max_checkin_age) that flip devices into analertingstate the endpoint surfaces. This turns the design's availabilitychoice into an operable one.