Dev Tools · 1h ago
Go Web Push Bug Silently Leaks Subscriptions
A bug in a Go backend for AI agent task management caused expired push subscriptions to never be cleaned up. The error handling code for 410 Gone responses was unreachable because the HTTP client returns a nil response on transport errors. The developer found the issue by reading code, not from alerts.
Meridian48 take
This is a subtle but instructive bug that highlights how easy it is to write dead error-handling code when relying on library contracts.
Read the full reporting
The cleanup that could never run: a silent Web Push leak in Go →
DEV Community
goweb-push