Skip to content

epic(cluster): observability, backup & recovery #1090

Open

Description

@dezren39

Observability, backup & recovery

Purpose

The cluster can be seen, backed up, and proven restorable - including after a power cut.

Scope

Metrics/logging (Cozystack ships VictoriaMetrics+Grafana); etcd + TALM config recovery vault (encrypted snapshots offsite, e.g. R2); restore drills that actually restore Postgres and etcd on a schedule; power-return boot order (dependency-sequenced bring-up) documented and tested; SMART drive-health watch feeding the storage records from epic 5.

Execution mode

Online (drills may schedule a physical power test with Drew).

Dependencies

Depends on epics 7 and 8.

Acceptance

Dashboards live; at least one full restore drill passed and recorded; power-return procedure written and exercised once.

Structure

Part of the basement cluster program. Project home: planning/roadmaps/basement-cluster.md in this repo. Full program register: goal workspace files/idea-register-2026-10-20.md (Muse goal goal_ba17a5777c21). Detailed task issues are filed as sub-issues of this epic; dependencies use blocks / blocked-by links.

Hard rules for the whole program: no HashiCorp anything; everything bootstrappable from config, no hand-built state.

Acceptance criteria

  • Dashboards live.
  • At least one full restore drill passed and recorded.
  • Power-return procedure written and exercised once.

