From 3ac3a4bae41bc57d87b0a680074bcef55976b9b5 Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 11 Apr 2026 17:33:35 +0200 Subject: [PATCH] =?UTF-8?q?fix(status-page):=20drop=20set=20-e=20=E2=80=94?= =?UTF-8?q?=20heredoc=20subshells=20trigger=20silent=20exits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/generate-status-page.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/generate-status-page.sh b/scripts/generate-status-page.sh index 64c3d334d..65588cd5a 100755 --- a/scripts/generate-status-page.sh +++ b/scripts/generate-status-page.sh @@ -10,7 +10,12 @@ # # Ausgabe: /output/index.html + /output/status.json -set -eu +# set -e dropped — too many false positives from expected non-zero exits +# in subshells ($(render_rows ...) under heredoc expansion) and from +# conditional tests inside the while-read tier_apps loop. The script is +# long and best-effort; we accept partial failures over silent exits +# before the jq that writes status.json. +set -u VM_URL="${VICTORIAMETRICS_URL:-http://victoriametrics:9090}" OUTPUT="${OUTPUT_FILE:-/output/index.html}"