Network blip counts only connections the panel watches

At 07:45:55 the six tcp-HyperDeck helper connections (behind the 'reboot
all' button, watched by no tile) flickered together; each counted as its
own group, so NET showed a blip and auto-fix paused, though the real
HyperDeck connections and everything else stayed up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 07:49:14 -04:00
co-authored by Claude Opus 5.5
parent a0cefe8428
commit 7d5233a1d7
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -716,6 +716,7 @@ class Engine:
self.group_of[m] = t["id"]
self.detail_ids = [t["id"] for t in cfg["tiles"] if "checks" in t or t.get("kind") == "network"]
self.prev_conn_bad = {}
self.watched_conns = {c["conn"] for t in cfg["tiles"] for c in t.get("checks", []) if c.get("conn")}
self.conn_good_at = {} # connection -> last time it was "good"
self.conn_drops = deque() # (time, conn label, group)
self.burst = None # {"start", "conns", "cleared"}
@@ -780,6 +781,10 @@ class Engine:
bad_now = set()
if snap.conns_fresh(now):
for label, c in snap.conns.items():
if label not in self.watched_conns:
# Helper connections no button watches (the six tcp-HyperDeck ones behind the
# "reboot all" button flickered together on 2026-10-11) are not the network.
continue
bad = bool(c.get("enabled")) and c.get("category") == "error"
if bad:
bad_now.add(label)