Skip to content

Commit 2502e07

Browse files
dkijaniaclaude
andcommitted
Show full error response from accounts manager, increase timeout
- Remove -f from curl so HTTP error responses are visible (was silently swallowing non-200 responses as empty) - Increase retry to 60 attempts / 5 min (accounts-manager needs time to import and unlock accounts via the daemon) - Increase job timeout to 20 min Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 090af2a commit 2502e07

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/integration.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
integration:
1212
runs-on: ubuntu-latest
13-
timeout-minutes: 15
13+
timeout-minutes: 20
1414

1515
services:
1616
mina:
@@ -54,19 +54,19 @@ jobs:
5454
acquire_account() {
5555
local url="$1"
5656
local label="$2"
57-
for i in $(seq 1 30); do
58-
RESP=$(curl -sf "$url" 2>/dev/null || echo "")
57+
for i in $(seq 1 60); do
58+
RESP=$(curl -s "$url" 2>&1 || echo "")
5959
if [ -n "$RESP" ]; then
6060
PK=$(echo "$RESP" | python -c "import sys,json; d=json.load(sys.stdin); print(d.get('pk',''))" 2>/dev/null)
6161
if [ -n "$PK" ]; then
6262
echo "$PK"
6363
return 0
6464
fi
6565
fi
66-
echo "Attempt $i/30: $label not ready yet (response: $RESP)" >&2
66+
echo "Attempt $i/60: $label not ready yet (response: $RESP)" >&2
6767
sleep 5
6868
done
69-
echo "Failed to acquire $label after 30 attempts" >&2
69+
echo "Failed to acquire $label after 60 attempts" >&2
7070
return 1
7171
}
7272

0 commit comments

Comments
 (0)