feat(healing): add post-restart verification and heal outcome telemetry
This commit is contained in:
1 parent
b2c489602a
commit
234224a5c6
3 files changed
+46
-2
No files matched your search
+5
-1
@@ -45,6 +45,8 @@ class LocalStateReporter:
|
||||
metadata_drift_count,
|
||||
drift_fingerprint,
|
||||
reason,
|
||||
heal_result,
|
||||
post_drift_fingerprint,
|
||||
):
|
||||
"""
|
||||
Records a specific healing event in a persistent history log.
|
||||
@@ -58,7 +60,9 @@ class LocalStateReporter:
|
||||
f"{timestamp} - HEAL: reason={reason} "
|
||||
f"kernel={kernel_count} missing={missing_count} "
|
||||
f"extra={extra_count} metadata={metadata_drift_count} "
|
||||
f"drift_fingerprint={drift_fingerprint}\n"
|
||||
f"drift_fingerprint={drift_fingerprint} "
|
||||
f"heal_result={heal_result} "
|
||||
f"post_drift_fingerprint={post_drift_fingerprint}\n"
|
||||
)
|
||||
except Exception as e:
|
||||
logging.error(f"Reporter: Failed to write to history log: {e}")
|
||||
Reference in new issue
Block a user