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

stacklok / toolhive / 25154213341
65%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 08:04AM UTC
Jobs 1
Files 708
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

30 Apr 2026 07:58AM UTC coverage: 64.255% (-0.01%) from 64.265%
25154213341

push

github

web-flow
Add --tls-skip-verify flag to thv llm setup, config set, and proxy start (#5136)

Closes #5123

Stores TLSSkipVerify in the LLM config section and threads it through to
every layer:

- pkg/llm/config.go: add TLSSkipVerify field to Config; SetOptions uses
  *bool so that --tls-skip-verify=false explicitly clears the stored value
  rather than being silently ignored as a zero value
- pkg/llm/manage.go: SetFields applies the pointer, Show() prints a WARNING
  line when the flag is set
- pkg/llm/setup.go: pass TLSSkipVerify through ToolApplyConfig; extract
  configureDetectedTools() and warnTLSSkipVerify() helpers (gocyclo)
- pkg/llm/proxy/proxy.go: add Option / WithTLSSkipVerify() functional
  option; New() accepts variadic opts; sets InsecureSkipVerify on the
  upstream transport when the flag is true
- pkg/client/llm_gateway.go: add TLSSkipVerify to LLMApplyConfig; add
  NodeTLSRejectUnauthorized case to llmValueForSpec(); extract
  applyLLMGatewayKeys / addLLMKey / removeLLMKey helpers (gocyclo);
  ClearWhenEmpty on LLMGatewayKeySpec removes the JSON key when the flag
  is cleared rather than leaving a stale "0" in the settings file
- pkg/client/config.go: add NODE_TLS_REJECT_UNAUTHORIZED key spec
  (ClearWhenEmpty=true) to ClaudeCode and GeminiCli (the two direct-mode
  Node.js tools); proxy-mode tools (Cursor, VSCode, Xcode, …) are covered
  by WithTLSSkipVerify on the proxy transport
- cmd/thv/app/llm.go: wire --tls-skip-verify into setup, config set, and
  proxy start; proxy start overrides the stored value when the flag is
  explicitly passed

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

99 of 170 new or added lines in 6 files covered. (58.24%)

8 existing lines in 5 files now uncovered.

61123 of 95125 relevant lines covered (64.26%)

58.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
33
11.57
-0.76% cmd/thv/app/llm.go
19
73.99
-0.47% pkg/client/llm_gateway.go
15
79.37
-5.2% pkg/llm/setup.go
4
78.1
-0.05% pkg/llm/proxy/proxy.go

Coverage Regressions

Lines Coverage ∆ File
3
71.85
-1.11% pkg/ignore/processor.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
1
11.57
-0.76% cmd/thv/app/llm.go
1
73.99
-0.47% pkg/client/llm_gateway.go
1
79.37
-5.2% pkg/llm/setup.go
Jobs
ID Job ID Ran Files Coverage
1 25154213341.1 30 Apr 2026 08:04AM UTC 708
64.26
GitHub Action Run
Source Files on build 25154213341
  • Tree
  • List 708
  • Changed 12
  • Source Changed 8
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25154213341
  • b094f754 on github
  • Prev Build on main (#25150085827)
  • Next Build on main (#25154936592)
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