Skip to content

fix(agent): retry macOS code signing when Apple's timestamp server fails - #1422

Merged
AnthonyRonning merged 1 commit into
masterfrom
ci/macos-sign-timestamp-retry
Nov 2, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
ci/macos-sign-timestamp-retry

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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.sh now retries each codesign --force up to four times: the bundled dylibs, the app and the DMG. It waits 15, 30 and 45 seconds between attempts. --force makes 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 -n passes, and shellcheck reports nothing new; its one warning, SC2163, is on an existing line.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

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]>
@AnthonyRonning
AnthonyRonning merged commit 59760e5 into master Nov 2, 2026
23 checks passed
@AnthonyRonning
AnthonyRonning deleted the ci/macos-sign-timestamp-retry branch November 2, 2026 00:15
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