Update tokio to 1.54.1 for RUSTSEC-2026-0386 #55

Merged
amiryahaya merged 1 commit from fix/tokio-rustsec-2026-0386 into main 2026-10-25 13:02:09 +01:00
Owner

The Security workflow failed on main after #54 merged. cargo audit --deny warnings flagged tokio 1.53.1 for RUSTSEC-2026-0386 (AsyncFd::new and related constructors violate I/O safety; a new advisory issued 2026-10-23, not caused by #54).

Change

Cargo.lock only: tokio 1.53.1 -> 1.54.1 (patched in >=1.53.3), within the existing tokio = "1" requirement. The resolver also moved errno's Windows-only windows-sys from 0.61.2 to 0.52.0, an entry already in the lock; it does not affect Linux or macOS builds. Nothing in crates/*/src calls AsyncFd.

Verification

  • cargo test --workspace --locked: 191 passed
  • bash scripts/test-postgres.sh --local: 234 passed
  • Coverage (bash scripts/coverage.sh rust): 93.61% line coverage (minimum 80%), unchanged
  • Reviews: ponytail pass and correctness pass both clean, no findings to fix
  • Not run locally: cargo audit. The local cargo-audit cannot parse CVSS 4.0. The Security workflow (cargo-audit 0.22.2) runs on merge and is the real check.

🤖 Generated with Claude Code

The Security workflow failed on `main` after #54 merged. `cargo audit --deny warnings` flagged tokio 1.53.1 for RUSTSEC-2026-0386 (`AsyncFd::new` and related constructors violate I/O safety; a new advisory issued 2026-10-23, not caused by #54). ## Change `Cargo.lock` only: tokio 1.53.1 -> 1.54.1 (patched in >=1.53.3), within the existing `tokio = "1"` requirement. The resolver also moved errno's Windows-only `windows-sys` from 0.61.2 to 0.52.0, an entry already in the lock; it does not affect Linux or macOS builds. Nothing in `crates/*/src` calls `AsyncFd`. ## Verification - `cargo test --workspace --locked`: 191 passed - `bash scripts/test-postgres.sh --local`: 234 passed - Coverage (`bash scripts/coverage.sh rust`): **93.61%** line coverage (minimum 80%), unchanged - Reviews: ponytail pass and correctness pass both clean, no findings to fix - Not run locally: `cargo audit`. The local cargo-audit cannot parse CVSS 4.0. The Security workflow (cargo-audit 0.22.2) runs on merge and is the real check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(deps): update tokio to 1.54.1 for RUSTSEC-2026-0386
All checks were successful
CI / Web checks (push) Successful in 2m3s
CI / Web checks (pull_request) Successful in 1m58s
CI / Rust checks (push) Successful in 16m34s
CI / Rust checks (pull_request) Successful in 16m36s
f46cabffb6
The security workflow's cargo audit --deny warnings failed on main after
an unsoundness advisory for tokio::io::unix::AsyncFd (patched in >=1.53.3).
Lockfile-only update within the existing "1" requirement.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.