fix 1.26.2: merchant webui version.txt missing is INFO

This commit is contained in:
Hernâni Marques 2026-09-06 00:38:17 +02:00
parent bc785f8466
commit 6d5adeef9c
No known key found for this signature in database
5 changed files with 7 additions and 8 deletions

View file

@ -879,11 +879,9 @@ PY
info "merchant webui version" "${got_ver} (set EXPECT_WEBUI_VERSION= to pin)"
fi
else
if [ "${LOCAL_STACK:-1}" = "1" ]; then
fail "merchant /webui/version.txt" "HTTP ${vcode:-000} (SPA missing version stamp)"
else
warn "merchant /webui/version.txt" "HTTP ${vcode:-000}"
fi
# Newer merchant-webui packages omit version.txt (GOA / FP stage / prod).
# INFO only — earlier merchant SPA builds shipped this stamp; bank webui still has it.
info "merchant /webui/version.txt" "HTTP ${vcode:-000} · earlier merchant SPA versions had this stamp; current merchant packages often omit it · bank /webui/version.txt still present on current bank builds"
fi
ocode=$(http_body "$MERCHANT_PUBLIC/webui/version-overlay.txt" "$tmp/webui-overlay.txt")