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

yyle88 / egobatch
65%

Build:
DEFAULT BRANCH: main
Repo Added 22 Oct 2025 09:35AM UTC
Token KZZvOp7mlnrpRpjrJImogEcO6GmITlfXh regen
Build 4 Last
Files 14
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • refs/tags/v0.0.0
  • refs/tags/v0.0.1

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

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.21 hits per line

Relevant lines Covered
Build:
Build:
403 RELEVANT LINES 261 COVERED LINES
25.21 HITS PER LINE
Source Files on main
  • Tree
  • List 14
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18712924540 main 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 com... push 22 Oct 2025 10:16AM UTC yangyile1990 github
64.76
18711873770 main Add generic errgroup with type-safe custom error handling - Generic wrapper (erxgroup) around standard errgroup - ErrorType constraint interface (error + comparable) - Custom error types in internal/myerrors - Typed nil problem solution in intern... push 22 Oct 2025 09:35AM UTC yyle88 github
64.54
See All Builds (4)

Badge your Repo: egobatch

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc