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

stacklok / toolhive / 19102368340
51%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2025 12:48PM UTC
Jobs 1
Files 347
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

05 Nov 2025 12:43PM UTC coverage: 48.311% (+0.004%) from 48.307%
19102368340

push

github

web-flow
Move remote MCP authentication handler to pkg/auth/remote (#2464)

Previously, RemoteAuthHandler and RemoteAuthConfig lived in pkg/runner/,
mixing authentication implementation with runner execution logic. This
change improves separation of concerns by moving auth logic to the auth
package while keeping configuration properly organized.

Changes:
- Created pkg/auth/remote/ package for remote MCP authentication
- Moved RemoteAuthHandler → authremote.Handler
- Moved RemoteAuthConfig → authremote.Config
- Updated all references in pkg/runner/, pkg/api/, and cmd/thv/app/
- Removed old remote_auth.go and remote_auth_test.go from pkg/runner/

Benefits:
- Clear package boundaries (runner executes, auth authenticates)
- Authentication logic can be tested independently of runner
- Follows existing pattern where RunConfig uses types from domain packages
  (similar to how it uses registry.Header, transport/types.MiddlewareConfig)
- Easier to reuse remote auth in other contexts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

1 of 61 new or added lines in 6 files covered. (1.64%)

21931 of 45395 relevant lines covered (48.31%)

37.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% pkg/runner/runner.go
3
70.0
0.0% pkg/api/v1/workload_service.go
3
54.93
pkg/auth/remote/handler.go
3
55.79
0.0% pkg/runner/config_builder.go
4
26.0
0.0% cmd/thv/app/run_flags.go
46
0.0
pkg/auth/remote/config.go
Jobs
ID Job ID Ran Files Coverage
1 19102368340.1 05 Nov 2025 12:48PM UTC 347
48.31
GitHub Action Run
Source Files on build 19102368340
  • Tree
  • List 347
  • Changed 7
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19102368340
  • dbeef088 on github
  • Prev Build on main (#19098918115)
  • Next Build on main (#19102386936)
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

© 2025 Coveralls, Inc