Description
The Repository Quality report #47797 inventories 7 production goroutines (2 with no join point) yet finds zero goleak usage in tests. With multiple goroutine-lifecycle fixes now in flight (#47603, #47604, #47609, plus the new docker_images fix), there is no regression guard. Add go.uber.org/goleak verification (e.g. goleak.VerifyTestMain) to the packages that launch goroutines — pkg/cli and pkg/console first.
Expected Impact
Provides an automated safety net so future goroutine-leak regressions fail CI instead of shipping. Complements — does not duplicate — the individual fix issues, which patch specific sites; this locks the fixes in place.
Suggested Agent
Test Quality Sentinel or a Go test-infra agent.
Estimated Effort
Medium (1-4 hours)
Data Source
DeepReport Intelligence analysis 2026-07-24; Repository Quality report #47797 (goleak usage = 0). Verified no existing open issue mentions goleak.
Generated by 🔬 Deep Report · age00 · 232.9 AIC · ⌖ 17.8 AIC · ⊞ 10.3K · ◷
Description
The Repository Quality report #47797 inventories 7 production goroutines (2 with no join point) yet finds zero
goleakusage in tests. With multiple goroutine-lifecycle fixes now in flight (#47603, #47604, #47609, plus the new docker_images fix), there is no regression guard. Addgo.uber.org/goleakverification (e.g.goleak.VerifyTestMain) to the packages that launch goroutines —pkg/cliandpkg/consolefirst.Expected Impact
Provides an automated safety net so future goroutine-leak regressions fail CI instead of shipping. Complements — does not duplicate — the individual fix issues, which patch specific sites; this locks the fixes in place.
Suggested Agent
Test Quality Sentinel or a Go test-infra agent.
Estimated Effort
Medium (1-4 hours)
Data Source
DeepReport Intelligence analysis 2026-07-24; Repository Quality report #47797 (goleak usage = 0). Verified no existing open issue mentions goleak.