WAN degraded: a modem restart resets the judgement
Lint / JS (eslint) (push) Successful in 10s
Lint / Python (flake8) (push) Successful in 49s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Lint / JS (eslint) (pull_request) Successful in 11s
Lint / Python (flake8) (pull_request) Successful in 50s
Lint / Notify on failure (pull_request) Skipped
Lint / Deploy (pull_request) Skipped
Security / Python Security (bandit) (push) Successful in 1m8s
Test / Python Tests (pytest) (push) Successful in 1m21s
Security / Python Security (bandit) (pull_request) Successful in 1m5s
Test / Python Tests (pytest) (pull_request) Successful in 1m31s

Only health periods from 15 minutes after the latest restart count, so a
slowdown the restart fixed neither opens a ticket on deploy nor holds one
open. Replay: opens 11-24 01:30, resolves 04:20 after the reboot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-23 23:52:27 -05:00
1 parent a31437f2e5
commit 3e3069d2aa
4 files changed
+19 -2

No files matched your search

+2
View File
@@ -418,6 +418,8 @@ def recovered(periods: List[dict], newest: float) -> bool:
# Restart entries this close together are one restart (a reboot, then Smart Power, say).
_EPISODE_GAP_S = 900
# WAN health from this long after a restart reflects the modem as it now runs.
RESTART_SETTLE_S = 900
def restart_episodes(history: dict, button: Optional[dict], since: float) -> List[dict]: