From 05efdf61d88fb3a3d2a7c7b1b23eb65ccaa5ab09 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Mon, 9 Nov 2026 23:59:53 -0500 Subject: [PATCH] fix(lab): a build whose last task was up to date no longer counts as failed --- tools/agent/dd-lab-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/agent/dd-lab-build b/tools/agent/dd-lab-build index e53bdbb7b..dfe0edacf 100755 --- a/tools/agent/dd-lab-build +++ b/tools/agent/dd-lab-build @@ -170,7 +170,7 @@ set +o pipefail [ $ran = 1 ] && report >/dev/null && echo "[build $n/$total] $task" ;; esac done - [ -n "$task" ] && [ $ran = 1 ] && echo "$task $(( $(date +%s) - since ))" >> "$measured" + if [ -n "$task" ] && [ $ran = 1 ]; then echo "$task $(( $(date +%s) - since ))" >> "$measured"; fi } status=${PIPESTATUS[0]} set -o pipefail