Compare commits

..

No commits in common. "1e683a9c0d62833a82682f156813477a9f82b82d" and "f9fd0ce016d956638c90cb96a8d25dd1cb404038" have entirely different histories.

3 changed files with 1 additions and 29 deletions

View File

@ -1 +1 @@
v20260108-38-missed-run-grace-window
v20260108-37-synology-updates-info-parser

View File

@ -113,8 +113,6 @@ def _ensure_missed_runs_for_job(job: Job, start_from: date, end_inclusive: date)
now_local_dt = datetime.now(tz) if tz else datetime.utcnow()
now_utc_naive = _utc_naive_from_local(now_local_dt)
# Remove any previously generated missed runs in this date window.
# Missed runs must be based on learned schedule from real mail-reported runs.
try:
@ -166,15 +164,6 @@ def _ensure_missed_runs_for_job(job: Job, start_from: date, end_inclusive: date)
slot_utc_naive = _utc_naive_from_local(local_dt)
# Do not mark as missed until the full grace window has passed.
if now_utc_naive <= (slot_utc_naive + MISSED_GRACE_WINDOW):
continue
# Consider any real run near the slot as fulfilling the schedule.
# Also avoid duplicates if a missed run already exists.
window_start = slot_utc_naive - MISSED_GRACE_WINDOW
@ -249,15 +238,6 @@ def _ensure_missed_runs_for_job(job: Job, start_from: date, end_inclusive: date)
slot_utc_naive = _utc_naive_from_local(local_dt)
# Do not mark as missed until the full grace window has passed.
if now_utc_naive <= (slot_utc_naive + MISSED_GRACE_WINDOW):
continue
window_start = slot_utc_naive - MISSED_GRACE_WINDOW
window_end = slot_utc_naive + MISSED_GRACE_WINDOW

View File

@ -96,14 +96,6 @@
- Set overall status to Warning without creating schedules or expected-run logic.
- Excluded Synology Updates informational messages from reporting output.
---
## v20260108-38-missed-run-grace-window
- Adjusted missed run detection to respect a ±1 hour grace window around the scheduled run time.
- Prevented runs that arrive shortly after the scheduled time (e.g. a few minutes late) from being temporarily marked as Missed.
- Ensured Missed status is only applied after the full grace window has elapsed, avoiding false Missed entries in Run Checks and Daily Jobs.
================================================================================================================================================
## v0.1.18