fix(ops): completable token-aggregation LAN fallback; NPM Phoenix hub env; explorer 502 note
- run-completable: if public explorer HTTPS check fails, retry check-public-report-api against IP_BLOCKSCOUT HTTP (edge WAN vs LAN drift) - TOKEN_AGGREGATION_REPORT_API_RUNBOOK: troubleshooting when /token-aggregation/ 502s publicly but LAN is 200 - .env.master.example: default SANKOFA_NPM_PHOENIX_PORT=8080 so NPM fleet updates match hub cutover Made-with: Cursor
This commit is contained in:
@@ -24,7 +24,7 @@ if $DRY_RUN; then
|
||||
echo " (optional: python3 -m pip install check-jsonschema — step 1 then validates config/dbis-institutional JSON Schemas too)"
|
||||
echo "2. On-chain check (138): SKIP_EXIT=1 bash scripts/verify/check-contracts-on-chain-138.sh || true"
|
||||
echo "3. All validation: bash scripts/verify/run-all-validation.sh --skip-genesis"
|
||||
echo "4. Public report API: bash scripts/verify/check-public-report-api.sh"
|
||||
echo "4. Public report API: bash scripts/verify/check-public-report-api.sh (then LAN explorer IP if public URL fails)"
|
||||
echo "5. Public PMM dry-run readiness: bash scripts/verify/check-public-pmm-dry-run-readiness.sh"
|
||||
echo "6. Reconcile .env: bash scripts/verify/reconcile-env-canonical.sh --print"
|
||||
echo " Gas scaffold: bash scripts/verify/print-gas-runtime-env-canonical.sh"
|
||||
@@ -55,9 +55,15 @@ echo "[Step 3/10] Run all validation (--skip-genesis)..."
|
||||
bash scripts/verify/run-all-validation.sh --skip-genesis
|
||||
echo ""
|
||||
|
||||
# 4. Emit canonical .env lines for reconciliation
|
||||
# 4. Public report API (token-aggregation); LAN fallback when public HTTPS/WAN path is broken (e.g. CF → .36 vs working .40/.42).
|
||||
echo "[Step 4/10] Public report API / token-aggregation health..."
|
||||
bash scripts/verify/check-public-report-api.sh
|
||||
if ! bash scripts/verify/check-public-report-api.sh; then
|
||||
# shellcheck source=/dev/null
|
||||
source "${PROJECT_ROOT}/config/ip-addresses.conf" 2>/dev/null || true
|
||||
LAN_EXPLORER="http://${IP_BLOCKSCOUT:-192.168.11.140}"
|
||||
echo "[WARN] Public URL check failed; retrying token-aggregation via explorer LAN ingress (${LAN_EXPLORER})..."
|
||||
bash scripts/verify/check-public-report-api.sh "$LAN_EXPLORER"
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# 5. Emit canonical .env lines for reconciliation
|
||||
|
||||
Reference in New Issue
Block a user