Skip to content

deps: bump object to 0.40 - #3017

Merged
sylvestre merged 1 commit into
mozilla:mainfrom
loganrosen:loganrosen-bump-object-0-40
Nov 10, 2026
Merged

sylvestre merged 1 commit into
mozilla:mainfrom
loganrosen:loganrosen-bump-object-0-40

Conversation

@loganrosen

Copy link
Copy Markdown
Contributor

cargo audit flags ruzstd 0.8.3 (RUSTSEC-2026-0344, decompression bomb), which only comes in through object 0.37. Bumping object to 0.40 (in both dependencies and dev-dependencies) moves the lockfile to ruzstd 0.9.1, which has the fix. No new dependencies; the lockfile also drops the duplicate hashbrown 0.15.

No code changes were needed, but there is one behavior change: object 0.40 fixed parsing of ARM64EC COFF archives that have a /<ECSYMBOLS>/ symbol table and no // names table. Before, that symbol table came back as a regular member and went into the staticlib hash; now it's skipped, like the other symbol tables. That can mean a one-time cache miss for such archives, never a false hit. I added a test in util.rs for it; it fails on object 0.37.

Tested on macOS with Rust 1.91.0: fmt, clippy with the CI flags, cargo test --locked --lib --bins --tests, and cargo check --no-default-features --features <f> for each storage backend and dist-client. I didn't build dist-server (it doesn't build on macOS on main) or test on Linux/Windows.

object 0.37 pulls in ruzstd 0.8.3, which is affected by RUSTSEC-2026-0344.
Updating object to 0.40 moves the lockfile to ruzstd 0.9.1, which has the fix.

object 0.40 also stops returning the /<ECSYMBOLS>/ symbol table of ARM64EC
COFF archives as a regular member when there is no // names table, so it no
longer feeds into the archive hash. Add a test for that.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@codecov-commenter

codecov-commenter commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.82%. Comparing base (33d12fb) to head (da61328).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3017   +/-   ##
=======================================
  Coverage   78.81%   78.82%           
=======================================
  Files          75       75           
  Lines       45354    45394   +40     
=======================================
+ Hits        35745    35781   +36     
- Misses       9609     9613    +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre
sylvestre merged commit edeffeb into mozilla:main Nov 10, 2026
51 checks passed
@sylvestre

Copy link
Copy Markdown
Collaborator

Thanks for your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants