From 0d0f753071efdd2242d8b3e280bde0d99119ec59 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Fri, 24 Jul 2026 10:53:53 -0700 Subject: [PATCH 1/2] fix(ci): add missing lance-index-core README to unblock cargo publish --- rust/lance-index-core/README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 rust/lance-index-core/README.md diff --git a/rust/lance-index-core/README.md b/rust/lance-index-core/README.md new file mode 100644 index 00000000000..a954522a283 --- /dev/null +++ b/rust/lance-index-core/README.md @@ -0,0 +1,6 @@ +# lance-index-core + +`lance-index-core` is an internal sub-crate, containing the core traits and types used to +implement index plugins for [Lance](https://github.com/lance-format/lance). + +**Important Note**: This crate is **not intended for external usage**. From 20d4f2d8463eb56d47a4a1c7114970523758c110 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Fri, 24 Jul 2026 10:55:12 -0700 Subject: [PATCH 2/2] ci: dry-run cargo package in Rust CI The 9.0.0 crates.io publish failed because lance-index-core declared a readme that did not exist. Nothing in CI packages the crates, so the problem only surfaced during the release. Add a `cargo package --no-verify` job that mirrors the publish command. --- .github/workflows/rust.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fada4784ef0..6f1fc1e61ad 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,6 +42,25 @@ jobs: - name: Check formatting run: cargo fmt -- --check + package: + name: Check crates are publishable + runs-on: ubuntu-24.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions-rust-lang/setup-rust-toolchain@a0b538fa0b742a6aa35d6e2c169b4bd06d225a98 # v1 + # Catches manifest problems that only surface at publish time (missing + # readme/license files, path dependencies without a version, excluded + # files a crate needs). `--no-verify` skips building each packaged crate, + # which the other jobs already cover. Keep the excludes in sync with + # .github/workflows/cargo-publish.yml. + - name: Package crates + run: | + cargo package --workspace --no-verify \ + --exclude lance-arrow-stats \ + --exclude lance-arrow-scalar \ + --all-features + rustdoc: runs-on: ubuntu-24.04 timeout-minutes: 30