Skip to content

impl(atlas): D1 hot-cache read-path integration — Turso-hop skip with skip logging #13105

Open

Description

@dezren39

Implementation follow-on 4 of 6 under #9134 (Atlas D1 tenant hot cache design, doc/2026-11-23T08-06-00Z_design_atlas_d1_tenant_hot_cache/2026-11-23T08-06-00Z_design_atlas_d1_tenant_hot_cache.md, merged via PR #13098).

Scope (§2, §8 item 4 of the design): read-path integration in the atlas-search Worker — Class B result-set skip and Class A hydration skip, each decided independently, only inside the freshness bound (depends on follow-ons 1 and 2), with every skip logged (tenant, key, class, entry watermark, entry age) as the measurement surface.

Acceptance: integration tests showing skip, revalidate-on-stale, and fall-through-on-D1-outage paths; D1 unavailable degrades to the pre-cache Turso path with no error surface change.

Activity

  1. developing-today commented on Nov 23, 2026

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

    @dezren39
    MemberAuthor

    xaltha lane picked this up in the 2026-11-23 hourly loop. Preflight: open, no live claim, no open PR, no xaltha branch for it (empty branch xaltha/13105-atlas-readpath created and pushed, base 32d3881c0).

    Dependency check against the code: follow-on 1 (#13100, store module) is merged; follow-on 2 (#13101, freshness evaluator) is open PR #13133, not yet merged. The Class B/A skip paths need its evaluator (evaluateFreshness in pkgs/atlas-search/worker/src/freshness.ts), so those land as Requires: #13101.

    Scoped first slice (does not depend on #13101): D1-outage fall-through — a store read that throws degrades to the pre-cache Turso path with no error-surface change (design #9134 §6), with tests; plus the §2 skip-log shape (tenant, key, class, entry watermark, entry age). Verification: worker vitest suite (pkgs/atlas-search/worker, npm ci && npm test) via remote dispatch.

    Paused this run: the lane worktree checkout is held for a safety review before any edits land in it. Resume point is branch xaltha/13105-atlas-readpath with the slice above; no code changed yet.

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

    epic/atlas-programReprioritization program epic (2026-11-12)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions