Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
b84150a
chore: update lance dependency to v6.0.0-beta.4 (#3325)
lancedb-robot Apr 27, 2026
f31e277
fix: address RUSTSEC-2026-0104 cargo-deny advisory (#3326)
westonpace Apr 28, 2026
2e36cd9
Bump version: 0.31.0-beta.9 → 0.31.0-beta.10
Apr 28, 2026
4dcd7f4
Bump version: 0.28.0-beta.9 → 0.28.0-beta.10
Apr 28, 2026
25dfe2c
feat: add manifest-enabled directory namespace mode (#3332)
jackye1995 Apr 29, 2026
4a5341e
chore: update lance dependency to v6.0.0-beta.7 (#3334)
lancedb-robot Apr 29, 2026
a2aea7b
Bump version: 0.31.0-beta.10 → 0.31.0-beta.11
Apr 29, 2026
c091243
Bump version: 0.28.0-beta.10 → 0.28.0-beta.11
Apr 29, 2026
59db036
fix(python): add missing space in hybrid query error message (#3340)
n1teshy May 2, 2026
87b831b
fix(node): remove redundant `postbuild:release` script to fix build f…
qingfeng-occ May 4, 2026
1fc23e5
fix(python): make Permutation picklable for PyTorch multiprocessing (…
westonpace May 5, 2026
a17c241
feat(python): make Permutation fork-safe for PyTorch DataLoader worke…
westonpace May 5, 2026
47a34f5
chore: update lance dependency to v7.0.0-beta.4 (#3348)
lancedb-robot May 6, 2026
5338aeb
ci: avoid passing GPG passphrase on command line in Java publish work…
octo-patch May 7, 2026
455ba5a
chore: update lance dependency to v7.0.0-beta.7 (#3356)
lancedb-robot May 7, 2026
694aa48
fix(database): drop spurious trailing `?` from listing-database URIs …
touch-of-grey May 8, 2026
9b21c13
feat(python): support model-backed native FTS tokenizers (#3289)
Xuanwo May 8, 2026
650f173
feat(python): add IVF_HNSW_FLAT vector index support (#3366)
shenganzhang May 11, 2026
011fdd5
feat(nodejs): add prewarmData method on Table (#3374)
brendanclement May 12, 2026
81617fd
ci(nodejs): switch from npm to pnpm 11 (#3373)
wjones127 May 13, 2026
02de075
feat(nodejs): add namespace management methods on Connection (#3371)
brendanclement May 13, 2026
9330a9b
feat(nodejs): expose connectNamespace for namespace-backed connection…
brendanclement May 13, 2026
df4ad9f
feat(nodejs): add Scannable primitive for streaming ingestion (#3271)
Its-Tanay May 14, 2026
f893589
fix(python): invalid namespace mode/behavior was silently ignored, no…
brendanclement May 14, 2026
5b45e44
fix(rust): map lance-namespace errors to TableNotFound / TableAlready…
justinrmiller May 14, 2026
64aeee8
feat(python): support `bytes` in `lit()` expressions (#3387)
shenganzhang May 14, 2026
13c6dae
feat(nodejs): add Connection.renameTable with namespace support (#3365)
nehaaprasaad May 14, 2026
7b74c3d
chore: update lance dependency to v7.0.0-beta.9 (#3391)
lancedb-robot May 15, 2026
f02c4ca
chore: update lance dependency to v7.0.0-beta.10 (#3393)
lancedb-robot May 16, 2026
ab2c5ad
feat(nodejs): add order_by method to Query (#3123)
ddupg May 17, 2026
6a431ff
feat: support setting unenforced primary key (#3394)
touch-of-grey May 17, 2026
0d30b31
feat: support setting LSM write spec for a table (#3396)
touch-of-grey May 18, 2026
8df2fff
ci: bump version after 0.29 release (#3378)
westonpace May 18, 2026
aac6c62
feat(python): add public take_offsets method on Permutation (#3375)
geruh May 18, 2026
af8ca2a
chore: update lance dependency to v7.0.0-beta.13 (#3399)
lancedb-robot May 18, 2026
6286ee8
Bump version: 0.32.0 → 0.32.1-beta.0
May 18, 2026
53c2164
Bump version: 0.29.0 → 0.29.1-beta.0
May 18, 2026
5d1c289
feat(python): align to_pandas pandas kwargs (#3397)
BubbleCal May 19, 2026
ad1634a
docs: document CI preflight requirements (#3409)
Xuanwo May 19, 2026
01e272c
fix(rust): match embedding scannable columns by name (#3410)
westonpace May 19, 2026
20556e2
docs: add missing Python index classes to API reference (#3392)
singhvishalkr May 19, 2026
049b0c8
feat(nodejs): add progress to Table.add (#3398)
brendanclement May 20, 2026
5bfde47
fix: support nested field paths in native index creation (#3408)
Xuanwo May 20, 2026
54a1982
docs: document Python uv agent workflow (#3417)
Xuanwo May 20, 2026
4cb9147
feat(nodejs): add renameTable on Connection (#3386)
brendanclement May 20, 2026
2d5298b
chore(deps): bump the rust-minor-patch group across 1 directory with …
dependabot[bot] May 20, 2026
2eba7eb
fix: return canonical nested index paths (#3413)
Xuanwo May 20, 2026
cf162c8
test(python): cover nested FTS field paths (#3418)
Xuanwo May 20, 2026
15bd821
fix(python): check all table pages for db membership (#3395)
pragnyanramtha May 20, 2026
55ae619
fix(python): drop version from Table __repr__ (#3411)
mackrorysd May 20, 2026
d5dc4c0
fix: discover nested vector columns by default (#3423)
Xuanwo May 21, 2026
4bccb43
fix(python): route sync BaseQueryBuilder.to_batches through async pat…
justinrmiller May 21, 2026
4ce1752
Bump version: 0.32.1-beta.0 → 0.33.0-beta.0
May 21, 2026
1bb7acb
Bump version: 0.29.1-beta.0 → 0.30.0-beta.0
May 21, 2026
a000104
fix: canonicalize remote nested field paths (#3430)
Xuanwo May 22, 2026
403c33d
Bump version: 0.33.0-beta.0 → 0.33.0-beta.1
May 22, 2026
7168d64
Bump version: 0.30.0-beta.0 → 0.30.0-beta.1
May 22, 2026
8463a10
docs: clarify PR title requirement for agents (#3433)
Xuanwo May 22, 2026
da2a1c4
test(rust): fix flaky env-var-dependent client tests (#3426)
wjones127 May 22, 2026
ec82e36
docs(python): document in-memory connections (#3434)
cosmopolitan033 May 22, 2026
ccec91d
fix: use releases API in check_lance_release.py (#3427)
wjones127 May 22, 2026
df2b6d3
feat(rust): support DataFusion Expr for table row deletions (#3415)
yuvalif May 26, 2026
15e7580
feat(remote): send read freshness headers for remote table consistenc…
brendanclement May 26, 2026
87bd669
chore(deps): bump the rust-minor-patch group across 1 directory with …
dependabot[bot] May 26, 2026
7dba793
fix(rerankers): inverted scores and incorrect missing-FTS penalty in …
devteamaegis May 26, 2026
a7d9f2e
fix: remove primary key constraint from MemWAL bucket sharding (#3435)
jackye1995 May 27, 2026
a9f49c8
fix: allow appending arrow.json data into lance.json tables (#3429)
wjones127 May 27, 2026
e77a62e
chore: update lance dependency to v7.1.0-beta.4 (#3450)
lancedb-robot May 27, 2026
b20cdc4
ci: fix pypi publish on mac/windows/arm (#3449)
wjones127 May 27, 2026
a3339b7
ci: drop manylinux2_17 wheel builds (#3455)
wjones127 May 28, 2026
ab982d7
perf: migrate list_indices to use Lance's describe_indices (#3108)
wjones127 May 28, 2026
d05fe8e
feat(python): unify sync create_index API to match async API (#2882)
wjones127 May 28, 2026
60ac5c9
test(python): fix remote create_index schema fixture (#3462)
Xuanwo May 29, 2026
458dcab
chore: upgrade Rust toolchain to 1.95.0 (#3390)
wjones127 May 29, 2026
048f52c
feat(table): route merge_insert through the MemWAL LSM write path (#3…
touch-of-grey May 29, 2026
5638907
chore: update Lance to v7.2.0-beta.1 (#3461)
Xuanwo May 29, 2026
968277b
chore(deps): bump the rust-minor-patch group with 5 updates (#3465)
dependabot[bot] May 31, 2026
ac699d7
chore: bump lance to 7.2.0-beta.3 (#3471)
Xuanwo Jun 1, 2026
60f9615
Bump version: 0.33.0-beta.1 → 0.33.1-beta.0
Jun 1, 2026
f20ec99
Bump version: 0.30.0-beta.1 → 0.30.1-beta.0
Jun 1, 2026
a327044
feat(python): support remote tables in PyTorch dataloaders (#3432)
Xuanwo Jun 2, 2026
7b87490
ci: move Lance dependency bump flow into skill (#3475)
Xuanwo Jun 2, 2026
d065be0
feat: add update_field_metadata to edit per-field metadata (#3482)
brendanclement Jun 2, 2026
3796843
feat: deprecate replace_field_metadata for update_field_metadata (#3484)
brendanclement Jun 2, 2026
6f18eb4
feat(python): support blob modes in query to_pandas (#3487)
BubbleCal Jun 3, 2026
ac3411e
Bump version: 0.33.1-beta.0 → 0.33.1-beta.1
Jun 3, 2026
9483b53
Bump version: 0.30.1-beta.0 → 0.30.1-beta.1
Jun 3, 2026
1e7326c
fix(rerankers/mrr): raise ValueError on empty vector_results list (#3…
devteamaegis Jun 3, 2026
9969191
fix(rerankers): guard against empty vector_results in RRFReranker.rer…
devteamaegis Jun 3, 2026
632375f
docs: add cross-SDK parity guidance for code review (#3464)
brendanclement Jun 3, 2026
4e44262
test(python): add regression test for nullable struct with None (#265…
Mr-Neutr0n Jun 3, 2026
a16676e
ci: update python lockfile weekly (#3498)
wjones127 Jun 3, 2026
415d199
feat(rust): support datafusion expressions for merge insert predicate…
Ar-maan05 Jun 3, 2026
927ba2c
fix(python): route blob query pandas through scanner (#3491)
BubbleCal Jun 4, 2026
952055d
Bump version: 0.33.1-beta.1 → 0.33.1-beta.2
Jun 4, 2026
39a9f3e
Bump version: 0.30.1-beta.1 → 0.30.1-beta.2
Jun 4, 2026
e6c5de1
chore(deps): bump the rust-minor-patch group with 3 updates (#3499)
dependabot[bot] Jun 4, 2026
64194ea
fix(python): make LanceDBClientError pickleable (#3470)
hashwnath Jun 4, 2026
4b287fd
chore: update lance dependency to v8.0.0-beta.2 (#3500)
lancedb-robot Jun 4, 2026
c13ebc6
feat(remote): implement set/unset_lsm_write_spec REST variant (#3501)
hamersaw Jun 5, 2026
3868965
fix(python): run AsyncTable.search embeddings on a dedicated executor…
Ar-maan05 Jun 5, 2026
c484b24
chore: update lance dependency to v8.0.0-beta.4 (#3507)
lancedb-robot Jun 5, 2026
09b1bbc
refactor!: drop unused loss field from IndexStatistics (#3496)
wjones127 Jun 5, 2026
f37e698
chore: update lance dependency to v8.0.0-beta.5 (#3508)
lancedb-robot Jun 5, 2026
59fbfd4
chore: update lance dependency to v8.0.0-beta.6 (#3510)
lancedb-robot Jun 5, 2026
3e25f58
fix(python): push down namespace full reads (#3516)
BubbleCal Jun 8, 2026
53517b3
feat: add table branch support (#3490)
brendanclement Jun 8, 2026
d901806
feat: support checking out a version on a branch (#3504)
brendanclement Jun 9, 2026
f260d3b
fix(util): convert numpy scalars in value_to_sql (#3522)
devteamaegis Jun 9, 2026
9c12fb6
fix(nodejs): treat NAPI_RS_FORCE_WASI as truthy only when set to 'tru…
nuthalapativarun Jun 9, 2026
566b67a
fix: support LargeList label list indexes (#3529)
Xuanwo Jun 10, 2026
dd4d03e
build: bump lance to runtime-dispatch fork; document RUSTFLAGS overri…
tobocop2 Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .agents/skills/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Agent Skills

This directory contains repo-scoped code agent skills for the LanceDB project.

Each skill is a folder that contains a required `SKILL.md` and optional bundled resources.

Codex discovers skills from `.agents/skills` in the current working directory and parent directories.
98 changes: 98 additions & 0 deletions .agents/skills/lancedb-update-lance-dependency/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
name: lancedb-update-lance-dependency
description: Update LanceDB to a specific Lance release or tag. Use when bumping Lance dependencies in the lancedb repository, including Rust workspace Lance crates, Java lance-core, validation, branch creation, commit, push, and PR creation when requested.
---

# LanceDB Update Lance Dependency

## Scope

Use this skill in the `lancedb/lancedb` repository when updating the Lance dependency to a specific Lance version or tag.

Inputs can be a version (`7.2.0-beta.1`), a tag (`v7.2.0-beta.1`), a tag ref (`refs/tags/v7.2.0-beta.1`), or `latest`.

## Workflow

1. Confirm the worktree status with `git status --short`.
2. Resolve the target Lance version:

- If the input is `latest`, empty, or omitted, run:

```bash
python3 ci/check_lance_release.py
```

Parse the JSON output. If `needs_update` is not `true`, stop without creating a PR. Otherwise use `latest_tag`.

- If the input is explicit, use it directly.

3. Compute update metadata without changing files:

```bash
python3 ci/update_lance_dependency.py "$TAG_OR_VERSION" --metadata-only
```

Before making changes, check for an existing open PR with the emitted `pr_title`:

```bash
gh pr list --search "\"$PR_TITLE\" in:title" --state open --limit 1 --json number,url,title
```

If a matching open PR exists, stop and report it instead of creating a duplicate.

4. Run the deterministic update entrypoint:

```bash
python3 ci/update_lance_dependency.py "$TAG_OR_VERSION"
```

This updates the Rust workspace Lance dependencies through `ci/set_lance_version.py`, updates `java/pom.xml`, refreshes Cargo metadata, and prints JSON metadata containing `branch_name`, `commit_message`, and `pr_title`.

5. Run validation:

```bash
cargo clippy --quiet --workspace --tests --all-features -- -D warnings
cargo fmt --all --quiet
```

Fix real diagnostics and rerun clippy until it succeeds. Do not skip warnings.

6. Inspect `git status --short` and `git diff` to ensure only the Lance dependency update and required compatibility fixes are present.

7. If the task only asks to prepare local changes, stop here and report the changed files and validation result.

8. If the task asks to publish the update, create a branch using the printed `branch_name`, stage all relevant files, and commit using the printed `commit_message`. Do not amend or rewrite existing commits.

9. Push to `origin`. Before creating the PR, check that the current token has push permission:

```bash
gh api repos/lancedb/lancedb --jq .permissions.push
```

If the remote branch already exists for the same generated branch name, delete the remote ref with `gh api -X DELETE repos/lancedb/lancedb/git/refs/heads/$BRANCH_NAME`, then push. Do not force-push.

10. Create a PR targeting `main` with the printed `pr_title`. If there is no PR template, keep the body to two or three concise sentences: state the Lance dependency bump, note any required compatibility fixes, and link the triggering Lance tag or release.

11. Read back the remote PR title after creation. If it is not a Conventional Commit title, fix it immediately.

12. When running in GitHub Actions after creating the LanceDB PR, trigger the Sophon dependency update:

```bash
gh workflow run codex-bump-lancedb-lance.yml \
--repo lancedb/sophon \
-f lance_ref="$LANCE_TAG" \
-f lancedb_ref="$BRANCH_NAME"
gh run list --repo lancedb/sophon --workflow codex-bump-lancedb-lance.yml --limit 1 --json databaseId,url,displayTitle
```

Use the emitted metadata `tag` value as `LANCE_TAG`. Do this only after a new LanceDB PR has been created. If the update was skipped because no update is needed or an open PR already exists, do not trigger Sophon.

## GitHub Actions

When this skill is used from GitHub Actions, `TAG`, `GH_TOKEN`, and `GITHUB_TOKEN` may already be set. Resolve `latest` first when `TAG` is empty. Once an explicit tag or version is known, use:

```bash
python3 ci/update_lance_dependency.py "$TAG" --github-output "$GITHUB_OUTPUT"
```

Then use the emitted `branch_name`, `commit_message`, and `pr_title` values for branch, commit, and PR creation.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.28.0-beta.9"
current_version = "0.30.1-beta.2"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
Expand Down
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Use the git CLI for fetches so global URL rewrites + gh-auth are honored
# (otherwise cargo defaults to SSH-agent auth and fails to fetch the lance
# fork during maturin wheel builds).
[net]
git-fetch-with-cli = true

[profile.release]
lto = "fat"
codegen-units = 1
Expand Down
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,24 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 10
# Only update Cargo.lock, never widen/raise the version requirements in
# Cargo.toml. The goal is keeping the lockfile (and the binaries we ship)
# current on security fixes, not forcing our library's consumers onto
# newer minimum versions.
versioning-strategy: lockfile-only
groups:
rust-minor-patch:
update-types:
- minor
- patch

- package-ecosystem: pip
directory: /python
schedule:
interval: weekly
# Only update uv.lock, never widen version requirements in pyproject.toml.
versioning-strategy: lockfile-only
groups:
python-deps:
patterns:
- "*"
4 changes: 0 additions & 4 deletions .github/workflows/build_windows_wheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,3 @@ runs:
args: ${{ inputs.args }}
docker-options: "-e PIP_EXTRA_INDEX_URL='https://pypi.fury.io/lance-format/ https://pypi.fury.io/lancedb/'"
working-directory: python
- uses: actions/upload-artifact@v4
with:
name: windows-wheels
path: python\target\wheels
12 changes: 9 additions & 3 deletions .github/workflows/codex-fix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
# pnpm 11 (used by the nodejs install step below) requires
# Node >= 22.13; use 24 since 22 hits EOL in October.
node-version: 24

- name: Install Codex CLI
run: npm install -g @openai/codex
Expand Down Expand Up @@ -79,10 +81,14 @@ jobs:
java-version: '11'
cache: maven

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.1
- name: Install Node.js dependencies for TypeScript bindings
run: |
cd nodejs
npm ci
pnpm install --frozen-lockfile

- name: Configure git user
run: |
Expand Down Expand Up @@ -137,7 +143,7 @@ jobs:
- For Rust test failures: Run the specific test with "cargo test -p <crate> <test_name>"
- For Python test failures: Build with "cd python && maturin develop" then run "pytest <specific_test_file>::<test_name>"
- For Java test failures: Run "cd java && mvn test -Dtest=<TestClass>#<testMethod>"
- For TypeScript test failures: Run "cd nodejs && npm run build && npm test -- --testNamePattern='<test_name>'"
- For TypeScript test failures: Run "cd nodejs && pnpm build && pnpm test -- --testNamePattern='<test_name>'"
- Do NOT run the full test suite - only run the tests that were failing

7. If the additional guidelines are provided, follow them as well.
Expand Down
76 changes: 17 additions & 59 deletions .github/workflows/codex-update-lance-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ on:
workflow_call:
inputs:
tag:
description: "Tag name from Lance"
required: true
description: "Tag name from Lance. If omitted, the skill will use the latest Lance release that needs an update."
required: false
default: ""
type: string
workflow_dispatch:
inputs:
tag:
description: "Tag name from Lance"
required: true
description: "Tag name from Lance. Leave empty to use the latest Lance release that needs an update."
required: false
default: ""
type: string

permissions:
Expand All @@ -25,7 +27,7 @@ jobs:
steps:
- name: Show inputs
run: |
echo "tag = ${{ inputs.tag }}"
echo "tag = ${{ inputs.tag || 'latest' }}"

- name: Checkout Repo LanceDB
uses: actions/checkout@v4
Expand Down Expand Up @@ -71,65 +73,21 @@ jobs:
OPENAI_API_KEY: ${{ secrets.CODEX_TOKEN }}
run: |
set -euo pipefail
VERSION="${TAG#refs/tags/}"
VERSION="${VERSION#v}"
BRANCH_NAME="codex/update-lance-${VERSION//[^a-zA-Z0-9]/-}"

# Use "chore" for beta/rc versions, "feat" for stable releases
if [[ "${VERSION}" == *beta* ]] || [[ "${VERSION}" == *rc* ]]; then
COMMIT_TYPE="chore"
else
COMMIT_TYPE="feat"
fi
TARGET_TAG="${TAG:-latest}"

cat <<EOF >/tmp/codex-prompt.txt
You are running inside the lancedb repository on a GitHub Actions runner. Update the Lance dependency to version ${VERSION} and prepare a pull request for maintainers to review.

Follow these steps exactly:
1. Use script "ci/set_lance_version.py" to update Lance Rust dependencies. The script already refreshes Cargo metadata, so allow it to finish even if it takes time.
2. Update the Java lance-core dependency version in "java/pom.xml": change the "<lance-core.version>...</lance-core.version>" property to "${VERSION}".
3. Run "cargo clippy --workspace --tests --all-features -- -D warnings". If diagnostics appear, fix them yourself and rerun clippy until it exits cleanly. Do not skip any warnings.
4. After clippy succeeds, run "cargo fmt --all" to format the workspace.
5. Ensure the repository is clean except for intentional changes. Inspect "git status --short" and "git diff" to confirm the dependency update and any required fixes.
6. Create and switch to a new branch named "${BRANCH_NAME}" (replace any duplicated hyphens if necessary).
7. Stage all relevant files with "git add -A". Commit using the message "${COMMIT_TYPE}: update lance dependency to v${VERSION}".
8. Push the branch to origin. If the remote branch already exists, delete it first with "gh api -X DELETE repos/lancedb/lancedb/git/refs/heads/${BRANCH_NAME}" then push with "git push origin ${BRANCH_NAME}". Do NOT use "git push --force" or "git push -f".
9. env "GH_TOKEN" is available, use "gh" tools for github related operations like creating pull request.
10. Create a pull request targeting "main" with title "${COMMIT_TYPE}: update lance dependency to v${VERSION}". First, write the PR body to /tmp/pr-body.md using a heredoc (cat <<'EOF' > /tmp/pr-body.md). The body should summarize the dependency bump, clippy/fmt verification, and link the triggering tag (${TAG}). Then run "gh pr create --body-file /tmp/pr-body.md".
11. After creating the PR, display the PR URL, "git status --short", and a concise summary of the commands run and their results.
You are running inside the lancedb repository on a GitHub Actions runner.

Use \$lancedb-update-lance-dependency with target "${TARGET_TAG}".

Constraints:
- Use bash commands; avoid modifying GitHub workflow files other than through the scripted task above.
- Do not merge the PR.
- If any command fails, diagnose and fix the issue instead of aborting.
- Use env "GH_TOKEN" for GitHub operations.
- Do not merge the pull request.
- Do not force-push.
- Do not create a duplicate pull request if an open PR already exists for the target Lance version.
- If any command fails, diagnose and fix the root cause instead of aborting.
- After creating the PR, display the PR URL, "git status --short", and a concise summary of the commands run and their results.
EOF

printenv OPENAI_API_KEY | codex login --with-api-key
codex --config shell_environment_policy.ignore_default_excludes=true exec --dangerously-bypass-approvals-and-sandbox "$(cat /tmp/codex-prompt.txt)"

- name: Trigger sophon dependency update
env:
TAG: ${{ inputs.tag }}
GH_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
set -euo pipefail
VERSION="${TAG#refs/tags/}"
VERSION="${VERSION#v}"
LANCEDB_BRANCH="codex/update-lance-${VERSION//[^a-zA-Z0-9]/-}"

echo "Triggering sophon workflow with:"
echo " lance_ref: ${TAG#refs/tags/}"
echo " lancedb_ref: ${LANCEDB_BRANCH}"

gh workflow run codex-bump-lancedb-lance.yml \
--repo lancedb/sophon \
-f lance_ref="${TAG#refs/tags/}" \
-f lancedb_ref="${LANCEDB_BRANCH}"

- name: Show latest sophon workflow run
env:
GH_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
set -euo pipefail
echo "Latest sophon workflow run:"
gh run list --repo lancedb/sophon --workflow codex-bump-lancedb-lance.yml --limit 1 --json databaseId,url,displayTitle
5 changes: 3 additions & 2 deletions .github/workflows/java-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
server-username: SONATYPE_USER
server-password: SONATYPE_TOKEN
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Set git config
run: |
git config --global user.email "dev+gha@lancedb.com"
Expand All @@ -58,10 +58,11 @@ jobs:
echo "use-agent" >> ~/.gnupg/gpg.conf
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
export GPG_TTY=$(tty)
./mvnw --batch-mode -DskipTests -DpushChanges=false -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy -pl lancedb-core -am -P deploy-to-ossrh
./mvnw --batch-mode -DskipTests -DpushChanges=false deploy -pl lancedb-core -am -P deploy-to-ossrh
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

report-failure:
name: Report Workflow Failure
Expand Down
62 changes: 0 additions & 62 deletions .github/workflows/lance-release-timer.yml

This file was deleted.

Loading
Loading