Skip to content

chore(deps): bump lancedb 0.37.1 -> 0.41.0 - #2298

Merged
karajanchang merged 1 commit into
mainfrom
chore/lancedb-0.41
Nov 6, 2026
Merged

karajanchang merged 1 commit into
mainfrom
chore/lancedb-0.41

Conversation

@karajanchang

Copy link
Copy Markdown
Contributor

Stacked on #2297. Merge that first, then retarget this PR to main.

Why

lancedb has been pinned at =0.37.1 because 0.38–0.40 failed to compile without the remote feature (lancedb/lancedb#4142). 0.41.0 fixes that (lancedb/lancedb#4233).

What changes

  • mur-core/Cargo.toml: the exact pin moves to =0.41.0. The tantivy comment is updated too: lance no longer depends on tantivy transitively (lance-tokenizer uses jieba/lindera/icu), so our direct tantivy = "0.24" can now change version on its own.
  • mur-common/src/a2a.rs: TaskError.details is now Option<Box<serde_json::Value>>.

The preserve_order side effect

lancedb 0.41 turns on serde_json's preserve_order feature, and Cargo enables it for the whole workspace. That changes two things:

  1. Object key order follows insertion order instead of sorted order. Signing and hashing code that relied on the old sorted order was moved to canonical_json in fix(signing): canonicalize signed/hashed JSON explicitly, not via serde_json map order #2297, so signed bytes stay identical. fix(signing): canonicalize signed/hashed JSON explicitly, not via serde_json map order #2297 also tests this with --features serde_json/preserve_order.
  2. serde_json::Value gets bigger. That pushes TaskError over clippy's result_large_err limit at 7 call sites in mur-agent-runtime. Boxing details fixes it. serde treats Box transparently, so the A2A wire format does not change. The new test task_error_details_wire_format_unchanged round-trips both a payload with details and one without it, using exact strings. Nothing in the workspace reads details; both writers set it to None.

Verification

Check Result
cargo clippy --all --all-targets --no-deps --locked -- -D warnings ✅
cargo fmt --all -- --check ✅
nextest for mur-common, mur-channel, mur-core, mur-agent-runtime 14612 / 14617 passed

The 5 failures don't come from this change. They fail because macOS sandbox_init returns Operation not permitted inside the sandboxed environment these tests ran in, which can't nest sandboxes:

  • supervisor_startup::runtime_starts_and_responds_to_agent_card_over_stdio
  • ssh_proxy_openssh::real_openssh_login_is_signed_only_when_approved (sshd's own ssh_sandbox_child)
  • 3 × skill_install_agent_wire::wire_install_*

Each one spawns a process that calls sandbox_init. CI runs them outside a sandbox.

Generated with MUR

@karajanchang
karajanchang changed the base branch from fix/canonical-json-signing to main November 6, 2026 00:53
0.38-0.40 failed to compile without the `remote` feature
(lancedb/lancedb#4142); 0.41.0 fixes it (#4233), so move the exact pin.

lancedb 0.41 enables serde_json's `preserve_order`, which has two effects:

- Object key order now follows insertion order. Signing/hashing paths
  that relied on BTreeMap ordering were moved to canonical_json in the
  parent PR (#2297), so signed bytes are unchanged.
- `serde_json::Value` grows, pushing `TaskError` past clippy's
  `result_large_err` limit. Box `TaskError.details`; Box is transparent
  to serde, so the A2A wire format is unchanged (pinned by a new test).

lance no longer pulls tantivy transitively, so the tantivy pin comment
is updated: our direct use is now free to move independently.
@karajanchang
karajanchang merged commit b2e10eb into main Nov 6, 2026
15 checks passed
@karajanchang
karajanchang deleted the chore/lancedb-0.41 branch November 6, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant