From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GEHYI91jqWWdewAA62LTzQ:P1 (envelope-from ) for ; Thu, 18 Jan 2024 18:46:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GEHYI91jqWWdewAA62LTzQ (envelope-from ) for ; Thu, 18 Jan 2024 18:46:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=D+jTdSN4; dmarc=pass (policy=none) header.from=lendvai.name; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705599965; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=o2QGaRo359uHSFswQpcJloIk+xINYVuth/JYyqF4i9k=; b=mUSHAQs/R9hobZkz/MsHeRXkLoHBIaCsbIAz/O+9JZEqCvFEf1u2flNtKfw24Cx8C+lA7s 8Q/NbBNSWjtNNm/gSIOUA8T3m6BYEcZL3a/MNOGd6t7Fdz+PR3DEKbzA2mEblbAb5M5FG7 5XkiV1icp26+pZFj4t/CEUUXjdMBV5BiigdwRDK0Y2gagWIFfob/NiDcoqqJI4j31coTMC Cpxh0imbHRImpz+zAteuY1bZWOkH2yrDsD8Zeenwlf3JIBu1MMPt4I0B37ow8cNNFxMVm6 7t63Y4JnSoMP6WLnnaOvdf/nSI4pj8aonR4R/Bt17MyCFqOSQ4ZlKTigPorRMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=D+jTdSN4; dmarc=pass (policy=none) header.from=lendvai.name; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705599965; a=rsa-sha256; cv=none; b=HVtc/4N5j4Vmu/BQC2wd/IuQ03QEmgLCTFxntNaJT+HrtJFBvHlmKGMi51yeP4HMDtONo4 tVhqXswX/m5NTD3r5qG7tsxmfk0Bs6JAlBoij6GBpcnolk9ENYA4D+lGrA+Mz768ttbNLM uBZCDchn9pubbdu39IXZzSLyqG6zl/MefydFSPtU4EZod6CmwAY/pM/pPvzWLqnjCppW9Q ClCaq2SCHc6vmJ4dXebwJFX/CZ0VMNXefAkUy+cDWEmhKRGbPTRk7RK8rgOFTDPyP5E3dC cAoQB9Qsmq40KBSTFQbiD0S1Sts4nM2FU+f3ruaNiMNOT9YP9yB9RVJfPw6vmw== 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 04069169FF for ; Thu, 18 Jan 2024 18:46:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQWSI-0000Yp-D7; Thu, 18 Jan 2024 12:45:30 -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 1rQWSH-0000Yg-DI for guix-devel@gnu.org; Thu, 18 Jan 2024 12:45:29 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQWSE-0004Uj-Mm for guix-devel@gnu.org; Thu, 18 Jan 2024 12:45:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1705599920; x=1705859120; bh=o2QGaRo359uHSFswQpcJloIk+xINYVuth/JYyqF4i9k=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=D+jTdSN4BbVb2mdCuUCdAp+5CYeTeuGCv5rCQkStMwFsZXZc26+3gQjhYKvOWDlQf xCxdtreMHSrcj6ZHcIwV3fM/EiOf8Qf+mnmqEZbfOPEwvt1VJ42wp/580D9WCgsvb+ pT2UZBHu5dLv+NxAEY8v4SMB3gsFNOOtSCgegyKt3uWAQ1aiKjjJ9AUPuFuAFOwpPS iKIFBBAGoxw4/1hfl9TolFAnCMfNj90+fO46UiwiNNDookY482EX6ZgJ7SS565rEnV 1siQA24f4BIEWm2jcM6ZLxSIgI3rRe7N54YKQ454ply0n8misC4RQDIsfPUOL6ujqL IsRdDc39mMVfQ== Date: Thu, 18 Jan 2024 17:45:09 +0000 To: Richard Sent From: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: Guix deploy --keep-going equivalent for machine connection failures Message-ID: In-Reply-To: <494a6ad05644e3b4c215d2bdaf388811@freakingpenguin.com> References: <494a6ad05644e3b4c215d2bdaf388811@freakingpenguin.com> 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.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.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: -9.38 X-Spam-Score: -9.38 X-Migadu-Queue-Id: 04069169FF X-Migadu-Scanner: mx12.migadu.com X-TUID: ZqWNuJKCBzbw > Another option worth considered is adding a `'can-connection-fail?' (defa= ult: #f)` to either `machine` or `machine-ssh-configuration`. i'd call it `ignore-connection-failure?`, or if we want to ignore all probl= ems for a machine, then `ignore-failure?`. --keep-going could set the default value for the session, and the machine s= pecific variable would override it. as for the implementation, i'd use continuable exceptions of a specific typ= e, and then from scheme code users could install handlers that ignore the s= ituation. avoiding shell scripts these days is a good idea after all. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CDemocracy and liberty are not the same. Democracy is little more t= han mob rule, while liberty refers to the sovereignty of the individual.= =E2=80=9D =09=E2=80=94 Walter E. Williams (1936=E2=80=93)