From 03aa3c0ed6ebf4e2be5e9c540867c3c40ba4ca63 Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio Date: Sun, 26 Jan 2025 23:32:06 +0100 Subject: [PATCH] Do not display "scheduled" cfbot tasks as failed As far as I can tell this doesn't matter in practice, because it seems that with the way we use CirrusCI it never returns SCHEDULED. I ran into this when working with some dummy development data though. --- pgcommitfest/commitfest/templates/patch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgcommitfest/commitfest/templates/patch.html b/pgcommitfest/commitfest/templates/patch.html index 69d72bcf..e065aa94 100644 --- a/pgcommitfest/commitfest/templates/patch.html +++ b/pgcommitfest/commitfest/templates/patch.html @@ -31,7 +31,7 @@ {%for c in cfbot_tasks %} {%if c.status == 'COMPLETED'%} - {%elif c.status == 'CREATED' %} + {%elif c.status == 'CREATED' or c.status == 'SCHEDULED' %} {%elif c.status == 'EXECUTING' %}