Skip to content

Commit

Permalink
Downgrade and pin zip to fix SourceBundles with >64k files
Browse files Browse the repository at this point in the history
The recent symbolicator update started emitting errors related to this.
After a short debugging sessions, I pinned down the problem to a regression in `zip` which broke archives with >64k files.
  • Loading branch information
Swatinem committed Jun 7, 2024
1 parent 9806d26 commit 4ac7d7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ uuid = "1.3.0"
walkdir = "2.3.1"
wasmparser = "0.209.1"
watto = { version = "0.1.0", features = ["writer", "strings"] }
zip = { version = "2.1.2", default-features = false, features = ["deflate"] }
# We are currently pinning a known good version prior to https://github.com/zip-rs/zip2/issues/189
zip = { version = "=2.1.1", default-features = false, features = ["deflate"] }
zstd = { version = "0.13.1" }


Expand Down
1 change: 1 addition & 0 deletions symbolic-debuginfo/src/sourcebundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,7 @@ mod tests {
use std::io::Cursor;

use similar_asserts::assert_eq;
use symbolic_common::ByteView;
use tempfile::NamedTempFile;

#[test]
Expand Down

0 comments on commit 4ac7d7b

Please sign in to comment.