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

CowDogMoo / warpgate / 21620048232
35%
main: 35%

Build:
Build:
LAST BUILD BRANCH: refactor/idiomatic-go-doc-comments
DEFAULT BRANCH: main
Ran 03 Feb 2026 06:46AM UTC
Jobs 1
Files 75
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

03 Feb 2026 06:42AM UTC coverage: 35.116% (+5.0%) from 30.116%
21620048232

Pull #1683

github

l50
refactor: improve documentation, config logic, and error handling across CLI and templates

**Added:**

- Introduced `cmd/warpgate/root_test.go` with comprehensive tests for root command configuration, flag binding, viper overrides, help/version/error output, and required flag enforcement
- Added new tests to `templates/registry_test.go` for unknown and local repositories in template registry

**Changed:**

- Rewrote and clarified function comments for constructors and key methods across `cli`, `cmd/warpgate`, `config`, and `templates` packages to use GoDoc best practices and cross-references
- Improved and clarified documentation for CLI commands, template loader/validator, registry listing, and scaffolder operations
- Refined `root.go` config precedence logic for clarity, removed redundant comments, and improved environment variable binding
- Added `ApplyViperOverrides` function to push Viper/env/config values into unset CLI flags, ensuring correct precedence
- Updated `main.go` to handle context cancellation and signals for graceful shutdown
- Refined help/version output in `version.go` to use Cobra's output for better integration
- Improved documentation and usage comments in `buildkit.go`, `output.go`, and related files for clarity
- Updated Go version to 1.25.6 in `go.mod`

**Removed:**

- Stripped redundant, verbose, or outdated comments in favor of precise, GoDoc-style summaries across multiple files
- Removed excessive sectioning and placeholder comments in flag registration in `manifests.go` for brevity and clarity
Pull Request #1683: refactor: improve code documentation and CLI env override logic

25 of 36 new or added lines in 4 files covered. (69.44%)

3947 of 11240 relevant lines covered (35.12%)

8.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.76
89.76% cmd/warpgate/manifests.go
4
75.6
75.6% cmd/warpgate/root.go
5
0.0
0.0% cmd/warpgate/main.go
Jobs
ID Job ID Ran Files Coverage
1 21620048232.1 03 Feb 2026 06:46AM UTC 75
35.12
GitHub Action Run
Source Files on build 21620048232
  • Tree
  • List 75
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1683
  • PR Base - main (#21554991987)
  • Delete
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