Repository navigation
ci: keep Windows Cargo git checkouts under MAX_PATH - #94
Merged
Merged
Conversation
The locked Lance v15.0.0-beta.25 fixture has a 188-character relative test-data path. Cargo's default Windows checkout prefix pushes it to 261 characters, over MAX_PATH, so use C:\c as CARGO_HOME only on Windows and report the effective value. The longest checkout path becomes 238 characters. The Rust cache reads CARGO_HOME, so it caches the same short home.
This was referenced Nov 21, 2026
Xuanwo
added a commit
that referenced
this pull request
Nov 21, 2026
The project no longer ships an x86_64-apple-darwin artifact, so the package matrix keeps the five remaining platforms. The Windows Cargo home fix from #94 stays unchanged. Signed-off-by: Xuanwo <[email protected]>
Xuanwo
added a commit
that referenced
this pull request
Nov 21, 2026
* table: bind configurable optimize actions and their statistics lancedb_table_optimize stays as it is: each action runs with the SDK defaults and the statistics are discarded. The new lancedb_table_optimize_with_action binds the same SDK operation with the options of the action it runs and returns the metrics the SDK reports. * compact carries the seven SDK compaction overrides; prune carries the age in exact nanoseconds and the two tri-state flags * set_fields keeps an omitted option distinct from a value that equals the default, and the SDK's optional size fields stay optional * the result keeps the SDK's optional compaction and prune groups apart * invalid input is rejected with LANCEDB_INVALID_ARGUMENT before the table is touched: an action outside LanceDBOptimizeType, unknown option bits, sizes that do not fit in size_t, booleans other than 0 and 1, and a negative prune age * the action is a raw int in the config, so an out-of-range value is rejected instead of becoming an invalid Rust enum; the legacy function and its dispatch are unchanged * the C tests check real compaction numbers, an explicit materialize_deletions=false against the omitted default, a sub-second prune age that removes three old versions, and rejection without any version or fragment change Signed-off-by: Xuanwo <[email protected]> * ci: drop the Intel macOS package target The project no longer ships an x86_64-apple-darwin artifact, so the package matrix keeps the five remaining platforms. The Windows Cargo home fix from #94 stays unchanged. Signed-off-by: Xuanwo <[email protected]> * optimize: document backend behavior and pin the prune age * note that an Enterprise compaction treats a target equal to the SDK default as omitted and returns placeholder metrics after submission * spell out a cutoff at now, the versions that survive it, and that tagged versions are retained unless error_if_tagged_old_versions refuses * clarify what the C++ 1µs prune case can and cannot prove * add a deterministic Rust test for the nanosecond prune age and its presence bit, without clock reads Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Windows package jobs fail before compilation because Cargo checks out the locked Lance fixture under its default home, and that checkout exceeds
MAX_PATH:run 44928958987 on
windows-2025reportspath too long: 'C:/Users/runneradmin/.cargo/git/checkouts/lance-.../test_data/v14.0.2/long_branch.lance/...json'.This sets
CARGO_HOME=C:\con Windows only, before Rust setup and the cache step, and prints the effective value in the environment report. The longest Cargo git checkout path drops to 238 characters, and the Rust cache writes to the same short home. Linux and macOS keep their default Cargo home.The same workflow delta is already proven in #91: run 44929561535 passed all 14 checks, including windows-2025 x64 and windows-11-arm. This PR carries only that workflow change onto current
main; the package version and the pinnedlancedb/lancerevisions are untouched.