Skip to content

Dataset (multi-ledger) formatting on a residency target: unrecoverable-miss seam #1775

Open

Description

@aaj3f

format_results_async wraps single-ledger formatting in the residency drain/fetch/re-run loop (a formatting-frame miss is the NORMAL first-query path on a browser peer). The dataset hydration branch in format_results_async_dataset is not wrapped: on a residency-backed target it would take an unrecoverable formatting miss. Harmless today — the browser peer is single-ledger — but the guard was a prose comment.

From bplatz's #1733 review ("a comment is the only thing between a multi-ledger peer and an unrecoverable formatting miss"). Interim: the branch now refuses typed on a residency target instead of dying mid-hydration. Real fix when datasets go to a residency target: hoist the drain/fetch/re-run loop into a helper both paths call, with per-graph store routing (a dataset's misses can come from a secondary graph's store, so the loop must fetch against the store that missed, not just the primary's).

Activity

  1. added
    bug
    on Sep 3, 2026
  2. added
    P3
    area:query
    on Nov 14, 2026
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

    P3area:querybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions