You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API product implementation work · part of #521 (E11) · child 2 of 6.
Probe
Paging is already snapshot-stable: read.rs cursors encode {s: snapshot, k: last_key} and a cursor-less read pins the latest snapshot (resolve_page_pin), sending x-er-snapshot. Golden-record detail takes snapshot=. What is missing is the join from a RUN to a snapshot: RunItem carries config_hash, model_version, tf_snapshot_id, but not the lake snapshot its results were committed at. So "read the results of run R" is not expressible, and a newer run can move the latest snapshot between a job.succeeded and the customer's first read.
Scope
Record the committed lake snapshot on the run row (entity change through entities/) and expose it on RunItem.
Result list reads accept an explicit snapshot= (golden-records, duplicates), validated against retention (snapshot expiry): 410 or 422 with a clear detail when it is gone, never a silent read of a different snapshot.
Document the consistency contract: a full read is all pages of one snapshot.
Acceptance
A test reads run R's results after a newer run R+1 has committed, and gets R's. An expired snapshot is refused loudly. Truncation cannot masquerade as completeness (an explicit next_cursor: null means done).
changed the title [-]E11.1 — Document every public result read's payload (Arrow and JSON)[/-][+]E11.2 — Run-to-snapshot identity, explicit snapshot reads[/+]on Nov 25, 2026
Activity
[-]E11.1 — Document every public result read's payload (Arrow and JSON)[/-][+]E11.2 — Run-to-snapshot identity, explicit snapshot reads[/+]athvin commentedon Nov 25, 2026
Claimed — working in #1236 (draft). Closing that PR releases the claim.
feat(runs): a finished run records the snapshot holding its results (#…
feat(api): result list reads take an explicit snapshot, refused loudl…
test: pin run R's snapshot exactly, not by equal results (#1229)
chore(api): regenerate OpenAPI and schema.d.ts for snapshot reads (#1229
wip: claim #1229 — run-to-snapshot identity
feat(runs): a finished run records the snapshot holding its results (#…
feat(api): result list reads take an explicit snapshot, refused loudl…
test: pin run R's snapshot exactly, not by equal results (#1229)
chore(api): regenerate OpenAPI and schema.d.ts for snapshot reads (#1229
feat(api): run-to-snapshot identity and explicit snapshot reads (#1236)