show completed tests on calendar
This commit is contained in:
+4
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user