lancedb-update-lance-dependency

Automate Lance dependency updates across Rust and Java components with PR generation.

11.1k|995|Updated Feb 28, 2023
One-click install
npx skills add https://github.com/lancedb/lancedb --skill lancedb-update-lance-dependency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lancedb-update-lance-dependency
Source: https://github.com/lancedb/lancedb/tree/main/.agents/skills/lancedb-update-lance-dependency
Command: npx skills add https://github.com/lancedb/lancedb --skill lancedb-update-lance-dependency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates updating LanceDB's Lance dependency to a specific release or tag across the lancedb/lancedb repository, coordinating updates to Rust workspace Lance crates, Java lance-core, validation, branch creation, commits, and PR creation when requested.

Core Features & Use Cases

  • Deterministic version resolution across the repository, including handling latest, explicit tags/versions, and tag refs.
  • End-to-end dependency bump workflow: computing updates, validating changes with cargo clippy and cargo fmt, and preventing duplicate PRs.
  • PR automation and downstream triggers, including optional Sophon workflow invocations after a successful Lance update.

Quick Start

Run the update_lance_dependency script with the target Lance version or tag to perform a deterministic dependency bump.

Frequently Asked Questions about lancedb-update-lance-dependency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update the Lance dependency in the lancedb repository to a specific release tag?

The Lance dependency bump process resolves the target version across Rust workspace crates and Java components, validates changes with cargo clippy and cargo fmt, prevents duplicate PRs, and can trigger downstream Sophon workflow updates.

What does the automated dependency bump workflow do after updating Rust workspace crates?

After updating Rust workspace crates, the automated dependency bump workflow validates changes using cargo clippy and cargo fmt, creates a branch, commits the updates, pushes the changes, and generates a pull request if one is not already open.

Can I trigger downstream Sophon updates after creating a Lance dependency pull request?

Yes, the dependency bump workflow can optionally trigger Sophon workflow updates after successfully creating a pull request for the Lance dependency update in the lancedb repository.

Does the LanceDB Lance dependency update script support version bumps for Java components?

Yes, the Lance dependency update script supports Java components by updating the Java lance-core component alongside Rust workspace crates when bumping to a specified Lance release or tag.

How to prevent duplicate pull requests when bumping the Lance dependency version?

The automated dependency bump workflow prevents duplicate pull requests by checking for existing open PRs before branch creation and commit, ensuring only one PR is open for the Lance version update at any time.

What version formats can I specify when updating the Lance dependency in LanceDB?

You can specify latest, explicit tags or versions, and tag refs when updating the Lance dependency. The workflow applies deterministic version resolution to handle these formats across the repository.