mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
0401ed3af5
Fixes a race where concurrent notification dispatch goroutines could overwrite `coderd_notifications_pending_updates` with an older buffer-length snapshot. Pending update snapshots now serialize count evaluation with the gauge write, and inhibited dispatch results refresh the metric when buffered.