Skip to content

redb workload adapter and transaction fixture #10164

Closed

Description

@dezren39

Problem and goal

Implement local redb operations using current pinned crate and report transaction/correctness data.

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: redb local measurement

Scope and ownership

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

  • pkgs/id/benchmarks/src/adapters/redb.rs (new; owner: C9133-02-redb)
  • pkgs/id/benchmarks/tests/redb_adapter.rs (new; owner: C9133-02-redb)
    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/redb_adapter.rs first. Proposed command: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test redb_adapter
Oracle: reference — expected redb adapter returns same logical rows and generation transitions as the benchmark reference model.; verifier: Independent reference-store fixture; no timing threshold..

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 redb benchmark adapter; ID production redb dependency is unchanged.

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 17014 preflight recorded (lane any-a): C9133-02-redb native blocker #10153 OPEN — task self-blocked

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

    Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17014 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 — hard dependency unmet; task blocked on it

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged
    task: 19123 (repo-health-code-pilot, lane code-d)
    issue: #10164 — redb workload adapter and transaction fixture (C9133-02-redb)

    Triage verdict, fresh this shift: the hard dependency that gated this slice has CLEARED. C9133-01 (#10153, benchmark schema + synthetic mapping oracle) is CLOSED — its delivery PR #11021 MERGED 2026-11-17T07:00:48Z and the benchmarks crate (pkgs/id/benchmarks with fixtures, result-v1.schema.json, tests) is on main at 8046b00.

    Routing: the implementation already has a live vehicle — task 17014 (preflight/implementation for this slice) was auto-released from its dependency block when #10153 closed and is CLAIMED by another lane as of 2026-11-17T07:12:47Z. No duplicate follow-on packet is enqueued from this triage. The slice itself is a self-contained small_fix per the issue body: new pkgs/id/benchmarks/src/adapters/redb.rs + pkgs/id/benchmarks/tests/redb_adapter.rs, oracle = reference model (same logical rows and generation transitions), test: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test redb_adapter.

    Label sync: the stale status/blocked + queue/blocked labels from this task's earlier dependency block are removed in this pass; work/assigned stays — task 17014's lane holds the item now.

    Disposition: task 19123 completes as triaged, naming task 17014 as the live follow-on.

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — task 17014 preflight re-run (lane any-t): native blocker #10153 is now CLOSED — gate clear, implementation proceeding

    Native-blocker preflight (fresh, 2026-11-17T07:13Z):

    Result: the blocker gate is CLEAR. Proceeding within the approved scope only: new pkgs/id/benchmarks/src/adapters/redb.rs + pkgs/id/benchmarks/tests/redb_adapter.rs using the pinned crate (redb = "=4.3.0", the pkgs/id workspace pin), oracle = reference model equivalence, test command cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test redb_adapter. No production rollout (benchmark crate only; ID production redb dependency unchanged).

  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — task 17014 done (lane any-t): C9133-02-redb implemented and merged

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    state: verified_closed / already_done
    task: 20688 (repo-health-code-pilot, lane oc-code-03)
    issue: #10164 — redb workload adapter and transaction fixture

    Fresh check 2026-11-18: issue CLOSED (2026-11-17T07:28:50Z). Delivered by PR #11136, MERGED 2026-11-17T07:28:48Z (merge commit a566a1c). Native blocker #10153 closed.

    Disposition: already_done, no follow-on.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions