You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch trace compression from gzip to Zstandard (.zst)
Replace gzip with Zstandard for all trace output:
- compress_log now writes .zst via a shared compress_file_zstd helper
(stream compression); per-stream logs upload as .csv.zst.
- compress_dir writes the final session archive as .tar.zst (tar streamed
through a zstd stream_writer).
- Multi-part filesystem snapshots compress to .csv.zst.
- utils gains compress_file_zstd / create_tar_zst and a ZSTD_LEVEL constant;
zstandard is imported lazily so importing the modules never requires the
dependency (matches the requests pattern). Drop the now-unused gzip imports.
- Add requirements.txt (requests, zstandard) and install zstandard in the
unit-tests workflow so the compression round-trip is actually exercised.
- Tests assert .zst output and round-trip via zstandard, skipped when the
optional dependency is absent.
0 commit comments