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

kubernetes-sigs / inference-perf / 36556385492
81%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 10:41AM UTC
Jobs 1
Files 128
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

29 Sep 2026 10:34AM UTC coverage: 81.279% (+0.2%) from 81.064%
36556385492

push

github

web-flow
feat(datagen): support wire-captured traces and lazy local trace loading (#820)

## Summary

  This PR extends OTel trace replay with:

  - Support for captured API wire traces:
      - OpenAI Chat Completions
      - OpenAI Responses API
      - Anthropic Messages API

  - Support for line-delimited OTel .jsonl files.
- Lazy loading of local traces to avoid constructing one large in-memory
Arrow dataset.
- Preservation of existing local OTel .json behavior, including session
identity.
- Correct expansion of parallel tool results into individual role: tool
messages.

• ## Motivation

  This PR has two goals:

  1. **Replay wire-capture traces**

Support replaying captured API requests and responses directly, without
requiring a separate conversion step. One source of these traces is
llm-d live benchmarking with Exgentic, which produces wire captures that
can then be reused as replay workloads.

  2. **Improve local-trace loading at scale**

Local traces were previously combined into a single Hugging Face
`Dataset`. For large corpora, this increased startup memory usage and
could exceed Arrow’s 32-bit offset limits.

Local traces are now indexed using lightweight record locators and
loaded individually when their sessions are built. This avoids
materializing the complete local corpus in memory while preserving
existing OTel JSON replay behavior.

---------

Co-authored-by: Alon Halfon <alonhal@il.ibm.com>

672 of 829 new or added lines in 4 files covered. (81.06%)

3 existing lines in 1 file now uncovered.

11375 of 13995 relevant lines covered (81.28%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
101
80.61
inference_perf/datagen/replay/wire_trace_converter.py
36
61.57
-4.24% inference_perf/datagen/replay/otel_trace_replay_datagen.py
19
90.21
inference_perf/datagen/replay/trace_source.py
1
80.41
3.02% inference_perf/datagen/replay/otel_trace_to_replay_graph.py

Coverage Regressions

Lines Coverage ∆ File
3
61.57
-4.24% inference_perf/datagen/replay/otel_trace_replay_datagen.py
Jobs
ID Job ID Ran Files Coverage
1 36556385492.1 29 Sep 2026 10:41AM UTC 128
81.28
GitHub Action Run
Source Files on build 36556385492
  • Tree
  • List 128
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36556385492
  • 1acdc369 on github
  • Prev Build on main (#36467322280)
  • Next Build on main (#36779672373)
  • 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