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

AlexsanderHamir / GenPool / 22269968001
99%

Build:
DEFAULT BRANCH: main
Ran 22 Feb 2026 03:55AM UTC
Jobs 1
Files 1
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 Feb 2026 03:54AM UTC coverage: 96.91% (+0.8%) from 96.067%
22269968001

push

github

AlexsanderHamir
Fix pool race: set next before CAS (#31, #32)

Set obj.SetNext(oldHead) before CompareAndSwap in Put() and PutBlock()
so the object is never visible as head with an unset or wrong next pointer.
Eliminates reuse-before-clean and double handoff when the pool is shared
across goroutines. No extra atomics or locks; same performance.

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

2 existing lines in 1 file now uncovered.

345 of 356 relevant lines covered (96.91%)

121343.41 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.91
0.84% pool/pool.go
Jobs
ID Job ID Ran Files Coverage
1 22269968001.1 22 Feb 2026 03:55AM UTC 1
96.91
GitHub Action Run
Source Files on build 22269968001
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22269968001
  • d2f79d33 on github
  • Prev Build on main (#17217904247)
  • Next Build on main (#22270170392)
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