uber-go/goleak
Goroutine leak detector observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 85
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3226
- days_rel: n/a
- days_push: 92
- n_releases_24m: 0
Adoption not part of the score
5263 stars · 173 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
goleak is a Go library from Uber that detects goroutine leaks in tests by verifying no unexpected goroutines remain after test execution. It integrates with the standard testing package via VerifyNone or VerifyTestMain.
Use cases
- detect goroutine leaks in go tests
- verify no leaked goroutines after test suite
- find which test leaks goroutines
- add leak checking to TestMain
- catch concurrency bugs in go packages
When to choose
- you write Go tests and want to catch goroutine leaks automatically
- you maintain a Go library where leaked goroutines could affect users
- you want a lightweight, stable (SemVer v1) leak detector
When to avoid
- your tests use t.Parallel heavily, which goleak cannot distinguish from leaks
- you need general race or deadlock detection rather than leak checking
- you are not working in Go
Facets
library · maturity stable
testing developer-tools developer-tools testing go cli goroutine-leak-detection go-testing concurrency-debugging
1 source
- readme: https://github.com/uber-go/goleak · fetched 2026-08-28 · e9361a2e9f22
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| uber-go/goleak | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem