unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cuirass news
@ 2018-01-24 22:12 Ludovic Courtès
  2018-01-25 10:55 ` Mathieu Othacehe
                   ` (4 more replies)
  0 siblings, 5 replies; 42+ messages in thread
From: Ludovic Courtès @ 2018-01-24 22:12 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

Over the last few days, out of frustration ;-), I hacked Cuirass to
improve several things:

  • Logging is improved: useful events are logged, including build
    started/succeeded/failed (using a variant of what I proposed in the
    Guix ‘wip-ui’ branch).  This makes it much easier to understand
    what’s going on!

  • Concurrency: the evaluate/build cycle would previously happen
    sequentially.  This was bad for latency (it could take a while
    before we would pull from the repo) and for resource usage (while
    evaluating all the build machines would be idle).  Now there’s some
    concurrency, with a switch to Fibers (yay!), which means that these
    activities can be interleaved, as well as HTTP request processing.

  • Build status: the starttime/stoptime of a ‘Build’ entry in the
    database is now accurate since we set them once the build has
    actually started/stopped.  This means the database is updated as
    soon as a build finishes, rather than when the whole
    ‘build-derivations’ RPC has returned.  We can also distinguish
    between started and scheduled builds now.

  • HTTP API: as a corollary, /api/latestbuilds now really returns the
    latest builds.  There’s a new /api/queue that returns pending
    builds—builds that have a database entry with ‘status’ < 0.

  • Restarting unfinished builds: it’s common, especially when testing,
    to interrupt Cuirass, leaving a number of builds unfinished or not
    even started.  Now Cuirass restarts those upon startup.

And!  This brings a whole set of new bugs that I’m hunting notably on
berlin (which may thus lag behind…).  Overall I think it’ll make Cuirass
easier to work with and more “introspectable”.

Feedback welcome!

Ludo’.

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2018-03-02 23:30 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24 22:12 Cuirass news Ludovic Courtès
2018-01-25 10:55 ` Mathieu Othacehe
2018-01-25 10:59   ` Mathieu Othacehe
2018-01-25 13:09     ` Ludovic Courtès
2018-01-26 14:30       ` Danny Milosavljevic
2018-01-27 16:01         ` Ludovic Courtès
2018-01-27 17:18           ` Danny Milosavljevic
2018-01-27 19:12             ` Danny Milosavljevic
2018-01-28 21:47             ` Ludovic Courtès
2018-01-28 22:23               ` Danny Milosavljevic
2018-01-29  9:57               ` Andy Wingo
2018-02-08 13:37             ` Ludovic Courtès
2018-02-08 16:29               ` Danny Milosavljevic
2018-02-08 22:21                 ` Ludovic Courtès
2018-02-08 23:05                   ` Danny Milosavljevic
2018-02-09  6:17                     ` Gábor Boskovits
2018-02-09  9:41                     ` Ludovic Courtès
2018-02-09 11:29                       ` Danny Milosavljevic
2018-02-09 16:53                         ` Ludovic Courtès
2018-02-09 17:06                           ` Danny Milosavljevic
2018-02-10 11:18                             ` Ludovic Courtès
2018-02-13  9:12                               ` Danny Milosavljevic
2018-02-14 13:43                                 ` Ludovic Courtès
2018-02-14 23:17                                   ` Ludovic Courtès
2018-02-19 15:35                                     ` Danny Milosavljevic
2018-02-19 15:35                                       ` [PATCH] database: Simplify 'db-get-builds' Danny Milosavljevic
2018-02-19 17:52                                       ` [PATCH] database: db-get-builds: Inline output selection Danny Milosavljevic
2018-02-19 22:08                                       ` Cuirass news Danny Milosavljevic
2018-03-02 13:21                                         ` Ludovic Courtès
2018-03-02 22:06                                           ` Ludovic Courtès
2018-03-02 23:29                                           ` Danny Milosavljevic
2018-02-14 23:21                                   ` Ludovic Courtès
2018-01-25 21:06 ` Ricardo Wurmus
2018-01-26 11:12   ` Ludovic Courtès
2018-01-25 22:28 ` Danny Milosavljevic
2018-01-26 10:47   ` Ludovic Courtès
2018-01-28 12:33     ` Cuirass frontend Danny Milosavljevic
2018-01-29 17:42       ` Ludovic Courtès
2018-01-26  0:46 ` Cuirass news Danny Milosavljevic
2018-01-27 17:27   ` Danny Milosavljevic
2018-01-28 21:48     ` Ludovic Courtès
2018-01-26 17:55 ` Jan Nieuwenhuizen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).