You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(discovery): prevent ResumeScanning crash when message arrives in Idle state
When the Discovery actor was rate-limited, it sent delayed ResumeScanning
messages. However, immediate ResumeScanning messages from discoverChildren
could finish all work before the delayed message arrived, causing a state
transition to Idle. The delayed message then arrived with no handler,
crashing the actor.
Fix by tracking pending delayed messages and preventing discoverChildren
from sending immediate messages when one is pending. This keeps queued
work in queuedListOperations, preventing premature Idle transitions.
Also fixes summary map not being reset between discovery runs, which caused
stale counts to accumulate across runs.
0 commit comments