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:
parent
e82f3ab04f
commit
bb632f6564
1 changed files with 5 additions and 0 deletions
|
|
@ -17725,6 +17725,11 @@ def start_quality_scan():
|
||||||
|
|
||||||
logger.info(f"[Quality Scanner API] Starting scan with scope: {scope}")
|
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
|
# Reset state
|
||||||
quality_scanner_state["status"] = "running"
|
quality_scanner_state["status"] = "running"
|
||||||
quality_scanner_state["phase"] = "Initializing..."
|
quality_scanner_state["phase"] = "Initializing..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue