From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Cuirass news Date: Thu, 25 Jan 2018 22:06:48 +0100 Message-ID: <87efmdy7fb.fsf@elephly.net> References: <877es6x5xj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeojr-0003MZ-9i for guix-devel@gnu.org; Thu, 25 Jan 2018 16:07:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeojo-00057w-TG for guix-devel@gnu.org; Thu, 25 Jan 2018 16:07:15 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eeojo-00056x-L8 for guix-devel@gnu.org; Thu, 25 Jan 2018 16:07:12 -0500 In-reply-to: <877es6x5xj.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Hi Ludo, > Over the last few days, out of frustration ;-), I hacked Cuirass to > improve several things: Oh yeah! That=E2=80=99s great. > =E2=80=A2 Logging is improved: useful events are logged, including buil= d > started/succeeded/failed (using a variant of what I proposed in the > Guix =E2=80=98wip-ui=E2=80=99 branch). This makes it much easier to = understand > what=E2=80=99s going on! Finally! Better logging alone would be a reason to celebrate :) IIRC the wip-ui branch parsed the =E2=80=9C@=E2=80=9D-prefixed messages of = the daemon. I didn=E2=80=99t find this in your commits to Cuirass, though. > =E2=80=A2 Restarting unfinished builds: it=E2=80=99s common, especially= when testing, > to interrupt Cuirass, leaving a number of builds unfinished or not > even started. Now Cuirass restarts those upon startup. Also very useful. Does this mean Cuirass resumes work more quickly now whereas previously it would have to compute the full evaluation after a restart? I wonder about commit 49a341866afabe64c8ac3b8d93c64d2b6b20895d: you=E2=80= =99re chunking the number of derivations because guix-daemon doesn=E2=80=99t perf= orm well when it is asked to build lots of derivations at once. Is it possible to parse, lock, and run individual derivations in the daemon when presented with lots of them, or is there a good reason why each of these phases is executed for all derivations? > And! This brings a whole set of new bugs that I=E2=80=99m hunting notabl= y on > berlin (which may thus lag behind=E2=80=A6). I see that there are a bunch of spawn-fiber invocations with =E2=80=9Cwith-database=E2=80=9D bodies. Maybe I remember this wrong, but I= thought sqlite doesn=E2=80=99t support concurrent database access. > Overall I think it=E2=80=99ll make Cuirass > easier to work with and more =E2=80=9Cintrospectable=E2=80=9D. I think so too. Thanks again. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net