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

CowDogMoo / warpgate / 21620188239
35%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 06:51AM 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:49AM UTC coverage: 35.098% (+5.0%) from 30.116%
21620188239

push

github

web-flow
refactor: improve documentation, config logic, and error handling across CLI and templates (#1683)

**Key Changes:**

- Standardized and clarified documentation comments across multiple packages for improved Go doc output
- Enhanced CLI environment variable and config override logic to ensure correct flag precedence
- Added comprehensive tests for root command flag and environment variable handling
- Improved signal handling and context propagation in CLI entrypoint

**Added:**

- Test suite for root command, environment variable overrides, and error conditions in `cmd/warpgate/root_test.go`
- `ApplyViperOverrides` function to ensure environment/config values populate Cobra flags unless set explicitly

**Changed:**

- Rewrote documentation comments for constructors and exported methods to follow Go doc conventions and reference types using brackets (e.g., `[Type]`)
- Improved comments for CLI and template system functions to clarify their behavior and output
- Updated `root.go` to bind and override CLI flags with environment variables/config values using a new helper, ensuring expected precedence
- Changed the signal handling in `main.go` to use `signal.NotifyContext` and propagate context cancellation to commands
- Updated `version.go` to use `cmd.Printf` for output, improving testability and consistency
- Improved documentation of manifest-related commands and options in `manifests.go`
- Updated `go.mod` to require Go 1.25.6

**Removed:**

- Outdated and redundant inline comments describing legacy implementation details, especially around configuration loading and manifest existence checks

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

3945 of 11240 relevant lines covered (35.1%)

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 21620188239.1 03 Feb 2026 06:51AM UTC 75
35.1
GitHub Action Run
Source Files on build 21620188239
  • Tree
  • List 75
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 87b92461 on github
  • Prev Build on 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