Skip to content

ci(desktop): retry stapler validate when Apple is unreachable - #169

Merged
nixuuu merged 1 commit into
devfrom
fix/macos-staple-validate-retry
Nov 5, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/macos-staple-validate-retry

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 5, 2026

Copy link
Copy Markdown
Member

The last two Release runs on dev failed only in the macOS desktop job. xcrun stapler validate could not reach Apple's ticket service (api.apple-cloudkit.com: "The network connection was lost", error 68). Signing and notarization had already succeeded.

apps/desktop/scripts/verify-macos.cjs now retries stapler validate only for that network failure, after 15, 30, 60 and 120 s. Any other failure still fails at once. #103 added the same kind of retry for stapling; validation didn't have it.

The macOS release verification ran `xcrun stapler validate` once. When Apple's ticket service dropped the connection (exit 68, "The network connection was lost") the whole Release run failed, as it did twice on dev today, although signing and notarization had succeeded. Only that network failure is now retried, after 15, 30, 60 and 120 s; any other failure still fails at once.
@nixuuu
nixuuu merged commit 471b1f7 into dev Nov 5, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/macos-staple-validate-retry branch November 5, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant