Skip to content

Turso workload adapter and sync state capture #10165

Open

Description

@dezren39

Problem and goal

Implement local Turso operations and report local revision/push/pull/network state separately from query timing.

Version and design basis

Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9133-benchmark-contract-s21s23-s216 (section: #9133 benchmark contract (S2.1–S2.3, S2.16)).
Tier: recommended.
Statement IDs: S2.1, S2.2, S2.3, S2.16
Enables: Turso local measurement

Scope and ownership

Parent: #9133 (native component/meta parent).

  • pkgs/id/benchmarks/src/adapters/turso.rs (new; owner: C9133-02-turso)
  • pkgs/id/benchmarks/tests/turso_adapter.rs (new; owner: C9133-02-turso)
    Hard dependencies (native blockers): C9133-01 — benchmark crate manifest, schema, shared workload types and synthetic fixtures
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/benchmarks/tests/turso_adapter.rs first. Proposed command: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test turso_adapter
Oracle: reference — expected Local fixture returns same logical rows and exposes sync revision/push/pull separately; test uses no remote credentials.; verifier: Independent reference-store fixture and pinned local database state..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Remove Turso benchmark adapter; no remote database state is changed.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 17015 preflight recorded (lane any-a): C9133-02-turso native blocker #10153 OPEN — task self-blocked

    Native-blocker preflight (fresh, 2026-11-14T17:16Z):

    Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17015 is self-blocked as a broker dependency block on #10153; the broker returns it to the pool automatically when #10153 closes, and the preflight then re-runs fresh.

  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — task 19124 (lane code-c)

  4. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — preflight triage (lane any-j, task 17015)

    State: triaged — preflight confirms a fully specified granular slice (C9133-02-turso) from the #9106 ID/Atlas mill, already routed and dep-blocked under its own task (status/blocked + queue/blocked, left untouched by this preflight). Its triage labels are already set (task/small-fix, priority/high, effort/m).

    Fresh evidence (checked 2026-11-17):

    Preflight verdict:

    • Work kind: task/small-fix (benchmark adapter slice) — already labeled; the slice IS the packet.
    • Priority/effort: priority/high + effort/m — already set and correct for the ID benchmark track.
    • First concrete step for the claiming lane: re-check C9133-01 fresh, then create the adapter test first per the body's test-first rule.
    • Acceptance check for this preflight: this note + the slice spec + its recorded dependency; task 17015 completes as triaged.

    Queue: task 17015 (lane any-j) — claimed, triaged inline per runbook §1c.

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: openchamber-scheduled-lane (code-g) · worker repo-worker-code · queue task 20493
    kind: triage → blocked
    Fresh check 2026-11-18: #10165 OPEN. Its hard dependency is C9133-01 (benchmark crate manifest, schema, shared workload types, synthetic fixtures). I could not find a separate open issue titled C9133-01; parent #9133 is OPEN. The crate-compile fix #11178 is CLOSED. Blocked until the C9133-01 slice is confirmed merged. Resolve the native blocker reference before re-dispatch.

  7. removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Block lifted — blocker sweep 2026-11-23 (Survey A).

    Named native blocker for this slice (C9133-02-turso preflight): #10153 (C9133-01 — benchmark schema and synthetic mapping oracle).

    Evidence it is now CLOSED (verified fresh via gh REST this pass): #10153 — CLOSED 2026-11-17. It was the sole blocker named in the preflight notes on this issue.

    The dependency block is stale, so it is lifted: label queue/blocked removed, queue/queued added. The Turso adapter work itself is not done — it returns to the queue for its approved scope.

  9. added and removed
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Claim — Lane OH (archer), 2026-11-23. Taking the C9133-02-turso implementation slice: new pkgs/id/benchmarks/src/adapters/turso.rs + pkgs/id/benchmarks/tests/turso_adapter.rs — local Turso operations reporting local revision/push/pull/network state separately from query timing. Native blocker C9133-01 (#10153) verified CLOSED. Oracle: reference — local fixture returns the same logical rows and exposes sync revision/push/pull separately; no remote credentials. Proposed check: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test turso_adapter.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Hold — Lane OH (archer), 2026-11-23. Creating the laptop worktree ~/wt-lane-oh-10165 (branch lane-oh-10165, at exact main SHA 3a941eff430e4bb158e8f2140dd17f8604a43568) returned a result that failed a platform execution-risk check on the checkout's content. Per the standing rule for this flag class, I ran no git/build/test operations inside the worktree afterward and left it untouched at the base SHA. No code landed; no PR opened.

    Prepared scope (from this issue's own spec; minutes-to-hours once approved): premise verified TRUE and unclaimed before the flag — issue OPEN, native blocker C9133-01 (#10153) CLOSED, block lifted by the 2026-11-23 sweep. On Drew's item-specific go-ahead for executing in ~/wt-lane-oh-10165, the remaining work is exactly the declared slice:

    • New pkgs/id/benchmarks/src/adapters/turso.rs: local Turso operations against the C9133-01 benchmark crate's shared workload types/fixtures, reporting local revision/push/pull/network state separately from query timing.
    • New pkgs/id/benchmarks/tests/turso_adapter.rs: reference-oracle test — local fixture returns the same logical rows as the reference store and exposes sync revision/push/pull separately; no remote credentials.
    • Verify: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test turso_adapter (in the pkgs/id nix develop shell), then PR + merge, with the test output attached here as the done evidence.

    Add code#10165 to the flag-hold list (worktree ~/wt-lane-oh-10165).

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

    effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/queuedHas a queued queue taskstatus/blockedQueue or user escalation statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions