fix(path-resolve): re-arm path diagnostic each quality scan

So the [PathResolve] 'searched dirs + cwd' warning fires on every scan, not
just the first after a container restart — needed to diagnose where the
library files actually live.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
dev 2026-06-15 00:18:02 +02:00
parent e82f3ab04f
commit bb632f6564

View file

@ -17725,6 +17725,11 @@ def start_quality_scan():
logger.info(f"[Quality Scanner API] Starting scan with scope: {scope}")
# Re-arm the path-resolve diagnostic so each scan logs the searched dirs
# once (otherwise it only ever fires on the first scan after a restart).
global _resolve_library_diag_logged
_resolve_library_diag_logged = False
# Reset state
quality_scanner_state["status"] = "running"
quality_scanner_state["phase"] = "Initializing..."