Repository navigation
fix(agent): retry macOS code signing when Apple's timestamp server fails - #1422
Merged
Merged
Conversation
The 0.0.16 release run failed signing its DMG with "A timestamp was expected but was not found": Apple's timestamp server returned nothing, while the same commit's master build signed fine minutes earlier. Retry each `codesign --force` (bundled dylibs, app, DMG) up to four times, waiting 15, 30 and 45 seconds between attempts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 0.0.16 release run failed while signing the DMG with
A timestamp was expected but was not found. Every Developer ID signature needs a timestamp from Apple's timestamp server, and the server returned nothing (run 41360056819). The master build of the same commit (run 41359928508) signed its DMG fine minutes earlier.macos-release-app.shnow retries eachcodesign --forceup to four times: the bundled dylibs, the app and the DMG. It waits 15, 30 and 45 seconds between attempts.--forcemakes a retry replace the failed signature.Verified with a stub
codesign: a retry succeeds after 1, 3 or 4 attempts and gives up after 4.bash -npasses, and shellcheck reports nothing new; its one warning, SC2163, is on an existing line.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.