Auto-commit local changes before build (2026-03-20 11:39:05)

This commit is contained in:
Ivo Oskamp 2026-03-20 11:39:05 +01:00
parent e46d4be1c2
commit 924a012a7d

View File

@ -170,17 +170,7 @@ def _parse_report_tables(html: str) -> list[dict]:
last_active_raw = cells[7] if len(cells) > 7 else ""
status = _row_status(row_attr)
# Downgrade to Warning when last active is suspiciously old but row is white.
last_active_dt = _parse_last_active(last_active_raw)
if status == "Success" and last_active_raw.lower() == "never":
status = "Warning"
elif (
status == "Success"
and last_active_dt
and (datetime.utcnow() - last_active_dt) > timedelta(days=3)
):
status = "Warning"
results.append({
"section": section,