Skip to content

Commit 9580a6b

Browse files
docs(debug-files): Add symbolic compression notes
Co-authored-by: daniel.szoke <daniel.szoke@sentry.io>
1 parent 44247ad commit 9580a6b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

docs/snapshots/2026-01-29-debug-files-upload-compression.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,22 @@ Does `debug-files upload` ever compress the entire debug file before uploading
2727
via `SourceBundleWriter` and uploads those bundles as separate DIFs. This is
2828
creation of a new archive artifact, not compression of the original DIF
2929
itself. (See `src/utils/dif_upload/mod.rs:L1052-L1098`.)
30+
31+
## Symbolic crate findings (v12.16.3)
32+
- The symbolic crate documentation focuses on symbolication and debug info
33+
parsing (object formats, symcache, minidump, etc.) and does not describe an
34+
API for compressing entire debug files. (See
35+
`/workspace/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/symbolic-12.16.3/README.md`
36+
and `src/lib.rs`.)
37+
- `symbolic-debuginfo` includes **decompression** support for compressed data
38+
inside debug files (e.g., compressed DWARF sections and embedded portable PDB
39+
payloads), but this is for reading/expanding data on access, not for creating
40+
compressed DIFs. (See
41+
`symbolic-debuginfo-12.16.3/src/dwarf.rs:L182-L205`,
42+
`symbolic-debuginfo-12.16.3/src/elf.rs:L577-L626`,
43+
`symbolic-debuginfo-12.16.3/src/pe.rs:L502-L523`.)
44+
- The only write-side “compression” in symbolic is for **source bundles**: the
45+
`SourceBundleWriter` builds a ZIP archive using `ZipWriter`, which is a
46+
separate artifact type and not a general-purpose DIF compressor. (See
47+
`symbolic-debuginfo-12.16.3/src/sourcebundle/mod.rs:L1076-L1139` and
48+
`L1114-L1121`.)

0 commit comments

Comments
 (0)