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

raeperd / kickstart.go / 42639745879
89%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2026 02:58PM UTC
Jobs 1
Files 1
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

09 Nov 2026 02:57PM UTC coverage: 88.608%. Remained the same
42639745879

push

github

web-flow
Fix module name and let response recorder unwrap (#96)

* fix: rename module so go build does not emit a .go file

The module path github.com/raeperd/kickstart.go made go build write a
binary named kickstart.go, which the go tool then parsed as a source
file and failed vet and build until it was deleted. Drop the .go suffix,
matching the ghcr.io/raeperd/kickstart image name, and update the
goimports local prefix and the README rename step.

* fix: let response recorder pass through Flush, Hijack, and deadlines

The recorder only forwarded SetWriteDeadline, so handlers could not
flush, hijack, or set a read deadline through http.ResponseController,
and type assertions for http.Flusher and http.Hijacker failed. Expose
Unwrap for deadlines and intercept Flush and Hijack so the recorded
status still matches what the client received: a flush commits the
implicit 200, and a hijacked connection records no status and stops
recovery from writing a 500 into it.

* feat: serve pprof and expvar on a separate DEBUG_PORT

The debug handlers were mounted on the service port, so every
deployment exposed pprof and expvar wherever the service was reachable.
Serve them from a second listener bound to DEBUG_PORT, with the default
left unset so nothing is exposed unless asked for. The second server
starts and shuts down alongside the service server, and a failed debug
bind stops the service the same way a failed service bind does.

* test: cover main by re-executing the test binary

TestMain runs main when KICKSTART_TEST_MAIN is set, and TestMainExit
spawns the test binary that way to check the non-zero exit and stderr
message for an invalid PORT and the clean exit after SIGINT. Statement
coverage goes from 90.5% to 95.7%.

* Revert "test: cover main by re-executing the test binary"

This reverts commit c0eac8cc4.

* refactor: gate debug endpoints behind DEBUG instead of a second listener

A separate DEBUG_PORT server needed its own lifecycl... (continued)

2 of 2 new or added lines in 1 file covered. (100.0%)

140 of 158 relevant lines covered (88.61%)

174.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42639745879.1 09 Nov 2026 02:58PM UTC 1
88.61
GitHub Action Run
Source Files on build 42639745879
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42639745879
  • c60be873 on github
  • Prev Build on main (#42038337162)
  • Next Build on main (#42640037565)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc