Skip to content

chore(deps): bump actix-http to 3.22.0 and get the audit job green - #279

Merged
SteveGilvarry merged 1 commit into
masterfrom
chore/bump-actix-http
Nov 18, 2026
Merged

SteveGilvarry merged 1 commit into
masterfrom
chore/bump-actix-http

Conversation

@SteveGilvarry

Copy link
Copy Markdown
Member

Why

"Security audit" fails on master and on every open PR. RustSec published three advisories against actix-http 3.21.0 after #273 merged, and Cargo.lock pins that version.

What changes

  • actix-http 3.21.0 to 3.22.0 in Cargo.lock. This clears RUSTSEC-2026-0552, 0553 and 0554. No zm-api target builds actix-http (cargo tree -i actix-http prints nothing). It sits in the lockfile as an optional dependency of another crate, so no compiled code changes.
  • deny.toml ignores RUSTSEC-2026-0543, "chrono is unmaintained". cargo deny runs after cargo audit in the same job, so the audit failure was hiding this one. The notice is informational, no version fixes it, and sea-orm and sqlx both require chrono. The reason is written beside the ignore.

The windows-sys lines in the lockfile diff are cargo re-resolving Windows-only entries during the update.

Checked locally

  • cargo check --locked --all-features --all-targets builds
  • cargo audit --ignore RUSTSEC-2026-0459 reports no vulnerabilities
  • cargo deny check reports advisories, bans, licenses and sources ok

I did not run the test suite locally, since nothing that compiles changed. CI runs it here.

🤖 Generated with Claude Code

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>
@SteveGilvarry
SteveGilvarry merged commit 1fff360 into master Nov 18, 2026
21 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant