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

go-pkgz / auth / 32194917390
86%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 10:57PM 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

18 Aug 2026 10:55PM UTC coverage: 85.718% (+0.2%) from 85.557%
32194917390

push

github

web-flow
fix: keep a single GridFS revision per avatar (#308)

* Keep one gridfs revision per avatar and remove all of them

GridFS appends a new revision on every upload with the same filename, so each
authentication left another copy of the avatar behind, growing files and chunks
without bound. Put now drops the older revisions after a successful upload.

ID and Remove picked an arbitrary revision from an unsorted lookup: ID could
return the hash of an older copy, producing a stale ETag, and Remove could
report success while an older revision stayed readable. ID now reads the newest
revision and Remove deletes every one of them.

* Add coverage for gridfs failure paths

37 of 40 new or added lines in 1 file covered. (92.5%)

3109 of 3627 relevant lines covered (85.72%)

8.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
83.08
avatar/gridfs.go
Jobs
ID Job ID Ran Files Coverage
1 32194917390.1 18 Aug 2026 10:57PM UTC 25
85.72
GitHub Action Run
Source Files on build 32194917390
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 38014a21 on github
  • Prev Build on master (#32194912442)
  • Next Build on master (#32194917423)
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