matcha
matcha copied to clipboard
BUG: Channel deadlock potential in daemon IDLE loop
Describe the bug IDLE notification at daemon/daemon.go:417 sends to channel without timeout. If receiver blocked, goroutine hangs forever.
To reproduce
- Block daemon event loop processing
- IDLE pushes many updates to notify channel
- Channel buffer fills, send blocks indefinitely
Expected behavior Use select with timeout or non-blocking send with dropped update
Matcha version master
OS All
Additional context File: daemon/daemon.go line 417 Deadlock under load
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.