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

stacklok / toolhive / 28621810771
68%

Build:
DEFAULT BRANCH: main
Ran 02 Jul 2026 09:16PM UTC
Jobs 1
Files 779
Run time 2min
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

02 Jul 2026 09:10PM UTC coverage: 67.569% (-0.001%) from 67.57%
28621810771

push

github

web-flow
Allow custom HTTP headers on the OpenAI embedding client (#5704)

Add custom HTTP headers to OpenAI embedding client

Gateways in front of OpenAI-compatible embedding services often key
behavior (routing, response-cache scoping) off a request header, but
the optimizer's OpenAI client only sent Content-Type and Authorization.

Add an optional spec.config.optimizer.embeddingHeaders map applied to
every embedding request. Admission rejects non-openai providers,
reserved names (Authorization, Content-Type), and invalid RFC 7230
header names via CEL, and bounds values through OpenAPI schema
constraints; config load mirrors the checks for non-Kubernetes config
sources. The client sets its protocol headers last so custom headers
can never override them.

Closes #5700

43 of 48 new or added lines in 4 files covered. (89.58%)

29 existing lines in 8 files now uncovered.

71226 of 105412 relevant lines covered (67.57%)

63.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
38.12
0.21% pkg/vmcp/config/zz_generated.deepcopy.go

Coverage Regressions

Lines Coverage ∆ File
7
61.52
-0.6% pkg/workloads/manager.go
6
20.11
-3.45% pkg/client/manager.go
4
92.77
0.46% pkg/oauthproto/jwtbearer/grant.go
3
73.79
-2.91% pkg/state/local.go
3
64.29
-4.29% pkg/state/runconfig.go
2
96.03
0.0% pkg/authserver/storage/memory.go
2
93.94
-6.06% pkg/foreach/foreach.go
2
98.22
1.44% pkg/vmcp/auth/strategies/xaa.go
Jobs
ID Job ID Ran Files Coverage
1 28621810771.1 02 Jul 2026 09:16PM UTC 779
67.57
GitHub Action Run
Source Files on build 28621810771
  • Tree
  • List 779
  • Changed 16
  • Source Changed 7
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28621810771
  • 71ed00c8 on github
  • Prev Build on main (#28523835383)
  • Next Build on main (#28622575041)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc