Repository navigation
Open
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
Buildable follow-on from the #2064 topology investigation (doc PR #2291). The topology decision itself: 6 replicas, 2 per site × 3 cloud providers, sites within a few ms — cluster size is fixed at format time, so nothing here formats a production cluster until the #2064 doc has had its review round and the currency synthesis (#2043) confirms it.
Scope
- Site RTT measurement mesh (pre-format gate). Stand up one throwaway VM per candidate site (3 providers, metro-clustered region picks per the id: investigate: TigerBeetle cluster topology decision — 3 vs 6 replicas, site placement, commit latency #2064 doc §5), measure the full pairwise RTT mesh over ≥24h (p50/p95/p99), and record the results on this issue. Gate: if the slowest pairwise p95 exceeds the vendor's "few milliseconds" guidance by a wide margin, re-pick regions before any format.
- Cluster provisioning. Provision 6 replicas per the vendor hardware rules (dedicated machine + disk per replica, local NVMe, ECC where available, Linux ≥ 5.6, supervisor per replica), format at replica-count 6 with a recorded cluster ID, and bring the cluster up empty. No real value, no production data — this proves the shape.
- Dead-replica replacement runbook + rehearsal. Jepsen (via id: investigate: TigerBeetle — multi-currency ledgers, conversions, per-coin vs balance model, 3-node cluster topology #2040) found replica replacement the sharp operational edge: write the replacement procedure as a runbook in doc/, then rehearse it — kill one replica, replace it per the runbook, verify the cluster returns to full availability with balances intact.
Acceptance criteria
- RTT mesh results (p50/p95/p99, ≥24h window) recorded on this issue for the three candidate sites
- 6-replica cluster provisioned and healthy (all replicas up, cluster committing test transfers on a throwaway ledger)
- Replacement runbook in doc/ and one rehearsed replica replacement recorded here
- Production format remains gated on the id: investigate: TigerBeetle cluster topology decision — 3 vs 6 replicas, site placement, commit latency #2064 review round / id: design: ID currencies v1 #2043 synthesis confirmation — this issue builds and rehearses, it does not commit the production decision by itself
Parent epic: #2056. Origin investigation: #2064. Source investigation: #2040.
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Oct 29, 2026
CODE-1149
dezren39 commentedon Oct 29, 2026
Intake review
Related: #2064 (topology investigation, doc PR #2291), #2040 (Jepsen source), #2043 (synthesis gate), epic #2056
Notes: Acceptance criteria were already in the body as a checklist — labels only this pass, no body edit. The production format stays gated on the #2064 review / #2043 confirmation per the body itself.
Risks: Provisioning real VMs across 3 providers has cost/credential needs a repo-only worker cannot meet; the RTT mesh (≥24h) is the long pole.
Suggested approach: Start with the RTT mesh gate; do not format any cluster before the gate and the review round clear.
🤖 Agent note · filed
meta/enrichedapplied. Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found; where a queue triage task owns verification, it is named in the notes.dezren39 commentedon Nov 3, 2026
🤖 Agent note · blocked (escalated to Drew)
repo-worker-code), OpenChamber scheduled lanec29174f117 remaining items
dezren39 commentedon Nov 16, 2026
agent-note:v1
Agent: main (Lanes chat)
State: answered
Drew answered the #2292 spend question in the Lanes chat on 2026-11-16: he agrees with the RTT mesh / TigerBeetle idea in principle, but does not need a 6-node cluster right now and does not have the cloud setup for it right now. The spend is deferred, not approved: do not provision the 3-provider mesh VMs or the 6-replica TigerBeetle cluster. Ledger item rtt-mesh-spend-2292 is marked answered with this resolution; task 7869's escalation is discharged on this answer. Revisit only when Drew raises it or the cloud setup exists.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done (triaged — spend decision answered by Drew 2026-11-16: deferred)
dezren39 commentedon Nov 17, 2026
Duplicate triage packet (task 19738, lane any-d): the triage of record for #2292 is task 18216's verdict (2026-11-17T02:37Z, comment above). Re-verified fresh this shift: issue OPEN with status/blocked + queue/blocked; Drew answered the spend question in the Lanes chat on 2026-11-16 — he agrees with the RTT mesh / TigerBeetle idea in principle but does not need a 6-node cluster now and has no cloud setup for it now; the spend is deferred, not approved, and the 3-provider provisioning is not to proceed. No new follow-on from this packet; the build stays blocked on Drew's deferred spend decision, which the issue's labels already record.
dezren39 commentedon Nov 22, 2026
Triage complete at current main ecd7891. #2292 remains OPEN; #2043 and #2064 are CLOSED. The existing triage of record (#18216, corroborated by duplicate check #19738) records Drew’s 2026-11-16 answer: spend is deferred, there is no cloud setup, and no mesh or cluster provisioning is authorized. Ordered path remains RTT mesh → 6-replica throwaway rehearsal → replacement runbook, only if a new trigger makes the deferred infrastructure available. No provisioning was attempted.