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

yyle88 / egobatch / 18712935461
65%
main: 65%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.1
DEFAULT BRANCH: main
Ran 22 Oct 2025 10:16AM UTC
Jobs 2
Files 14
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

22 Oct 2025 10:14AM UTC coverage: 64.764% (+0.2%) from 64.541%
18712935461

push

github

yangyile1990
Fix nil pointer panic in constraint.Pass via direct comparison

- Replace errors.Is with utils.Same to avoid panic when comparing nil pointer param
- Add Same function to utils package for safe comparable type comparison
- Add detailed warning comments explaining why errors.Is causes panic
- Root cause: Most error types Is method don't check if self is nil, causing panic
- When E is pointer type, errors.Is(nonNilErr, nil) triggers Is(nil) causing panic
- Direct == comparison is safe because ErrorType constraint requires comparable

10 of 13 new or added lines in 2 files covered. (76.92%)

261 of 403 relevant lines covered (64.76%)

25.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
50.0
-50.0% internal/utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.25.x - 18712935461.1 22 Oct 2025 10:16AM UTC 14
64.76
GitHub Action Run
2 Go-stable - 18712935461.2 22 Oct 2025 10:16AM UTC 14
64.76
GitHub Action Run
Source Files on build 18712935461
  • Tree
  • List 14
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 83c1e3fa on github
  • Prev Build on main (#18711873770)
  • 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