Skip to content

fix(release): staple again on a wait when Apple's ticket lookup drops - #3800

Merged
charleslpan merged 1 commit into
mainfrom
fix/release-staple-retry
Oct 19, 2026
Merged

charleslpan merged 1 commit into
mainfrom
fix/release-staple-retry

Conversation

@charleslpan

@charleslpan charleslpan commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

The v0.18.0 tag run (39200295237) failed twice at the same step: xcrun stapler staple on the DMG, seconds after Apple accepted its notarization, with NSURLErrorDomain -1005 "The network connection was lost" from api.apple-cloudkit.com/…/ticket-delivery and Error 68. The app's own staple worked both times; the rehearsals' DMG staples worked too, so this is the ticket service, not the artifact.

Both staples now go through stapleWithRetry (release-config.mjs): up to 6 tries, 30 s apart, then Apple's own error. release-config.test.mjs covers a staple that succeeds on a later try and one that never does.

Evidence

  • pnpm exec vitest run apps/desktop/scripts: 5 passed
  • pnpm check:affected: exit 0 (a first run timed out station.test.ts at 5.06 s under load; it passes alone and on the rerun)

🤖 Generated with Claude Code


Open workspace in Conductor


Devin Review

View guided diff Turn on auto-fix

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
luke-web Ready Ready Preview Oct 19, 2026 6:07am UTC

Request Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment thread apps/desktop/scripts/release-config.test.mjs
Merged via the queue into main with commit ea04463 Oct 19, 2026
10 of 11 checks passed
@charleslpan
charleslpan deleted the fix/release-staple-retry branch October 19, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — f98ebddb Deployed Oct 19, 2026 by vercel[bot]
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