sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

Parallelize Bundle Building

Open chargome opened this issue 2 months ago • 2 comments

Bundle building currently processes files sequentially when adding to SourceBundleWriter. The bottleneck is CPU-intensive operations like file type detection, debug ID extraction, and content parsing. Parallelize the preparation work while keeping the actual bundle writing sequential.

chargome avatar Oct 28 '25 17:10 chargome

CLI-206

linear[bot] avatar Oct 28 '25 17:10 linear[bot]

We need to ensure a deterministic order in the ZIP file. But, we can still do this with parallelism by compressing the files first, then inserting the precompressed files into the ZIP (the zip crate should support this use case)

szokeasaurusrex avatar Nov 06 '25 10:11 szokeasaurusrex