Skip to content

feat(rollout): add filtered reads#142

Merged
beinan merged 2 commits into
lance-format:mainfrom
xuzha:feat/rollout-read-filters
Jul 15, 2026
Merged

feat(rollout): add filtered reads#142
beinan merged 2 commits into
lance-format:mainfrom
xuzha:feat/rollout-read-filters

Conversation

@xuzha

@xuzha xuzha commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add typed exact-match rollout filters for rollout, problem, policy, role, training eligibility, and artifact type
  • push filters into Lance LsmScanner sources before merge/deduplication, with pagination applied after deduplication
  • expose filtered reads across embedded Rust, REST, remote clients, PyO3, and sync/async Python APIs
  • document reproducible policy-version reads for RolloutDB learners

Testing

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --offline -- -D warnings
  • cargo test --workspace --offline
  • python/.venv/bin/pytest -q python/tests/test_rollout.py (8 passed)
  • python/.venv/bin/pytest -q python/tests/test_rollout_remote.py (3 passed)
  • uv run --frozen ruff format --check python/
  • uv run --frozen ruff check python/
  • uv run --frozen --extra dev pyright

Testing notes

  • The repository CI helper currently references the removed rust/lance-context/Cargo.toml; the corrected root-workspace commands above were run directly.
  • The broad local Python suite reports 184 passed, 10 failed, 2 skipped, and 1 xfailed. The 10 failures reproduce on current main: eight stale DummyInner signatures in test_search.py and two macOS moto/S3 failures.

@beinan

beinan commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

@xuzha xuzha force-pushed the feat/rollout-read-filters branch from 0244670 to 55a7f33 Compare July 14, 2026 22:03
@xuzha xuzha force-pushed the feat/rollout-read-filters branch from 55a7f33 to fe9bcac Compare July 14, 2026 22:05
…ters

# Conflicts:
#	crates/lance-context-core/src/lib.rs
@beinan beinan merged commit cbebf17 into lance-format:main Jul 15, 2026
9 checks passed
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.

2 participants