Repository navigation
chore(deps): update Lance to 15.0.0-beta.11 - #4881
Conversation
Reuse the necessary Node and Python execution-test adaptations from #4882 so the dependency update can pass CI independently. Preserve exact probe counts, recall, bounds, and precedence coverage.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
There was a problem hiding this comment.
✅ Gate recommendation: approve.
The coordinated beta.11 pins resolve the downstream mixed-version graph without changing unrelated dependencies or feature flags. The revised binding assertions match the released metric/k calibration, while retaining Auto behavior, probe precedence, bounds, and recall coverage.
Please mark this PR with the breaking-change label: lancedb::table::ReadParams::store_options now contains an ObjectStoreParams with an additional http_connector field in cloud-enabled builds, so Rust callers constructing exhaustive ObjectStoreParams literals must initialize that field.
Lance beta.11 calibrates lower `search_effort` tiers by metric and requested `k`. With the Rust dependency and Python/Node execution tests already on main via #4881, document the tiers across Rust, Python, Node and the search guide, extend the remote request matrix to cover `0.1` and `0.25`, and align the Python test package with beta.11. `0.1` and `0.25` target empirical mean partition-routing recall of 80% and 90% for L2, cosine and dot through `k=100000`. These are not per-query or final Recall@k guarantees. Default Auto is unchanged; Hamming and larger `k` remain uncalibrated, and remote queries require corresponding server support. This PR makes no additional performance claim. See [Lance #10695](lance-format/lance#10695) for measurements and limitations. Validation: both strict workspace Clippy configurations, Rust formatting, 13 Rust effort tests, 208 Python query tests, 41 Node query tests, native binding builds, TypeScript, Node lint/generated docs, Python lint/format, full lockfile check and two dependency guards passed on `a8b09170`. All validated Rust/Python/Node source and dependency files are byte-identical at `2a82d07c`; the only subsequent change restores the Java POM to main. Root Ruff has 59 existing diagnostics and six formatting files, all byte-identical to the base; the Python package passes. The Java REST/Namespace client has no changed API here, and its dependency remains identical to main. The separate [Java beta publication failure](lance-format/lance#10773) is not claimed resolved or validated. Official SDK release, automatic mirror, Sophon adoption and measured consumer acceptance remain follow-up stages.
Downstream workspaces adopting Lance 15.0.0-beta.11 currently also resolve beta.10 because the SDK pins every Lance crate exactly. This produces incompatible Lance types across the SDK and the consumer.
Update the workspace pins and lockfile to the published v15.0.0-beta.11. This release includes payload-free list length reads and preserves those read modes across serialized plans (lance-format/lance#10759, lance-format/lance#10766). Existing feature flags and unrelated locked packages are unchanged.
The release also includes the metric/k-dependent search-effort calibration from lance-format/lance#10695. Update the Node and Python execution tests to its exact probe budgets (for example, effort 0.25 with L2, k=8 and Auto=6 now probes 4 partitions), and cover the 0.1 tier. Recall, caller bounds and probe-precedence assertions remain in place.
Validation:
cargo fmt --all --checkcargo clippy --quiet --features remote --tests --examplesDownstream metadata fixture with SDK source and the released Lance beta.11 path overrides resolves exactly one Lance version.
cargo test --quiet --features remote --tests: 2,271 passed, 0 failed, 79 existing ignored tests.Node native/TypeScript build, lint and API documentation generation passed; 41 query tests passed.
Python native binding build and package Ruff checks passed; 208 query tests passed, 1 slow test deselected, 5 existing deprecation warnings.
Rust results remain applicable: the follow-up changes only binding tests, with product source and dependency graph unchanged from the tested dependency update.
Repository-root Ruff currently reports 59 lint findings and 6 formatting failures in untouched documentation snippets. Their blobs match the PR base; the changed Python test and the entire Python package pass lint/format checks.