From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: Re: ci for wip-haskell-updates Date: Mon, 22 Jul 2019 22:57:23 +0200 Message-ID: References: <87muh5dhax.fsf@elephly.net> <99509849-CFA2-4729-8FDC-D1A7798C73ED@vllmrt.net> <94456E8D-9AEF-4F47-9617-59773C853C64@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50299) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpfNK-0007Oe-MJ for guix-devel@gnu.org; Mon, 22 Jul 2019 16:57:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpfNJ-00048o-Fz for guix-devel@gnu.org; Mon, 22 Jul 2019 16:57:38 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:53864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hpfNJ-000489-5d for guix-devel@gnu.org; Mon, 22 Jul 2019 16:57:37 -0400 In-Reply-To: <94456E8D-9AEF-4F47-9617-59773C853C64@vllmrt.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org > On 22. Jul 2019, at 22:44, Robert Vollmert wrote: >=20 >=20 >=20 >> On 22. Jul 2019, at 21:50, Robert Vollmert wrote: >>=20 >> Hi Ricardo, >>=20 >>> On 22. Jul 2019, at 21:01, Ricardo Wurmus = wrote: >>>=20 >>>> Now I was wondering how to get CI to test that. >>>=20 >>> Adding branches is currently done manually. I=E2=80=99ll just = update the >>> table of branches to build on ci.guix.gnu.org in a few minutes. >>=20 >> nice, thanks! >>=20 >> The current status of the evaluation of wip-haskell-updates is quite >> confusing. There are a number of jobs listed as =E2=80=9CScheduled=E2=80= =9D with a red >> X mark at the front. Is this a bug? >=20 > I think I found what causes this: Those jobs were actually in state > =E2=80=9Cstarted=E2=80=9D, which fell through to failed. >=20 > The patch below should complete the list, and make falling through > noticeable: Apologies, I=E2=80=99d truncated the patch. A dedicated =E2=80=9Cstarted=E2= =80=9D icon would be nice, too, but I didn=E2=80=99t find anything fitting in the font. diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm index ab1b85c..7fab879 100644 --- a/src/cuirass/templates.scm +++ b/src/cuirass/templates.scm @@ -130,27 +130,40 @@ (define status (assq-ref build #:status)) (define display-status (cond - ((=3D (build-status succeeded) status) - `(span (@ (class "oi oi-check text-success") - (title "Succeeded")) - " Success")) ((=3D (build-status scheduled) status) `(span (@ (class "oi oi-clock text-warning") (title "Scheduled") (aria-hidden "true")) " Scheduled")) - ((=3D (build-status canceled) status) - `(span (@ (class "oi oi-question-mark text-warning") - (title "Canceled")) - " Canceled")) + ((=3D (build-status started) status) + `(span (@ (class "oi oi-clock text-warning") + (title "Started") + (aria-hidden "true")) + " Started")) + ((=3D (build-status succeeded) status) + `(span (@ (class "oi oi-check text-success") + (title "Succeeded")) + " Success")) + ((=3D (build-status failed) status) + `(span (@ (class "oi oi-x text-danger") + (title "Failed")) + " Failed")) ((=3D (build-status failed-dependency) status) `(span (@ (class "oi oi-warning text-danger") (title "Dependency failed")) " Dependency failed")) + ((=3D (build-status failed-other) status) + `(span (@ (class "oi oi-warning text-danger") + (title "Other failure")) + " Other failure")) + ((=3D (build-status canceled) status) + `(span (@ (class "oi oi-question-mark text-warning") + (title "Canceled")) + " Canceled")) (else - `(span (@ (class "oi oi-x text-danger") - (title "Failed")) - " Failed")))) + `(span (@ (class "oi oi-warning text-danger") + (title "Invalid status")) + " Invalid status")))) (define blocking-outputs (or (and-let* (((=3D (build-status failed-dependency) status)) (drv (false-if-exception