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

go-pkgz / auth / 28689229150
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: ps/fix-example
DEFAULT BRANCH: master
Ran 04 Jul 2026 12:29AM UTC
Jobs 1
Files 25
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

04 Jul 2026 12:15AM UTC coverage: 85.445%. Remained the same
28689229150

push

github

web-flow
feat(avatar): add ErrNotFound sentinel returned by Store.Remove (#296)

* feat(avatar): add ErrNotFound sentinel returned by Store.Remove

The three avatar stores reported a missing avatar differently on Remove
(LocalFS via os.ErrNotExist, BoltDB and GridFS via bare fmt.Errorf strings),
so callers could not tell a missing avatar from a genuine failure. Add an
exported ErrNotFound and return it (wrapped) from all three Remove
implementations, so callers can use errors.Is.

* avatar: keep os.ErrNotExist in LocalFS.Remove not-found chain

Per review: the not-found path wrapped only ErrNotFound, dropping the
os.ErrNotExist that the previous os.Remove passthrough surfaced, so callers
matching errors.Is(err, os.ErrNotExist) on the localfs store would break.
Wrap both with multi-%w; test asserts the error satisfies both sentinels.

3041 of 3559 relevant lines covered (85.45%)

8.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28689229150.1 04 Jul 2026 12:29AM UTC 25
85.45
GitHub Action Run
Source Files on build 28689229150
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 71549945 on github
  • Prev Build on master (#26410763634)
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