From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qM71JD5EmmJ2WwEAbAwnHQ (envelope-from ) for ; Fri, 03 Jun 2022 19:26:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kPzuJD5EmmLkuQAA9RJhRA (envelope-from ) for ; Fri, 03 Jun 2022 19:26:22 +0200 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 DFA562353 for ; Fri, 3 Jun 2022 19:26:17 +0200 (CEST) Received: from localhost ([::1]:36936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxB3w-000209-6q for larch@yhetil.org; Fri, 03 Jun 2022 13:26:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxB3n-0001xa-Gd for gwl-devel@gnu.org; Fri, 03 Jun 2022 13:26:07 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxB3h-0002bv-VW for gwl-devel@gnu.org; Fri, 03 Jun 2022 13:26:07 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1654277157; cv=none; d=zohomail.com; s=zohoarc; b=XpoR8qhhZKWLAmttYfiPbfu35FEqeXEXlRPp0supTHr1bsvVEDm+otaJxVw6IEIZHZBRu7uizzNALNXg992RZ751/kNzjBsOAINSRk0vekIv61Iygwz6oBtpg6OWlx4nO2jf8jsJcecH5CufD3nnTwrLBl67s5go7vn+JVvDvz4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654277157; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=UBHklYKL3pJtZCf3JDH+sg3nT31WDJiZjIxrWfExTYA=; b=a0iYNpwWOP0b0OktD89UU362sUoPu/SnMEQPLtnG3KUwTNB3ZY+NpG5VQ3b1d4SkFa8XCnxETSc3aSxDmAVEZp9NMqwRm+R001Hs53wAYgn0sRLN7LUBv4ksu9EK+cMSRDp4siZqT8R1w6368F7pjquj0Q/6JTVeaCV+/cOd7iI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1654277157; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=UBHklYKL3pJtZCf3JDH+sg3nT31WDJiZjIxrWfExTYA=; b=gy6nD5jmqbWAtJvREFKKCZIPNgBzOhsaZqHEZlhvyq84AeBkrr1Gmg8srCXGTSiE PIyUbQM9ZgZp223SsXS9n6st+ktVWtt+Yly22jguuhJSWmQJoeRHUj4pGtmKotvbTMa Bm6jyXxlUe5Aj6S6WuulPaY7mQly6rpZmrtfJNOk= Received: from localhost (46-108-142-46.pool.kielnet.net [46.142.108.46]) by mx.zohomail.com with SMTPS id 1654277154940150.3821568561914; Fri, 3 Jun 2022 10:25:54 -0700 (PDT) References: <87sfolagu9.fsf@laura> User-agent: mu4e 1.6.10; emacs 28.1 From: Ricardo Wurmus To: Olivier Dion Cc: gwl-devel@gnu.org Subject: Re: Error in a process should interrupt the workflow Date: Fri, 03 Jun 2022 19:24:59 +0200 In-reply-to: <87sfolagu9.fsf@laura> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87zgit64m8.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654277178; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UBHklYKL3pJtZCf3JDH+sg3nT31WDJiZjIxrWfExTYA=; b=HvZCwHURStvQL2myVHEU7HhzSmsAE54E6/mGfC7USukLT8VtPJ2QU4fHSUbgkuX13dAZSR zsXdd5mDbQkHuwDgLAuzHytZ21krgfGM9RoRfH+mr2wE/mhU6xt+wZwoeo9jmB02Zi0ueF TASaMVvD8RPFyWfje+5tbzSojnhaachhvclDpRwyYxhol+zLGifuekBIa6dWp0ULOpul/9 uvxa/GQK6ScUbw9aBE5XQcL6duIK6+naoHUw2XxlerfpQ5R7UQP6Pse0dDRJ15TKiN2Itj toPxih6qh095PSnMUXHYBmIwzdG7YV1pS8ckQIfOf67bW5/2EVhmEb01vZLASg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1654277178; a=rsa-sha256; cv=pass; b=QWhBZiUJfJpGx0d4qZtZxeqr8ukUzbUWCyKvfm7AFfoTFUyE38AQRdmuKIHHfeY+9fDc1W RdHwaLRLA1UsHWzVSKJ/uvZWIJSgEkornTyMMbaaENUHR9ckHtcOsYpRlEJSHiz5ot8FZp f39Nvhwdq8NGH+ywfd4X7Yd8zHq7zZhIas9KO2cgndc8Fu9PD7Ava7bRV8q8CLn8EyLzAT T14DnX+roQvASh1/bd2uEaoIfINjJfZqtc/pbPxNeFLD+mY0mpJhus9Z1kqk1pasVE23Xu LRao/qPfbW2EFYIljKSAmvEFfTrOjyzHQTVhitHY576uNHmivPFsSnL34cH4+g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=gy6nD5jm; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=gy6nD5jm; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DFA562353 X-Spam-Score: -8.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: DP9ufvmkgPDo Olivier Dion via writes: > Given the following example: > > process error > # { > exit 1 > } > > process should-not-run > # { > >&2 echo "You should not see this message!" > } > > workflow wf > processes > graph > should-not-run -> error > > > I'm expecting the second process to not run because the first has failed > with an exit value other than zero. > > Is there a way to configure the workflow to fail on any error? Currently, there is not. We only care about inputs and outputs. -- Ricardo