• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / inference-perf / 40365777086
87%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 05:18PM UTC
Jobs 1
Files 136
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 05:08PM UTC coverage: 84.363% (+0.08%) from 84.288%
40365777086

push

github

web-flow
feat(trace-replay): read zstd-compressed trace files (.json.zst, .jsonl.zst) (#915)

#### What type of PR is this?

/kind feature

#### What this PR does / why we need it:

Agent traces repeat the whole conversation in every call, so they
compress extremely well with zstd, and runs recorded by
[edge](https://github.com/Exgentic/eval-containers/tree/main/containers/core/edge)
are stored as `calls.jsonl.zst`. This lets `otel_trace_replay` read
zstd-compressed `.json` OTel documents and agent wire captures
(`calls.jsonl.zst`) directly, through the standard-library zstd API (PEP
784; `backports.zstd` before Python 3.14).

#### Why zstd

Two full edge-recorded runs (pi on DeepSWE, claude-code on
Terminal-Bench), default levels (zstd `--long`), one core:

| codec | DeepSWE (3.4 GB) | Terminal-Bench (1.6 GB) | compress speed |
decompress speed |
|---|---|---|---|---|
| gzip | 578 MB (6x smaller) | 393 MB (4x smaller) | 58 MB/s | 1.3 GB/s
|
| bzip2 | 341 MB (10x smaller) | 214 MB (8x smaller) | 13 MB/s | 66 MB/s
|
| zstd | 37 MB (93x smaller) | 52 MB (31x smaller) | 654 MB/s | 4.1 GB/s
|

#### Special notes for your reviewer:

The `pdm.lock` diff is just the new `backports.zstd` entry.

#### Does this PR introduce a user-facing change?

```release-note
`otel_trace_replay` reads zstd-compressed `.json` OTel documents and agent wire captures (`calls.jsonl.zst`) directly.
```

---------

Signed-off-by: Elron Bandel <elron.bandel@ibm.com>

34 of 38 new or added lines in 3 files covered. (89.47%)

1 existing line in 1 file now uncovered.

12490 of 14805 relevant lines covered (84.36%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.55
0.34% inference_perf/datagen/replay/trace_source.py
1
84.76
0.12% inference_perf/datagen/replay/wire_trace_converter.py

Coverage Regressions

Lines Coverage ∆ File
1
90.55
0.34% inference_perf/datagen/replay/trace_source.py
Jobs
ID Job ID Ran Files Coverage
1 40365777086.1 26 Oct 2026 05:18PM UTC 136
84.36
GitHub Action Run
Source Files on build 40365777086
  • Tree
  • List 136
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40365777086
  • 10a29e2e on github
  • Prev Build on main (#39822622994)
  • Next Build on main (#40405571998)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc