Repository navigation
perf(release): shorten DMG unmounts and remove cache saves from release builds - #119
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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 0.12.0 Intel DMG build spent 9m11s waiting to detach its writable image. Replaying the original stapled app on the same macOS 26 runner image exposed the suppressed hdiutil error: Disk Arbitration exceeded its deadline while the original HFS+ unmount was still in progress. Volume sampling and the arbitration log recorded no sustained file holder or dissent.
Use APFS for the installer filesystem, keeping the normal detach, Finder layout, ULFO compression, signature checks and notarization. A controlled replay of that same archive detached the APFS image on its first attempt in 10.745 seconds. The resulting image passed its checksum, layout-file checks, strict app signature verification and staple validation. Preserve failed detach diagnostics for future investigations.
Release builds now restore an exact pnpm store cache when one is available and install normally on a miss. They no longer delay app notarization to compress and upload a PR-scoped cache after the signed app is already available.
Remote results
Both the original candidate and the optimized candidate succeeded on the first attempt. Elapsed time from workflow creation to completion fell from 68m37s to 55m53s, a saving of 12m44s (18.6%). Both app and DMG notarization, both native macOS 15 validations, Intel startup smoke tests and the signed update feeds passed.
In the separate same-archive comparison, HFS+ reproduced four Disk Arbitration timeouts. Detaching took 574.221s on HFS+ and 10.745s on APFS; total image creation took 687.289s and 64.403s respectively. The arbitration log showed one pending unmount until it succeeded. The OS did not identify a specific blocking process. The Intel candidate disk image grew from 163,461,985 to 168,823,450 bytes (+3.3%).