Repository navigation
chore(deps): bump actix-http to 3.22.0 and get the audit job green - #279
Merged
Merged
Conversation
RustSec published three advisories against actix-http 3.21.0 (RUSTSEC-2026-0552, 0553, 0554). The lockfile pinned that version, so "Security audit" failed on master and on every open PR. No zm-api target builds actix-http. It is in Cargo.lock only as an optional dependency of another crate, so this changes no compiled code. cargo deny runs after cargo audit in the same job, so the audit failure hid a second one: deny rejects chrono as unmaintained (RUSTSEC-2026-0543). That notice has no fixed version and sea-orm and sqlx require chrono, so deny.toml now ignores it with the reason written beside it. The windows-sys lines in Cargo.lock are cargo re-resolving Windows-only entries during the update. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Why
"Security audit" fails on master and on every open PR. RustSec published three advisories against
actix-http3.21.0 after #273 merged, andCargo.lockpins that version.What changes
actix-http3.21.0 to 3.22.0 inCargo.lock. This clears RUSTSEC-2026-0552, 0553 and 0554. No zm-api target buildsactix-http(cargo tree -i actix-httpprints nothing). It sits in the lockfile as an optional dependency of another crate, so no compiled code changes.deny.tomlignores RUSTSEC-2026-0543, "chrono is unmaintained".cargo denyruns aftercargo auditin the same job, so the audit failure was hiding this one. The notice is informational, no version fixes it, andsea-ormandsqlxboth requirechrono. The reason is written beside the ignore.The
windows-syslines in the lockfile diff are cargo re-resolving Windows-only entries during the update.Checked locally
cargo check --locked --all-features --all-targetsbuildscargo audit --ignore RUSTSEC-2026-0459reports no vulnerabilitiescargo deny checkreports advisories, bans, licenses and sources okI did not run the test suite locally, since nothing that compiles changed. CI runs it here.
🤖 Generated with Claude Code