fix(release): recover lost macOS ticket connections #6097
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.45) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 419 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.361
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6097"
general
weight: 0.35
Astro-Han
Summary
Desktop Nightly 38513006217 stopped on both macOS architectures after Apple accepted their DMG notarizations.
stapler staplelost the CloudKit ticket connection (NSURLErrorDomain Code=-1005) and exited 68, so the complete Desktop publication was blocked despite successful notarization. The earlier Intel Host startup check passed in this run.Nightly and formal Desktop workflows now use one stapling entry point. It retries only exit 68 with that observed transport error, at most three attempts with 10/20-second waits and a two-minute command bound. Each attempt remains visible in the logs; other failures stop immediately. Successful stapling must pass
stapler validatebefore packaging verification and publication continue. The formal workflow's duplicate validation moves into this shared gate. Release identity, signing, notarization, Gatekeeper assessment and final package verification remain enforced.The existing one-shot calls could not recover this confirmed network failure. A shared script keeps that recovery rule out of duplicated workflow shell blocks. The separate Intel Host startup timeout is not changed.
CI also exposed a pre-existing inventory drift on main: the Astryx path/table already listed 335 files, while its generated Markdown summary still counted 334. Regenerate only that summary line through the existing generator so the required CI gate can validate this release repair.
Verification
xcrunfixture: the first staple exited 68 with the captured network error; after the real 10-second wait, the second staple and validation succeeded against the identical path. This verifies launcher and subprocess error handling, not Apple service availability.xcrunboundary; a fresh native Nightly after review and merge is still required to confirm the complete publication path. No live Apple credentials or release artifacts were used in these local recovery tests.AI use
Tool(s) and scope: Codex investigated the failed publication, implemented the shared recovery gate and regressions, and ran local checks.
Checklist
Does this PR entail a change in behavior?