Message ID | 20250221153551.22658-1-romain.garbage@inria.fr |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1E12C27BBE9; Fri, 21 Feb 2025 15:37:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5AE0D27BBE2 for <patchwork@mira.cbaines.net>; Fri, 21 Feb 2025 15:37:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tlV5N-00062D-B9; Fri, 21 Feb 2025 10:37:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tlV5L-00061x-E7 for guix-patches@gnu.org; Fri, 21 Feb 2025 10:37:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tlV5L-0001OF-64 for guix-patches@gnu.org; Fri, 21 Feb 2025 10:37:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=PSGSH4xRyFa9IYpjOvoJliCkay3sg7EU2LfJaYc4/I4=; b=essgTsqoQoiqncHloZ85eZjrNIGYHsCAUjWlVc9J7VTrXZGYs4Sfc7PPwyOA20GE9vZKi05UmTzK29hzpRKIQ1Jyq7Twx3l6G90AYx4cs88qMkinPoj9C4f66skRPlpzA01UmdgqQRLGEHg5bNqv2Qmf0uBosbDUpmnW1QvKeLJdznZbHNyekat1XihpIZdXvfv79ghWelTSybcGx+5BEuttMRBxWKbunkqUcT+3gwF4aukq2BtSfwY9Uk2xNNCUyilM5jYKbeRRsseSwHEfN9/wv/ZldXz10WmPsvC2Xjg71NN0wK68Tf/Nq3sguZwJ4Sy+BCFnMmKo0mtARW3qvA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tlV5K-00014h-KR for guix-patches@gnu.org; Fri, 21 Feb 2025 10:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76474] [PATCH Cuirass 0/6] Add event logging actor. Resent-From: Romain GARBAGE <romain.garbage@inria.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Feb 2025 15:37:02 +0000 Resent-Message-ID: <handler.76474.B.17401521873840@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76474@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE <romain.garbage@inria.fr> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17401521873840 (code B ref -1); Fri, 21 Feb 2025 15:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 15:36:27 +0000 Received: from localhost ([127.0.0.1]:32998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tlV4k-0000zr-Qt for submit@debbugs.gnu.org; Fri, 21 Feb 2025 10:36:27 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49622) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <romain.garbage@inria.fr>) id 1tlV4h-0000y1-5o for submit@debbugs.gnu.org; Fri, 21 Feb 2025 10:36:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <romain.garbage@inria.fr>) id 1tlV4X-0005xR-Pr for guix-patches@gnu.org; Fri, 21 Feb 2025 10:36:13 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <romain.garbage@inria.fr>) id 1tlV4V-0001Ff-KR for guix-patches@gnu.org; Fri, 21 Feb 2025 10:36:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PSGSH4xRyFa9IYpjOvoJliCkay3sg7EU2LfJaYc4/I4=; b=ZaJVNZRjPx4ujfPdx4QSRmVRUJ7ZIrJPFIRtjsoQxBAWSmeDT8Ius9NO sBNXdACOxBe1svRhdSH56pt5zSEYoFrexoCy6KNCma4hmBctZhtUBIbUb k2UycdRYak23/6WOjR4DaojT4HUqAjpw3qZpwK8CZ5tJC1M3QRXEHfDWy E=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.13,305,1732575600"; d="scan'208";a="109734199" Received: from 91-160-179-8.subs.proxad.net (HELO localhost.localdomain) ([91.160.179.8]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2025 16:36:07 +0100 From: Romain GARBAGE <romain.garbage@inria.fr> Date: Fri, 21 Feb 2025 16:32:57 +0100 Message-ID: <20250221153551.22658-1-romain.garbage@inria.fr> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.104; envelope-from=romain.garbage@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Add event logging actor.
|
|
Message
Romain GARBAGE
Feb. 21, 2025, 3:32 p.m. UTC
This patch series aims at providing a new event logging actor. This will be useful when integrating a mechanism that would notify forges such as Forgejo or Gitlab about various events for example. Ludovic Courtès (1): base: ‘remote-builder’ listens for notifications from ‘cuirass remote-server’. Romain GARBAGE (5): utils: Add ring buffer implementation. base: Add event-log agent. register: Add support for event logging in builders. register: Add support for event logging in the jobset evaluator. register: Add support for event logging in the jobset registry. src/cuirass/base.scm | 160 +++++++++++++++++++++++--- src/cuirass/scripts/register.scm | 9 +- src/cuirass/scripts/remote-server.scm | 96 +++++++++++----- src/cuirass/utils.scm | 67 ++++++++++- tests/base.scm | 46 ++++++++ tests/remote.scm | 47 ++++++-- tests/utils.scm | 17 +++ 7 files changed, 385 insertions(+), 57 deletions(-) base-commit: b6c2e340b24c4ea9701eb687669a091027bd361e
Comments
Romain GARBAGE <romain.garbage@inria.fr> skribis: > This patch series aims at providing a new event logging actor. This will > be useful when integrating a mechanism that would notify forges such as > Forgejo or Gitlab about various events for example. Pushed as 520b2fdbd96e953fc2d4b56e78e52a81fc11e2b7. Note that I had to tweak ‘tests/remote.scm’ in the first commit (b7a53d8872854b306656648f46f3df607bd0d15f) to ensure ‘start-notification-server’ would only return after said server is actually listening on its Unix-domain socket. Thanks for the nice work! Ludo’.