From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gEHpIkotmmJTCAEAbAwnHQ (envelope-from ) for ; Fri, 03 Jun 2022 17:48:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AKriIkotmmLcxAAA9RJhRA (envelope-from ) for ; Fri, 03 Jun 2022 17:48:26 +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 1C4C4E029 for ; Fri, 3 Jun 2022 17:48:25 +0200 (CEST) Received: from localhost ([::1]:43088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nx9XE-0001Ao-VB for larch@yhetil.org; Fri, 03 Jun 2022 11:48:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nx9XD-0001Aa-1q for gwl-devel@gnu.org; Fri, 03 Jun 2022 11:48:23 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:36262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nx9XA-0005AK-Cx for gwl-devel@gnu.org; Fri, 03 Jun 2022 11:48:21 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 253FmEmx027502 for ; Fri, 3 Jun 2022 11:48:18 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 253FmEmx027502 To: gwl-devel@gnu.org Subject: Error in a process should interrupt the workflow Date: Fri, 03 Jun 2022 11:48:14 -0400 Message-ID: <87sfolagu9.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Fri, 3 Jun 2022 15:48:14 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=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: 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" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654271306; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ZXnzrAdpDhT1hwWQNugaHTN80DOxccwaFdP3JlGNiss=; b=IF8l6qwMyRGFVODh+iWuVgiSpDaCZ0SZNAyoHbcXLOyRpGyvXppNWRHFRlCzagRsC7N4E4 0NsjNQ7ofSvHBI8fDTGxjXXq+ZXYc9vmigbb9MZImS9A3Zajd0YmyzqxYd5e4xdxzHq/p0 qLb6DVApWLgbxyxtWMK1IlfetkTL8C5XmVMRPHXTRmyLzgNRKx9CkfPWHqtd0vApttrH8q 84DSlogTEHS6Dqq22LQ4VcbQ8mDXtEKy3GbMeT8O9fgcytoG07zSGXDF4yqgaXbA2RHJOc qIePYPQ2P5V/GANpVfc5MDPdWzJWNg27JzWc6a1WN+bkjTYLqdz64aIUlj9RTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654271306; a=rsa-sha256; cv=none; b=ZX9yUHxrroYhBNHtKRv4BKM8joDlzG8+Yy5gwxwvgczHPU8vGM2kI4NzDLBqn8MZGOBv2b d+jN9T2UB/AN9H+dV6Vb0h0cXg8+yc4XsxI1gAYae0hC2kH39Jep/F1fC4heLgdzzoHQVB UFOJWGyWzcMF8kz8PoOUuFOMCbczdpTcHBP2VaW7rJf62pr671ANf50wWBZfrRAE9UmQ4M 1ND2RtHBf+ErQ5XQ+k95QbeUGTO4MM3CicpTt377IdMED2iUwRMVD9rOb/x+axhhancE8M ciAiIT/HpCqhuIKDI+FLq/UrPMrXMrK1Yai0897UA3C+mjGay/YDnolnnxKLWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 1C4C4E029 X-Spam-Score: -1.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: go21XxQ2OI+w Given the following example: --8<---------------cut here---------------start------------->8--- process error # { exit 1 } process should-not-run # { >&2 echo "You should not see this message!" } workflow wf processes graph should-not-run -> error --8<---------------cut here---------------end--------------->8--- 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? Something along like this: --8<---------------cut here---------------start------------->8--- workflow wf abort-on-error #t ... --8<---------------cut here---------------end--------------->8--- -- Olivier Dion oldiob.dev