Repository navigation
ci(desktop): retry stapler validate when Apple is unreachable - #169
Merged
Merged
Conversation
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.
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The last two Release runs on dev failed only in the macOS desktop job.
xcrun stapler validatecould 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.cjsnow retriesstapler validateonly 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.