Repository navigation
ci: recover notarized Mac bundles without rebuilding - #3418
Merged
Merged
Conversation
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 Intel 1.0.6 build was notarized successfully, but Tauri returned success after leaving the app without its stapled ticket. The strict Apple verifier correctly rejected it. Repeating the whole build would discard three hours of successful compilation.
Add a verification recovery mode to Desktop Package. It restores only a trusted producer's unexpired checkpoint after successful compilation and failed Apple verification, checks the app version and architecture, and runs no product build. For the precise missing-ticket state, it verifies the original updater signature and Developer ID, staples and validates the accepted app, then rebuilds and signs both distribution containers. Valid existing tickets retain their packages and matching notary receipt. Other failures remain failures. The normal Apple/Gatekeeper verifier and complete-platform finalization gate stay in place; only successful verification produces a publishable bundle.
Validation:
pnpm run check:github-config: 53 passed, one existing PowerShell skip. Covers recovery mode restrictions, trusted source and producer checks, failed/expired/duplicate inputs, ticket error handling, receipt preservation, both repacked containers, and updater signature renewal.bash -n scripts/ci/repair-macos-stapling.shandgit diff --checkpassed.No product/runtime changes or remote-scenario claims. Product source remains the immutable v1.0.6 tag.