show completed tests on calendar

This commit is contained in:
2026-07-15 14:56:40 -04:00
parent 0646daf235
commit 195d2b01ff
4 changed files with 15 additions and 12 deletions
+4 -1
View File
@@ -203,7 +203,10 @@ def upsert_tests(records: list[TestRecord], db_path: str | Path = DB_PATH) -> in
victim_band = excluded.victim_band,
throttled = excluded.throttled,
estimated_minutes = excluded.estimated_minutes,
status = excluded.status,
status = CASE
WHEN tests.status IN ('completed', 'rerun') THEN tests.status
ELSE excluded.status
END,
excluded = excluded.excluded,
raw_payload = excluded.raw_payload,
station_testpoint_map = excluded.station_testpoint_map,