From a776cd02c0e0b909136185d6f72b17cd9455dd3c Mon Sep 17 00:00:00 2001 From: Domenico Sibilio Date: Mon, 14 Sep 2026 14:12:05 +0200 Subject: [PATCH] AAE-51793 Log attempt number around npm pack retries (#12236) --- scripts/github/build/npm-check-bundles.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/github/build/npm-check-bundles.sh b/scripts/github/build/npm-check-bundles.sh index 960b15c603..e399e05e74 100755 --- a/scripts/github/build/npm-check-bundles.sh +++ b/scripts/github/build/npm-check-bundles.sh @@ -42,10 +42,12 @@ npm_pack_version() { local spec=$1 local attempt for attempt in $(seq 1 "$NPM_RETRIES"); do + echo "📦 npm pack attempt $attempt/$NPM_RETRIES: $spec" if npm pack "$spec"; then return 0 fi if [ "$attempt" -lt "$NPM_RETRIES" ]; then + echo "⏳ Attempt $attempt/$NPM_RETRIES failed, retrying in ${NPM_RETRY_DELAY}s..." sleep "$NPM_RETRY_DELAY" fi done