Commit 1e1e955470a for woocommerce
commit 1e1e955470a701b88b47a9544a6399f83634439c
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date: Fri Aug 14 18:13:09 2026 +0300
Trace connect attempts when wp-env start retries (#67727)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc662fce45c..ab0fe22be51 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -326,6 +326,11 @@ jobs:
exit 1
fi
echo "::warning::wp-env-start-retry reason=${reason} attempt=${attempt}/${max_attempts} -- retrying in $((attempt * 15))s"
+ # The AggregateError wp-env surfaces names neither the host nor the address that
+ # failed, so `reason=wordpress` is as far as the log gets us. Trace the retries:
+ # a repeat failure then records every connect attempt with its address and errno.
+ # Healthy first attempts stay untraced, so this costs nothing on a green job.
+ export NODE_DEBUG=net
sleep "$((attempt * 15))"
attempt=$((attempt + 1))
done