observability: backup-pair-projection — the orchestrator's Replication projection — the PAIR is the unit, and nothing is dialled #819
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#819
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Parent
Feature spec: #793 — control-panel observability child spec: backup replication matrix (P7-S7) (DDR 0205).
Design ticket #762; slice-map fan-in #770; wayfinder map #7.
Slice
backup-pair-projectionofdocs/slices/observability.yaml; covers spec #793 stories 7–58 (orchestrator half).What to build
One new read method on the ADR 0079 orchestrator,
Replication, joiningOverview/RunsView/RunFailedView/GoneTargetView/RestoreView/ExportDatasetsas anotherprojection over the same in-memory state. No new orchestrator field, no new source of truth, no
collection loop, no probe minted at render time.
The pair is the unit: a dataset's pairs are the union of its confirmed policy targets and the
targets it holds verified copies on — so a target dropped from policy that still holds copies is
visible as gone rather than vanishing silently, and a policy target never written is visible as
awaiting its first copy. Per-pair state is derived, not stored: current (holds the latest
scheduled snapshot, verified), ageing (reachable, but no run since), unreachable (the last
replicate attempt failed), gone (no longer in fleet topology or in the policy), not-configured
(a drafted target never attempted). The dataset grade is the aggregate of those.
Reachability is LAST OBSERVED and never dialled: for a node target, presence in the fleet-state
provider's topology plus its default-deny
Healthybit (ADR 0061) — the same gates coveragealready consults; for an offsite target, the outcome of the last replicate attempt — and the read
states when that was.
The last-known exclusion discipline holds: an unreachable target's figures are labelled
last knownand counted in neither the count nor the sum. Sizes render absent at this point(
backup-sealed-size-ledgeris where the number lands). The prototype'sdownsender grade doesnot exist here — a sender that stops running its schedule manifests as stale, and a device's
down-ness stays monitoring's (ADR 0070/0081).
No edge to
backup-sealed-size-ledger(slice-map ruling 4): the two are mergeable in eitherorder.
Acceptance criteria
replicating; at least one pair behind with the run completed →target-behindwithn of m currentwording; the run not completed →stale; no confirmed policy →not-backed-up-yetwith—for last run and on-targets.TARGETS CURRENTcount equals the number of its pair rows whose pair state is current.VERIFIED COPIEScount is 2, then its current-pair count is also 2; and given its coverage-mapLAST GOODmoment, then the newest pair last-verified moment is that same moment — the two projections can never disagree.lastGoodLabel/when/momentWhenalready are) — no consumer computes a duration against a clock.reachable.reachable+ageingand does not count as current; a stale dataset's pairs all read ageing with the parent at0 of n; and given a later read that cannot resolve a known-ageing pair's figures, then it stays ageing with its last-known figures labelled and never reverts to current.unreachablenaming the target, its figures carry an explicitlast knownmarker, the last-verified cell states the moment is not counted while unreachable, and the pair's figures are excluded from both the parent's current count and itsON TARGETSsum.not-configured(neverreachable), and a pair that has never held a copy readsno-snapshots-yetwith0snapshots; a one-device fleet offers no same-node pair as coverage.snapshots heldis the count the ADR 0082 inventory projection already carries — read from that path, not a parallel tally.Rederive), then the replication read answers with the same shape and the same per-pair verdicts as the live one.Blocked by
backups:per-target-honesty-and-staleness(#90 — done, satisfied)engine-adapters:backup-engine-targets(#169 — done, satisfied)Task manifest
Emitted by
/to-ticketsoverdocs/slices/observability.yamlin an unattended session under ADR 0174 (two-way-door posture — Ben's veto is asynchronous, never blocking). Advances #797.swarm-claim host=elitebook-distributed-server-03 run=10063
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #819 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope