Skip to content

Commit d36d1dc

Browse files
timiclaude
authored andcommitted
fix: increase wait time for notarization ticket propagation
- Increase initial propagation wait from 60s to 120s - Increase staple retry attempts from 3 to 10 - Increase retry delay from 15s to 30s Apple's notarization servers need more time to propagate tickets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e064f3f commit d36d1dc

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,24 +356,25 @@ jobs:
356356
fi
357357
358358
# Wait additional time for Apple servers to propagate the ticket
359+
# Notarization accepted doesn't mean ticket is immediately available for stapling
359360
echo "Waiting for ticket propagation..."
360-
sleep 60
361+
sleep 120
361362
362363
- name: Staple DMG
363364
continue-on-error: true
364365
run: |
365366
DMG_PATH=$(ls ./alloomi/apps/web/src-tauri/target/release/bundle/dmg/Alloomi*.dmg)
366367
echo "Stapling: $DMG_PATH"
367368
368-
# Retry stapling up to 3 times with delay
369-
for i in 1 2 3; do
369+
# Retry stapling up to 10 times with longer delay
370+
for i in $(seq 1 10); do
370371
echo "Staple attempt $i..."
371372
if xcrun stapler staple "$DMG_PATH" 2>&1; then
372373
echo "✅ Staple succeeded on attempt $i"
373374
break
374375
else
375-
echo "Staple failed, waiting 15 seconds before retry..."
376-
sleep 15
376+
echo "Staple failed, waiting 30 seconds before retry..."
377+
sleep 30
377378
fi
378379
done
379380

0 commit comments

Comments
 (0)