Skip to content

Commit f831e12

Browse files
Bump notarization deadline to 2 hours
Apple's notary service has been observed taking over an hour during busy periods. Increase the script's polling deadline so slow days don't cause workflow failures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ad776c5 commit f831e12

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/notarize.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ SUBMIT_JSON=$(notary submit "$FILE" --output-format json)
3737
SUBMISSION_ID=$(echo "$SUBMIT_JSON" | /usr/bin/python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
3838
echo "Submission ID: $SUBMISSION_ID"
3939

40-
# Poll up to ~60 minutes, tolerating transient failures
41-
DEADLINE=$(( $(date +%s) + 3600 ))
40+
# Poll up to ~2 hours, tolerating transient failures. Apple's notary
41+
# service normally responds in 2-15 minutes, but has been observed to
42+
# take over an hour during busy periods.
43+
DEADLINE=$(( $(date +%s) + 7200 ))
4244
CONSECUTIVE_ERRORS=0
4345
MAX_CONSECUTIVE_ERRORS=10
4446

0 commit comments

Comments
 (0)