Files
lancedb/.github
Will JonesandClaude Opus 5.5 7d33f7ba94 ci: prioritize Rust security updates in dependabot config (#5100)
## Summary

Dependabot wasn't getting security fixes in, and its Rust PRs were
failing CI:

- Security updates were disabled for the repo, so ~170 open alerts never
got a PR. (Now enabled in repo settings; not part of this diff.)
- The `pip` entry for `/python` never touched `uv.lock`, so Python had
no Dependabot PRs at all.
- With `versioning-strategy: lockfile-only`, breaking bumps such as
reqwest 0.12 → 0.13 (#4781), tokenizers 0.19 → 0.23 (#4905), sha2
(#4230) and base64 (#4229) write a `Cargo.lock` that the `Cargo.toml`
requirements don't allow. Every `--locked` build then fails before
compiling.

The priority is Rust, which is statically linked into the shipped
binaries. Python and npm deps are resolved in users' environments, so
those are best effort.

| Entry | Version updates | Security updates |
|---|---|---|
| cargo `/` | weekly, minor/patch, one group | grouped |
| uv `/python` (was `pip`) | monthly, minor/patch, one group | grouped |
| npm `/nodejs`, `/nodejs/examples` | monthly, minor/patch, one group |
grouped |
| docs, docs tests, `/java` | off | grouped |

Breaking bumps are excluded with `allow.update-types`, which the docs
say applies only to version updates. An `ignore` rule would also
suppress security updates. `dependency-type: all` keeps transitive
dependencies in scope for security fixes, which also means the weekly
cargo PR now bumps transitive crates within their allowed ranges.

A security fix that's only available as a breaking bump will still
produce a failing PR and need a manual `Cargo.toml` change.

## Merge Risk

**Door:** two-way; config only.
**Blast Radius:** Dependabot PRs. Config errors only surface after
merge, on Dependabot's next run.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:25:27 -08:00
..