Activity

  1. added
    status/needs-triage
    area/infra
    epic
    effort/l
    meta/enriched
    mode/online
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    Epic map — basement cluster program

    # Epic Issue
    1 Hardware inventory & first-node selection #1080
    2 Firmware / BIOS / BMC audit #1081
    3 Basement power & space #1083
    4 Network fabric #1084
    5 Storage assembly & validation #1085
    6 TALM + Talos bootstrap #1086
    7 Cozystack platform #1087
    8 Platform services #1088
    9 Observability, backup & recovery #1090
    10 Cloud extension (OCI & egress) #1091
    11 First workload: ID app #1092
    12 ESP32 wing #1093

    This epic: #1090 — Observability, backup & recovery
    Dependencies: Blocked by #1087, #1088

    Filed in the 2026-10-26 cluster seed. Project home: planning/roadmaps/basement-cluster.md.

  4. added
    queue/queued
    source/creator
    task/triage
    on Nov 3, 2026
  5. 82 remaining items

  6. removed their assignment
    on Nov 20, 2026
  7. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    {"event":"blocked","worker":"repo-worker-code","lane":"oc-code-04","task_id":13255,"at":"2026-11-21T10:49:00Z","reason":"Fresh checks: #1090 OPEN; prerequisites #1087 and #1088 remain OPEN, and #1088 is status/blocked with unresolved #1085/#1086/#1087. No cluster operations or implementation started. Task 13255 is dependency-blocked on #1087; existing blocked-until gates gate-code-issue-1087 and gate-code-issue-1088 remain the recheck path.","resume":"Revalidate after both #1087 and #1088 close; then split the five deliverables into scoped child issues/packets before implementation."}

  8. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    {"event":"picked_up","worker":"repo-worker-code","lane":"oc-code-04","task_id":13255,"at":"2026-11-21T10:48:00Z","reason":"Atomic claim with repo = code; first checkpoint records origin openchamber-scheduled-lane.","next":"Freshly revalidate the prerequisite gate before any cluster work."}

  9. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · dependency gate revalidated — task 13255 (ITEM-WORK-67 lane, worker oc-code-05)

    Verdict: not resolved — both prerequisite epics are still open, so no #1090 cluster work may start.

    Fresh reads, 2026-11-24T10:51Z:

    The packet's acceptance forbids cluster deployment, recovery drills, or any implementation until both epics complete, so nothing was started. Task 13255 is being structurally dep-blocked on #1087 with dep-recheck enabled (3600s); its wake protocol names both gates: on wake, fresh-read #1087 and #1088 — only when both are closed does the task proceed to revalidate #1090 and split its five deliverables (dashboards; encrypted offsite etcd+TALM snapshots; Postgres+etcd restore drill; power-return procedure; SMART integration) into child issues/packets.

  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Dependency gate revalidated (2026-11-27): #1087 is still OPEN and #1088 is still OPEN with status/blocked. #1090 requires both prerequisites complete before cluster implementation, deployment, restore drills, or power tests, so no cluster work was started. Queue task 13255 is being restored to dependency-blocked; its resume check reads both gates, then revalidates #1090 and splits the five deliverables into scoped child packets only after both gates close.

  11. added
    priority/high
    on Nov 29, 2026
  12. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census 2026-11-29 (lane CEN-C01) — body + all comments re-read. Verdict: blocked, correctly.

    Blockers (named): both prerequisite epics — #1087 (Cozystack platform) and #1088 (platform services) — revalidated 2026-11-27; the packet correctly forbids starting cluster deployment/drills until both close (queue task 13255 is dep-blocked with a wake on both gates). priority/high confirmed: once a cluster exists, this epic is what makes it observable and provably restorable, and its R2 recovery-vault piece connects to the backup-freshness monitoring tracked at #15001.

    • Priority: confirmed as labelled.
  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Lane 0640-T decision record on the owner-park draw (2026-11-29).

    Drawn via fleet agent next with a decide-and-proceed instruction (the owner park is not a hold under FDR-0013). Applying it honestly:

    • What was asked: land the next slice of this epic (dashboards live; a full restore drill passed and recorded; power-return procedure written and exercised once).
    • Decision: no slice is landable yet, and status/blocked is accurate — but the block is a dependency + hardware gate, not an owner decision. I am not removing the blocked labels, because the state they describe is true; removing them would misrecord the gate as an owner wait.
    • Fresh gate revalidation (today, dependencies API + issue reads): epic(cluster): observability, backup & recovery #1090 has no sub-issues and is blocked_by epic(cluster): Cozystack platform #1087 (Cozystack platform, OPEN) and epic(cluster): platform services #1088 (platform services, OPEN, itself blocked). Both prerequisite epics remain open, concurring with the 2026-11-24 / 2026-11-27 / 2026-11-29 (CEN-C01) revalidations. Behind them sit the physical prerequisites (basement power/space, epic(cluster): basement power & space #1083) — the cluster hardware does not exist yet, so dashboards, restore drills, and a power-return exercise have nothing to run on. These are hands/physical steps in Drew's lab, not choices a lane can decide away.
    • What unblocks: epic(cluster): Cozystack platform #1087 and epic(cluster): platform services #1088 closing. On that day this epic splits into its five scoped deliverables (metrics/logging, etcd+TALM recovery vault, restore drills, power-return boot order, SMART watch) as child packets, per the standing plan on task 13255.

    No code changed, no PR opened. Lane 0640-T releases #1090 and pulls its next item.

  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Agent note — lane code-g (OpenChamber scheduled Fleet lane), fresh run 2026-11-29 (issue-level verification):

    Verdict: dependency-blocked, correctly. Re-verified fresh today: #1087 (Cozystack platform) OPEN; #1088 (platform services) OPEN with status/blocked + queue/blocked. #1090 itself OPEN, no hard-stop labels (held / user/owned / do-not-auto-edit absent).

    Evidence checked: planning/roadmaps/basement-cluster.md still carries the epic as Later/proposed; no cluster VictoriaMetrics/Grafana, etcd/TALM vault, Postgres+etcd restore drill, power-return procedure, or SMART watch exists in the tree. Adjacent but distinct mechanisms do not satisfy this epic: pkgs/cold-store-reaper/scripts/restore-drill.sh drills the cold-store cloud archive and pkgs/id/crates/id-worlds/src/host_drill.rs drills hosted ID worlds (#13744) -- neither is cluster observability/backup/recovery. The five acceptance criteria are acceptance criteria of a cluster that does not exist yet; none is independently implementable, and this is not a hands item or a decision gated on the owner.

    Decision (per decide-and-proceed / FDR-0013): no blocker escalation needed -- this is normal program ordering, not a person-decision. Queue task 13255 already carries the structural dependency block (gates #1087 + #1088, dep-recheck, wake protocol); no duplicate claim or new block created by this lane. Lane re-verifies rather than re-parks shared state.

    Next slice (once both gates close): split the five deliverables into scoped child issues/packets linked to #1090 -- 1) metrics/logging dashboards on Cozystack's bundled VictoriaMetrics+Grafana, 2) scheduled encrypted offsite etcd+TALM snapshot vault with retention/key handling, 3) scheduled Postgres+etcd restore drill with a recorded pass, 4) dependency-sequenced power-return boot procedure written and exercised once, 5) SMART drive-health watch feeding epic 5's storage records.

    By: lane code-g.

  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass. STRENGTHS: correctly blocked — native blocked_by edges to #1087/#1088 (both open) verified in place, and re-verified fresh today by two independent lanes (0640-T's decision record and lane code-g's gate check). PRIORITY VALIDATION: priority/high, single, kept — observability/backup is important programme work; blocked status does not change its intrinsic band (#9199). FIXES I APPLIED: none needed. REMAINS: dashboards + restore drills once epics 7/8 land; the power-return exercise may schedule a physical power test with Drewry. No decision needed now.

  16. added
    kind/infrastructure
    on Nov 29, 2026
  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: No kind/* label; acceptance was present as a ## Acceptance section but not in the standard ## Acceptance criteria form.

    Strengths: Backup/recovery is treated as a first-class epic with a provability bar, and its recovery-vault piece connects to the backup-freshness monitoring at #15001. priority/high was re-examined and stands: once a cluster exists, this epic is what makes it observable and provably restorable (concurring with today's earlier census verdict).

    Blocker recorded: Both prerequisite epics — #1087 (Cozystack platform) and #1088 (platform services) — must land first; the packet forbids starting cluster deployment/drills until both gates pass. Named in the body and today's earlier census comment.

    Note: lane CEN-C01 also posted a census comment on this issue earlier today (analysis only, no edits). This pass re-verified the live state and applied the metadata fixes below, so the two comments complement rather than duplicate each other.

    Actions taken by this census: Labels added: kind/infrastructure. Appended a ## Acceptance criteria section to the body (original text untouched), converting the issue's own acceptance wording into checkable items.

  18. added
    priority/normal
    and removed
    priority/high
    on Nov 29, 2026
  19. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Priority validation 2026-11-29 (Felix): priority/high → priority/normal — band consistency with every sibling cluster epic (all normal); this epic is blocked behind the physical chain (#1087/#1088), so it is important programme work but not time-sensitive under the priority/high definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraeffort/lepicepic/lab-clusterkind/infrastructuremeta/enrichedmode/onlinepriority/normalqueue/blockedsource/creatorstatus/blockedtask/triagework/assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions