From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mESHBZy2qWVyjQAA62LTzQ:P1 (envelope-from ) for ; Fri, 19 Jan 2024 00:39:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mESHBZy2qWVyjQAA62LTzQ (envelope-from ) for ; Fri, 19 Jan 2024 00:39:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=SW6+ViO6; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lendvai.name ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705621147; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=J1JcM83khjK0umrdFsDB82tEJlf0lYfeiaiv1ovpYqA=; b=niKPvCWQiMeXeREcrEx/KTvYXGHHpc9BK6C3wOG9nApkGbZ9sCfvGcxmzjZ11CXWDlmLZ1 ecC1OY+Vp0yrljD1v234fqZpd6/gjFq/WvhZK0F6HjZ7lEudi7CdnON5FfEe4jy3j2t4Za rJfwcMiVZ9r6wfTaLNlm6fVGWsPG8x6E9BoQiDVy1qjvF2FFP8sYahZ+DKABjWj0IGQ5Wc xZkBPNDVSMvAC6KoCepM/bIPlx01i+fyOiA1uk6JpDTxaKQJJEzDe/fURKW3Dkn6APgxmg EMMU6o8gLB/KJ78Ny0vFAWMwBdKMoOpxWx6q1tW0l9kqCeLN9ThcYg97DsmCeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=SW6+ViO6; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lendvai.name ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705621147; a=rsa-sha256; cv=none; b=DZ77jodtCrINZpy8Swezxj1KKbsd8cMxU0NTmJ8+XiRK39txm7zATRpGHDROxxX2yHNzjH c051aeinCJQ9ZjXbNnwsSSo2uVYowcqQINgmtuCB8NEWuQHNKV4g3th9XFWhSKTqL31A4L 2TyzsIK3HYIg4M4AcmZMY0dUKTTxYnkHXuXsaeJq+Bhfb2zucadB1yj2f17ft3nScJdPOe HYyVsO1SoTGFuM2sGfFKitULIJ1/iwHtOrLJgwFFKHpJolCEENT+VtoDaYHCjBMtgU+wEU +CnTyWJTrelfLbzi4y+ZmaPhmXoghgi5xRZ/0Wnu8d/NRI8HClSQvSJMnA4XMQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B52E83C4F4 for ; Fri, 19 Jan 2024 00:39:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQbxy-0007Wk-Oi; Thu, 18 Jan 2024 18:38:34 -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 ) id 1rQbxw-0007WN-CO for guix-devel@gnu.org; Thu, 18 Jan 2024 18:38:33 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQbxt-0005WQ-O2 for guix-devel@gnu.org; Thu, 18 Jan 2024 18:38:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1705621104; x=1705880304; bh=J1JcM83khjK0umrdFsDB82tEJlf0lYfeiaiv1ovpYqA=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SW6+ViO67r7c9aZZJFxjiIiBddmoe7BovC2fstTj3SswqDGcssS5jWduIfDtZQbTM DaW5tdsARu7aioabphvMmXOy9ETSaiTBK+UZ1SNz5LDGLCX6pCZ1pxeY8KBtCs+zyJ 2As/9E3NtaL53DRpZ1zgaZ0PfJLbUo1tQscdGbemDzMGEFV4n/AlAro84BbLZ8EPQy qkEG5i320kOlkKQlC/4gD3xD2AWcyG9QCqQX+DBh0Y14SSMx+GT3WCZEERCz+WJdax WQjLy8xuK7Trx+eZvwMuxYRTL6e8ypL5EQw1MIS2UEGlbPuRra9RzD6Jby71PwN5bd 0mRZ2IJJb62hA== Date: Thu, 18 Jan 2024 23:38:02 +0000 To: guix-devel From: Attila Lendvai Subject: [shepherd] several patches that i deem ready Message-ID: Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=attila@lendvai.name; helo=mail-4022.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.03 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.03 X-Migadu-Queue-Id: B52E83C4F4 X-TUID: xk3z19CefTgO dear Guix, Ludo, i have prepared the rest of my commits that were needed to hunt down the sh= epherd hanging bug. you can find them at: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila there's some dependency among the commits, so sending them to debbugs would= be either as one big series of commits, or a hopeless labirinth of patches= otherwise. therefore i recommend the following workflow instead (assuming that Ludo is= pretty much the only one hacking on shepherd): Ludo, please take a look at my branch, and cherry-pick whatever you are hap= py with. then based on your feedback, and the new main branch, i'll rebase = and refine my commits and give you a head's up when it's ready for another = merge/review. the commits are more or less ordered in least controversial order, modulo d= ependencies. the main additions are: - a multi-layered error handler that got employed at various points in the codebase. this makes shepherd much more resilient, even in case of nested errors, and much more communicative in the log when errors end up happening. - a lightweight logging infrastructure together with plenty of log lines throughout the codebase, and some hints in the README on how to turn log lines gray in emacs (i.e. easily ignorable). looking forward to your feedback, --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CWhat you do speaks so loud I cannot hear what you say.=E2=80=9D =09=E2=80=94 Ralph Waldo Emerson (1803=E2=80=931882)