Repository navigation
fix(release): recover when Tauri leaves the desktop app unstapled, and collect evidence 4.5x faster - #107
Merged
Conversation
Stacked-PR expansion asks GitHub about every commit in every merged PR, one gh process at a time. For the first public release (99 PRs, ~1,300 commits) that took 14m23s. Eight concurrent lookups bring it to 3m09s with byte-identical evidence output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stapled Tauri runs `xcrun stapler staple` after Apple accepts the app but never checks its exit status, so a ticket that has not propagated yet leaves the app, DMG and updater archive unstapled. The v0.51.0 candidate run failed this way in final verification. The hook now checks the app's ticket after bundling, prints Tauri's notarization status lines, and rebuilds once. Final verification still requires stapled tickets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dcolthorp
added a commit
that referenced
this pull request
Nov 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 v0.51.0 candidate run (42263761184) failed at the very end:
Rhizome.app does not have a ticket stapled to it.Yesterday's candidate passed on the same signing setup.Cause. After Apple accepts the app, Tauri (tauri-cli 2.12.1,
crates/tauri-macos-sign/src/lib.rs,staple_app) runsxcrun stapler staplebut never checks its exit status. When stapling fails, typically because the new ticket hasn't propagated yet, Tauri carries on and builds the DMG and updater archive from an unstapled app. Our final verification caught it, but by then the bundle was already built. The bundle output is captured to keep credentials out of logs, so CI showed no detail.Fix. After bundling, the hook checks the app's ticket with
stapler validate. If there's none, it rebuilds the bundle once, which resubmits the same app. It now also prints Tauri's notarization status lines (no credentials) so the next failure is readable. Final verification still requires stapled tickets everywhere.Also: release evidence 4.5x faster.
prepare_release.py evidenceasked GitHub about ~1,300 PR commits one at a time and took 14m23s. Eight concurrent lookups take 3m09s, with byte-identical evidence output (same fingerprint).Verification
build_desktop_test: new test that an unstapled app triggers exactly one rebuild; existing tests updated for the extra check.verify_desktop_signing_testneedingdesktop/node_modulesin a fresh worktree.main(thereleaseenvironment only allowsmain).After merge: run a candidate on main, then refresh #106 onto the new main.
Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code