deps: Rust 0.x majors in one port (sqlx 0.9, argon2 0.6, rand 0.10, RustCrypto, reqwest 0.13, ureq 3, …) #361
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "deps/rust-majors-2026-11-09"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Requested by Kees
The Rust 0.x major updates in one port (they break the build one by one, so they land together).
format!-built queries throughsqlx::AssertSqlSafe(each checked: column lists, fixed table/column names, joinedi64ids,?-placeholder filters, test fixtures; no user text in the SQL),QueryAs/SqliteArgumentslifetime>=0.30.1, <0.38; held there inrenovate.jsonhash_passwordmakes its own random salt (no moreSaltString)Rngis the oldRngCoreKeyInitfornew_from_slice,ToSec1Pointrustls-no-provider(ring stays through lettre, so the Alpine build needs nothing new) +queryagent()helper; pairing andkompanion-runner askstill show Kompanion's error text (non-2xx answers are read, not turned into errors); the stats loop still exits on 401Checked on soucouyant in a throwaway
rust:1container:cargo clippy --all-targetsfor server, runner and machine-stats;cargo check --target x86_64-pc-windows-gnufor runner and machine-stats;cargo checkfor the desktop (Tauri) app. CI runs the tests.Once this merges, Renovate closes the PRs above.
🤖 Generated with Claude Code
Title
deps: Rust 0.x majors in one port (sqlx 0.9, argon2 0.6, rand 0.10, RustCrypto, reqwest 0.13, ureq 3, …)
PR Type
Bug fix, Enhancement, Documentation
Description
Port Rust crates to 0.x majors across server and runner.
Harden SQL queries with
sqlx::AssertSqlSafefor safety.Refactor HTTP agents in runner for global timeouts.
Diagram Walkthrough
File Walkthrough
4 files
Upgrade ureq from version 2 to version 3Update windows-sys to version 0.61Upgrade sha2, toml, and ureq to new versionsMajor version upgrades for multiple server crates1 files
Add rule to constrain libsqlite3-sys version18 files
Refactor error handling using new ureq response APIUpdate body access methods for ureq v3 compatibilityRefactor pairing logic to handle non-2xx responsesWrap SQL queries with AssertSqlSafe for safetyApply AssertSqlSafe to game-related SQL queriesUpdate SqliteArguments lifetime and add AssertSqlSafeAdd AssertSqlSafe to preview batch queriesWrap search rebuild SQL with AssertSqlSafeAdd AssertSqlSafe to scene cleanup queriesSimplify password hashing by removing manual saltApply AssertSqlSafe to facts retrieval queriesWrap vector table creation with AssertSqlSafeApply AssertSqlSafe to project update queriesAdd AssertSqlSafe to run and call filter queriesWrap search query with AssertSqlSafeApply AssertSqlSafe to task list and fetch queriesUpdate rand import to use Rng instead of RngCoreUpdate elliptic curve point conversion method2 files
Use shared agent helper for GPU app checksIntroduce global timeout agent helper function3 files
Update tests to use new agent helper functionUpdate test setup to use AssertSqlSafeUpdate test assertion for new point conversion1 files
Import KeyInit trait for HMAC signature handling2 files
PR Reviewer Guide 🔍
(Review updated until commit
8633c28be8)Here are some key observations to aid the review process:
ℹ️ Chunked review: the diff exceeded the model token budget, so it was reviewed in 6 chunks and the per-chunk results were merged.
📝 Summary: No code review findings were reported across the six parts of this pull request. Consequently, there are no defects to consolidate or risks to summarize based on the provided input.
✂️ Consider splitting this PR: it needed 6 review chunks. Suggested split points (one PR per module):
server/src/: 30 file(s), 230 changed line(s)runner/src/: 6 file(s), 110 changed line(s)server/: 1 file(s), 27 changed line(s)(repository root)/: 1 file(s), 11 changed line(s)desktop/src-tauri/: 2 file(s), 6 changed line(s)runner/: 1 file(s), 6 changed line(s)🧹 Lint report · ✅ all 25 checks clean
Errors below fail this check.
✅ Clean: black, checkstyle, djlint, editorconfig-checker, git_diff, gitleaks, grype, hadolint, htmlhint, isort, jsonlint, markdownlint, npm-groovy-lint, pmd, prettier, prettier, ruff, secretlint, shellcheck, shfmt, stylelint, trivy, trufflehog, xmllint, yamllint
MegaLinter on soucouyant · full logs in the Actions run · comment
/improvefor AI fix suggestions