From 36009fcd91f7f182adcf24d94b55e06b879e5cc7 Mon Sep 17 00:00:00 2001 From: codex Date: Wed, 26 Aug 2026 22:06:57 +0200 Subject: [PATCH] ops: v20r1 monitor [3] widen heartbeat window past stale-metadata storm --- prod/ops/v20r1_monitor.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/prod/ops/v20r1_monitor.sh b/prod/ops/v20r1_monitor.sh index 1a89830..cea5fe2 100644 --- a/prod/ops/v20r1_monitor.sh +++ b/prod/ops/v20r1_monitor.sh @@ -28,8 +28,10 @@ ps -p "$PID_WRAPPER","$PID_KERNEL" -o pid,ppid,stat,etime,args 2>/dev/null || ec echo "[2] EXCLUSIVE-WRITER LEASE (${LEASE})" ls -la "$LEASE" 2>/dev/null && cat "$LEASE" 2>/dev/null || echo " !! lease file absent" -echo "[3] HEARTBEAT (runner.log tail — TPSL ticker + latest BAR; stale-metadata noise excluded here, surfaced in [6])" -tail -n 12 "$LOG" 2>/dev/null | grep -vE "RuntimeWarning|stddev|warnings.warn|c /= stddev|numpy|stale.*metadata" || echo " (log unreadable)" +echo "[3] HEARTBEAT (runner.log tail — TPSL ticker + latest BAR; stale-metadata noise excluded, surfaced in [6])" +# Sample a wide window then strip the per-200ms stale-metadata spam so the real +# heartbeat/TBAR lines survive even during the current steady-state warning storm. +tail -n 80 "$LOG" 2>/dev/null | grep -vE "RuntimeWarning|stddev|warnings.warn|c /= stddev|numpy|stale.*metadata" | tail -n 12 || echo " (log unreadable)" echo "[4] FORCE_ENGAGE cadence (synthetic SHORT firehose)" printf ' synthetic-enter log lines: '; grep -c "FORCE_ENGAGE: SYNTHETIC ENTER" "$LOG" 2>/dev/null || echo 0