From a6998173c193b22b0449243017c9cee6c670ad1c Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Tue, 29 Sep 2026 18:10:51 +0200 Subject: [PATCH] ops(ax): log the failing line and exit code of the bring-up Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo --- ops/ax/up.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/ax/up.sh b/ops/ax/up.sh index e5bc8fa..be7a3a7 100755 --- a/ops/ax/up.sh +++ b/ops/ax/up.sh @@ -2,6 +2,8 @@ # Bring up ax on this host: kind cluster + local registry, Agent Substrate, the ax control plane, one smoke # Task. Idempotent enough to rerun; `down.sh` removes everything. Requires docker, go, kubectl, kind, ko, ax. set -euo pipefail +trap 'rc=$?; echo "up.sh FAILED at line $LINENO (exit $rc)"' ERR +trap 'echo "up.sh exit $?"' EXIT export PATH="$HOME/go/bin:$HOME/.local/bin:$PATH" export GOTOOLCHAIN=auto export KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-ousast}"