Fix stale discovery success regex in log analyzer

The log analysis matched "proof verified, caching route" but the
actual log message is "Discovery succeeded, proof verified, route
cached", causing discovery succeeded to show 0 in all sim runs.
This commit is contained in:
Johnathan Corgan
2026-04-11 08:16:01 +00:00
parent eb8479eb20
commit 59b7ea765b
+1 -1
View File
@@ -176,7 +176,7 @@ def _analyze_lines(result: AnalysisResult, source: str, log_text: str):
# Discovery
if "Initiating LookupRequest" in line or "Discovery lookup initiated" in line:
result.discovery_initiated.append((source, line))
if "proof verified, caching route" in line:
if "proof verified, route cached" in line:
result.discovery_succeeded.append((source, line))
if "target not in any peer bloom filter" in line:
result.discovery_bloom_miss.append((source, line))