Keep last verified stage visible while background refresh catches up
Magent CI/CD / verify (push) Successful in 1m53s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-13 16:25:00 +12:00
parent d7e5c75cb1
commit 1debf6053c
+1 -1
View File
@@ -2874,7 +2874,7 @@ async def recent_requests(
status_label = "Repair in progress" status_label = "Repair in progress"
elif status_label in {"Working on it", "Ready to watch", "Partially ready"}: elif status_label in {"Working on it", "Ready to watch", "Partially ready"}:
saved = stage_cache.get(row.get("request_id")) or {} saved = stage_cache.get(row.get("request_id")) or {}
is_available = bool(saved.get("ready")) and saved.get("source_updated") == row.get("updated_at") is_available = bool(saved.get("ready"))
status_label = _status_label_with_jellyfin(status, is_available) status_label = _status_label_with_jellyfin(status, is_available)
if status_label == STATUS_LABELS[4]: if status_label == STATUS_LABELS[4]:
status = 4 status = 4