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

stacklok / toolhive / 19705303483
51%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2025 01:28PM UTC
Jobs 1
Files 382
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 01:26PM UTC coverage: 49.385% (+0.04%) from 49.35%
19705303483

push

github

web-flow
Add build environment configuration and validation (#2740)

Add configuration model and validation for build-time environment
variables that will be injected into protocol build Dockerfiles.

Changes:
- Add BuildEnv map[string]string field to Config struct
- Add validation functions for env var keys (uppercase, no reserved keys)
- Add validation functions for env var values (no shell metacharacters)
- Extend Provider interface with SetBuildEnv, GetBuildEnv, GetAllBuildEnv,
  UnsetBuildEnv, and UnsetAllBuildEnv methods
- Implement for DefaultProvider, PathProvider, and KubernetesProvider
- Add comprehensive tests for validation and provider operations

This is the foundation for THV-2732 custom package registry support.
The CLI commands and template integration will follow in a separate PR.

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

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Don Browne <dmjb@users.noreply.github.com>

101 of 167 new or added lines in 3 files covered. (60.48%)

3 existing lines in 1 file now uncovered.

25086 of 50797 relevant lines covered (49.38%)

60.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
67.27
-0.23% pkg/config/interface.go
51
0.0
0.0% pkg/config/mocks/mock_provider.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
46.3
-0.72% pkg/transport/stdio.go
Jobs
ID Job ID Ran Files Coverage
1 19705303483.1 26 Nov 2025 01:28PM UTC 382
49.38
GitHub Action Run
Source Files on build 19705303483
  • Tree
  • List 382
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19705303483
  • b33cf665 on github
  • Prev Build on main (#19702276347)
  • Next Build on main (#19707385407)
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