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

stacklok / toolhive / 19718222822
51%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2025 09:46PM UTC
Jobs 1
Files 386
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

26 Nov 2025 09:44PM UTC coverage: 49.458% (-0.05%) from 49.506%
19718222822

push

github

web-flow
Add CLI commands and template integration for build environment (#2742)

Add CLI commands and Dockerfile template integration for the build
environment configuration added in the previous PR.

CLI Commands:
- thv config set-build-env KEY value: Set a validated env variable
- thv config get-build-env [KEY]: Show one or all configured variables
- thv config unset-build-env KEY: Remove a specific variable
- thv config unset-build-env --all: Remove all variables

Template Integration:
- Add BuildEnv field to TemplateData struct
- Update npx.tmpl, uvx.tmpl, go.tmpl to inject ENV directives
- Modify protocol handler to load build env from config

Example usage:
  thv config set-build-env NPM_CONFIG_REGISTRY https://npm.corp.example.com
  thv config set-build-env GOPROXY https://goproxy.corp.example.com
  thv run npx://@modelcontextprotocol/server-github

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

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Co-authored-by: Claude <noreply@anthropic.com>

20 of 90 new or added lines in 2 files covered. (22.22%)

25224 of 51001 relevant lines covered (49.46%)

60.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
35.92
1.17% pkg/runner/protocol.go
67
17.28
cmd/thv/app/config_buildenv.go
Jobs
ID Job ID Ran Files Coverage
1 19718222822.1 26 Nov 2025 09:46PM UTC 386
49.46
GitHub Action Run
Source Files on build 19718222822
  • Tree
  • List 386
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19718222822
  • 62d4d57a on github
  • Prev Build on main (#19716524522)
  • Next Build on main (#19719168427)
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