Skip to content

ingest: publish the committed dataset for the staff dashboard - #785

Open
AnikethCheluva wants to merge 1 commit into
aniketh/ingest-committed-clears-problemsfrom
aniketh/ingest-dataset-record
Open

AnikethCheluva wants to merge 1 commit into
aniketh/ingest-committed-clears-problemsfrom
aniketh/ingest-dataset-record

Conversation

@AnikethCheluva

Copy link
Copy Markdown
Collaborator

Stack context

Follow-ups to the Lance ingest stack (#756–#761, then #770–#780). Stacked on #784.

Why

Staff review on the research workbench (Staff deliveries) ends at committed. Staff could not see what happened in Lance after that: which commit took a delivery, the tag and table version it made, or whether a correction replaced a recording.

The dashboard reads only the ingest bucket, and should not need Lance or R2 access to rldb. So each round of the ingest loop (egomimic.ingest.run) now writes pipeline/dataset.json to the ingest bucket. It holds:

  • every row of changes.lance, newest first: tag, source, operator, added, replaced, committed_at
  • the recordings.lance version each commit's tag pins
  • that table's current version and row count

It is written every round, not only after a commit by the loop, so a manual lance_commit --replace shows up within one round. A failure to write it is reported in the round's log line and does not stop the loop.

Tests

test_the_dataset_record_lists_each_commit_with_its_version: empty before the first commit; after one, the commit lists the recording as added and the version matches the tag; it round-trips through the store. Watch, store and tools tests: 133 passed on rl2-3.

🤖 Generated with Claude Code

Each round of the ingest loop now writes pipeline/dataset.json to the ingest
bucket: every row of changes.lance, newest first, with the recordings table
version its tag pins, plus that table's current version and row count. The
dashboard already reads the ingest bucket and nothing else, so it can show
staff each commit, the version it made and the recordings it added or
replaced without reading Lance itself. It runs every round, not only after a
loop commit, so a manual lance_commit --replace shows up too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant