From 33e7bef34906cb81787e18dbdd0379f37afdfb6b Mon Sep 17 00:00:00 2001 From: Gorka Date: Fri, 29 May 2026 17:06:20 -0300 Subject: [PATCH] fix(testnet): export E2E_TRACE_IDS_PATH in run-local run-all.sh exports E2E_TRACE_IDS_PATH so suite 3 writes the trace IDs to /e2e/e2e-trace-ids.json and suite 4's verifier finds them at the same path. run-local.sh was missing the same export, so suite 4 always failed with NotFound on local stack runs: NotFound: No such file or directory (os error 2): readfile '/e2e/e2e-trace-ids.json' Pin the path the same way run-all.sh does. Suites 3 and 4 of `./testnet/run-local.sh all` now both pass against local Jaeger. --- testnet/run-local.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testnet/run-local.sh b/testnet/run-local.sh index f034efe..930bc17 100755 --- a/testnet/run-local.sh +++ b/testnet/run-local.sh @@ -49,6 +49,11 @@ export OTEL_EXPORTER_OTLP_ENDPOINT="${OTEL_EXPORTER_OTLP_ENDPOINT:-http://localh # (provider-platform, council-platform) regardless of what's exported here. export JAEGER_URL="${JAEGER_URL:-http://localhost:16686}" +# Pin the trace-IDs hand-off path so suites 3 and 4 agree on it. Suite 3 runs +# from $LOCAL_DEV_DIR and would otherwise write to ./e2e-trace-ids.json; suite +# 4's verifier looks under e2e/. Matches the same export in run-all.sh. +export E2E_TRACE_IDS_PATH="$LOCAL_DEV_DIR/e2e/e2e-trace-ids.json" + run_payment() { info "Suite 1: testnet payment flow → localhost" cd "$SCRIPT_DIR"