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

opendefensecloud / solution-arsenal / 29092248515
81%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 12:41PM UTC
Jobs 1
Files 65
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

10 Jul 2026 12:20PM UTC coverage: 75.819% (-0.2%) from 76.025%
29092248515

push

github

web-flow
fix(discovery): use errors.Is for http.ErrServerClosed check (#693)

## What
Use `errors.Is` instead of a direct `!=` comparison when checking for
`http.ErrServerClosed` in the webhook server's serve loop. It ain't much
but it's honest work 😄

## Why
Direct equality comparisons on sentinel errors break if the error is
ever wrapped. `errors.Is` is the standard, wrap-safe way to check
against a sentinel error

## Testing
`go build ./pkg/discovery/...` and `go vet
./pkg/discovery/webhook/...`and also executed `make test`

## Checklist
- [x] Tests added/updated
- [x] No breaking changes (or upgrade path documented above)
- [x] Readable commit history (squashed and cleaned up as desired)
- [ ] AI code review considered and comments resolved

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

13 existing lines in 5 files now uncovered.

4051 of 5343 relevant lines covered (75.82%)

39.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
86.13
-0.89% pkg/controller/rendertask_controller.go
3
72.31
-0.81% pkg/controller/profile_controller.go
2
71.43
-0.65% pkg/controller/helpers.go
2
73.13
-2.99% pkg/controller/registrybinding_controller.go
2
73.42
0.0% pkg/controller/target_controller.go
Jobs
ID Job ID Ran Files Coverage
1 29092248515.1 10 Jul 2026 12:41PM UTC 65
75.82
GitHub Action Run
Source Files on build 29092248515
  • Tree
  • List 65
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29092248515
  • be17b8ff on github
  • Prev Build on main (#29079690650)
  • Next Build on main (#29093298464)
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