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

stacklok / toolhive / 29279422953
68%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2026 07:46PM UTC
Jobs 1
Files 797
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

13 Jul 2026 07:41PM UTC coverage: 67.908% (-0.08%) from 67.987%
29279422953

push

github

web-flow
Allow HTTP upstream OIDC issuers for in-cluster dev environments (#5787)

* Allow HTTP upstream OIDC issuers for in-cluster dev environments

Adds per-upstream insecure_allow_http to OIDCUpstreamRunConfig and
threads it through to validateDiscoveryDocument / validateEndpointOrigin,
the two remaining enforcement points that previously blocked HTTP even
when the global or per-upstream flag was set.

The fix has two parts:
- OIDCUpstreamRunConfig.InsecureAllowHTTP (new): per-upstream opt-in
  for plain-HTTP upstream issuers, OR'd with the global
  RunConfig.InsecureAllowHTTP in buildOIDCConfig so either level enables
  the relaxation.
- validateDiscoveryDocument / validateEndpointOrigin now accept an
  insecureAllowHTTP parameter and skip the HTTPS-scheme check when true,
  allowing an in-cluster Dex instance served over HTTP to pass discovery
  document validation.

Closes #5776

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

* Regenerate swagger docs for OIDCUpstreamRunConfig.insecure_allow_http

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

* Add insecure_allow_http to OAuth2UpstreamRunConfig

Mirrors the same per-upstream opt-in added to OIDCUpstreamRunConfig,
so a single OAuth2 upstream can permit plain-HTTP endpoints without
enabling the global InsecureAllowHTTP flag.

Also regenerates swagger docs for the new field.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

12 of 12 new or added lines in 2 files covered. (100.0%)

88 existing lines in 7 files now uncovered.

73152 of 107722 relevant lines covered (67.91%)

63.62 hits per line

Coverage Regressions

Lines Coverage ∆ File
66
61.69
-5.69% pkg/workloads/manager.go
6
20.11
-3.45% pkg/client/manager.go
5
0.0
-100.0% pkg/workloads/sysproc_unix.go
3
97.37
-0.53% pkg/authz/authorizers/cedar/core.go
3
73.79
-2.91% pkg/state/local.go
3
64.29
-4.29% pkg/state/runconfig.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 29279422953.1 13 Jul 2026 07:46PM UTC 797
67.91
GitHub Action Run
Source Files on build 29279422953
  • Tree
  • List 797
  • Changed 11
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29279422953
  • 8e45112d on github
  • Prev Build on main (#29121858304)
  • Next Build on main (#29280897245)
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