Test: restart while the database is away still catches up once it answers (T2 order)
CI / Test (pytest) (pull_request) Successful in 52s
CI / Integration (MariaDB) (pull_request) Successful in 1m50s
CI / Security (bandit, pip-audit) (pull_request) Successful in 1m4s
CI / Lint (flake8, house style) (pull_request) Successful in 58s
CI / Scan (secrets, workflows, shell, patterns) (pull_request) Successful in 2m57s
CI / Deploy (pull_request) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-25 22:39:58 -05:00
1 parent b0e240af50
commit f3d0b5e11a
2 files changed
+20

No files matched your search

+2
View File
@@ -121,6 +121,8 @@ class Monitor:
except DatabaseError as e:
logger.warning('Could not load previous state yet: %s', e)
return
# The stored end is at or before anything this process reviewed while the database
# was away, so it wins: the next window then covers the whole time Thor was gone.
if isinstance(end, (int, float)):
self.last_good_end = float(end)
for name, st in statuses.items():