Repository navigation
fix(deps): update bundled SQLite for RUSTSEC-2026-0459 - #408
Merged
Merged
Conversation
Resolve RUSTSEC-2026-0459 with rusqlite 0.41.1 and libsqlite3-sys 0.39.1. Pin SQLx to the official upstream commit that accepts the patched SQLite line, preserve native storage features, and refresh all five affected lockfiles. Adapt SQLx query-safety APIs with static statements, bound fixture data, and integer-only PRAGMA builders. Constraint: Keep rusqlite and SQLx on one patched sqlite3 library Confidence: high Scope-risk: moderate
kaito-harry
previously approved these changes
Nov 9, 2026
kaito-harry
left a comment
Contributor
There was a problem hiding this comment.
No blocking issues were found in the completed single-session review.
Shared validation: passed. Rust formatting and compilation passed.
rusqlite 0.41 changed Statement::column_names() from &[&str] to impl Iterator<Item = &str>, so the follow-up .into_iter() is a useless conversion and fails CI (-D warnings). Verified locally: cargo clippy -p actrium-sync-server --lib --locked -- -D warnings cargo test -p actrium-sync-server --lib --locked
Contributor
Author
|
Pushed a clippy fix commit + an empty retrigger commit, but GitHub still reports head = 4a22305 while the fork branch is at 2ab742e8. Trying to refresh. |
Contributor
Author
|
@kaito-harry 之前的 approve 被新 commit dismiss 了,麻烦重新 approve 一下 🙏 新 commit 说明:
|
kaito-harry
approved these changes
Nov 9, 2026
kaito-harry
left a comment
Contributor
There was a problem hiding this comment.
No blocking issues were found in the completed single-session review.
Shared validation: passed. Rust formatting and compilation passed.
9 tasks
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependency Audit is blocked by RUSTSEC-2026-0459 in bundled SQLite. The workspace and four downstream lockfiles now resolve one
libsqlite3-sys 0.39.1, bundling SQLite 3.54.1.Changes
10462fa4414c6c7f1ed1d39bb31678e3b726878c(SQLx #4502). The published release excludes the patched SQLite version; replace this pin once a release includes the fix.Related CI blockers: #404, #406.
Validation
cargo audit --json: 0 vulnerabilities under the existing repository policy; four existing warnings remain and the audit exceptions are unchanged.cargo fmt,cargo fmt --all --check, language policy, andgit diff --check: passed.cargo clippy --fix --lib --bins --all-targets --allow-dirty --lockedfor loran-signer, loran-platform, loran-issuer, loran-publisher-registry, and loran-server: passed.--all-features: passed, including PostgreSQL backend compilation.One existing admin library test remains ignored.