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

stacklok / toolhive / 42632968875
73%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2026 02:23PM UTC
Jobs 1
Files 1004
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

09 Nov 2026 02:15PM UTC coverage: 72.772% (+0.03%) from 72.741%
42632968875

push

github

web-flow
Expose auth server TLS listener port in operator (#7065)

* Expose auth server TLS listener port in operator

The runner and vMCP serve the embedded auth server's TLS listener on
port 8443, but the operator never exposed it, so nothing in the
cluster could reach it. When tlsListener is set, add an https-auth
container port and Service port for MCPServer, MCPRemoteProxy and
VirtualMCPServer. The existing http port is unchanged, so upgrading
does not rewrite Services or roll pods.

Drift detection compared only the first port, so a second port would
never have reached existing workloads. Check every port the operator
owns instead. Service ports are matched by name and container ports
by number and protocol, so a port renamed through a vMCP
podTemplateSpec is not reported as drift. Ports added by others are
not drift, and a leftover https-auth port is removed when the
listener is turned off. Service updates still replace the whole port
list, as before.

Part of #6205

Co-authored-by: Mecatl <noreply@mecatl.dev>

* Narrow container port leftover detection

Review asked for a precise rule for leftover container ports. A port
is now a leftover only if it equals a port the operator can render
(name, number and protocol) and is not wanted. A user port that only
shares the https-auth name, for example on 9443 in a vMCP
podTemplateSpec, no longer causes a Deployment update on every
reconcile.

Document that extra Service and container ports are not drift but
are dropped when the operator updates the list, and that the
repeated TLS listener lookups are deliberate. Add tests for an auth
config lookup that fails with an error other than NotFound. Make the
envtest "writes nothing" specs make a spec change that leaves the
ports alone and wait for that reconcile before checking that nothing
is written again.

Co-authored-by: Mecatl <noreply@mecatl.dev>

* Cover TLS listener lookup failures in tests

Add a MCPServer Reconcile case and a remote proxy builder case for a... (continued)

160 of 160 new or added lines in 7 files covered. (100.0%)

16 existing lines in 5 files now uncovered.

93915 of 129053 relevant lines covered (72.77%)

850.67 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
19.87
-3.97% pkg/client/manager.go
4
59.21
-0.42% pkg/workloads/manager.go
3
64.29
-21.43% pkg/authserver/upstream/tokens.go
2
73.19
-0.27% pkg/transport/proxy/streamable/streamable_proxy.go
1
94.25
0.0% pkg/authserver/storage/memory.go
Jobs
ID Job ID Ran Files Coverage
1 42632968875.1 09 Nov 2026 02:23PM UTC 1004
72.77
GitHub Action Run
Source Files on build 42632968875
  • Tree
  • List 1004
  • Changed 14
  • Source Changed 7
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42632968875
  • 2d1093f3 on github
  • Prev Build on main (#42613721406)
  • Next Build on main (#42643348477)
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