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

kubernetes-sigs / inference-perf / 36902545652
81%

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2026 05:58PM UTC
Jobs 1
Files 129
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

01 Oct 2026 05:51PM UTC coverage: 81.398% (-0.008%) from 81.406%
36902545652

push

github

web-flow
fix(client): drop embedding vectors from stored response bodies (#851)

Fixes #848

Every request's `RequestLifecycleMetric` keeps the full response body in
`response_data`. For embeddings, that body is mostly the vectors, which
nothing reads, so memory grows with every request.

This keeps only `model` and `usage` from a successful embeddings
response (`error is None`). A failed request's body is stored whole,
since it carries the server's error message. That includes a 200
recorded as a failure, such as an in-band error payload once #744 lands.
Other API types are unchanged.

**User-facing change:** in the per-request report, the `response` field
for a successful embeddings request now shows only `model` and `usage`.

Testing:
- The embeddings round-trip test checks that the stored body has only
`model` and `usage`.
- New test: an embeddings error response (400) is stored unchanged.
- New test: a 200 that `process_response` rejects is recorded as a
failure and its body is stored unchanged. It fails with the previous
`status == 200` gate (the body comes back as `{}`).
- `pytest tests/required`, `ruff check`, `ruff format --check` and `mypy
--strict ./inference_perf ./tests` pass.

7 of 10 new or added lines in 1 file covered. (70.0%)

11434 of 14047 relevant lines covered (81.4%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
82.21
-0.3% inference_perf/client/modelserver/openai_client.py
Jobs
ID Job ID Ran Files Coverage
1 36902545652.1 01 Oct 2026 05:58PM UTC 129
81.4
GitHub Action Run
Source Files on build 36902545652
  • Tree
  • List 129
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36902545652
  • 3f0e7568 on github
  • Prev Build on main (#36818321465)
  • 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