orchard/internal/controller/notifier
Matthew Buckingham-Bishop d0639f5cd5 controller(notifier): avoid deleting newer slot from stale unregister
Make Register() cleanup delete only the slot created by that specific
registration, so stale callbacks cannot remove a newer worker slot.

Add concurrentmap.DeleteIf() to perform the check-and-delete atomically.
Add tests for DeleteIf behavior.
2026-03-05 00:16:24 -08:00
..
notifier.go controller(notifier): avoid deleting newer slot from stale unregister 2026-03-05 00:16:24 -08:00
notifier_test.go test(notifier): add regression test for stale unregister on re-register 2026-03-05 00:16:14 -08:00