GeezerVison is showing github.com — impl(id): E6 remainder — run EventStoreBackend over the tenant row layer (#12801 follow-up) · Issue #13145 · developing-today/code
impl(id): E6 remainder — run EventStoreBackend over the tenant row layer (#12801 follow-up) #13145DescriptionFollow-up to #12801 (E6 of #9083, design §11 item 6). The first E6 slice (branch xaltha/12801-tenant-store-adapter) lands the tenant DB store adapter's foundation in id-store:
- the Turso/SQLite-over-HTTP pipeline codec (
POST /v2/pipeline, baton sessions, hrana value encoding) and an HTTPS transport carrying the tenant's scoped token (never stored, redacted from Debug);
TenantStore: the native event store's 17 tables mirrored as SQL rows with redb's table semantics (byte-ordered keys, last write wins, multimap sets in value order, ordered range/prefix scans, explicit transactions over the baton session), with cross-backend row conformance tests against real redb tables.
Remaining for #12801's acceptance
-
store_traits::EventStoreBackend runs over the tenant row layer, so SharedEventStore over a Turso tenant DB behaves identically to the native store. The ingest semantics (verification, fork handling, waiting pool, resolution) live in id-events' EventStore, written directly against redb transactions; port them onto the row layer (or abstract the event store's table access onto it) without forking the semantics into a second implementation — one storage interface, backends differ only in storage (peer principle, design §0/§5.1).
- The
crates/id-store/tests/store_traits.rs conformance suite runs against both backends (native redb and tenant Turso), not only the native one.
- No hosted-only special-casing in callers above
store_traits (already true of the foundation slice; keep it true).
Sequencing: E3 (#12799) needs E1 + E6; this remainder is the part of E6 that E3's hosted sync ingress ultimately exercises. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Correction to the sequencing line above: E3 is #12798 (not #12799 — #12799 is E4). #12801's own blocked-by/blocking fields agree: E6 blocks #12798. The remainder described here is unchanged. dezren39 commented on Nov 23, 2026
Gate record — Lane QG (archer), 2026-11-23. Premise check for the E6 remainder: not yet ripe — the foundation it runs over is not on main.
Fresh verification at code main ebd4bde81ca3:
So this remainder is dependency-blocked on #12801's foundation slice landing. The acceptance items here (EventStoreBackend over the row layer, dual-backend store_traits.rs conformance) cannot start against a row layer that only exists on an unmerged branch. Resume when #12801's foundation merges; no duplicate packet needed. dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-06, 2026-11-24): still blocked. TenantStore, the tenant row layer from #12801, is not on main yet (per the Lane QG gate record above). Parked on that dependency with a ready condition, not implemented here. developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · handed off
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: task 22288 — live claimed task in repo-health-code-pilot
- Found via: monitor reconciliation
- Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
- Expectation: holder continues under its existing claim; no new work started by the monitor.
- Links: queue task above
developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 22288
- Found via: monitor reconciliation
- Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 1) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
- Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: verify-foundation-impl(pm-stack): E6 — tenant DB store adapter in id-store (#9083) #12801
- Links: queue repo-health-code-pilot
developing-today-fleet commented on Nov 26, 2026 Triage outcome (2026-11-26): resolved in substance by merged PR #14642 (merge 2c9f1151c2ea48a4005506f3f0e7957c4ad33ecd; head 43602e837aaa640afbd70d0e74e402a1d7820983). The PR implements shared EventStore<B> over native and tenant storage, moves ingest/sync/invariant/fork/waiting/body/event lookup semantics behind the shared backend, and keeps id-sync generic without hosted-only caller branches. Its paired native/TenantStore store_traits suite passed 12/12; Fleet run #45879046271 and laptop fleet-build-lock checks passed. This covers both remaining acceptance bullets from #13145; no follow-on packet is needed. The old gate note predates the foundation and shared-backend work, which landed together in #14642. developing-today-fleet commented on Nov 26, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|