Repository navigation
test: run the Squirrel.Mac updater specs concurrently off a signed template - #53453
Merged
Merged
Conversation
…mplate (#53437) The autoUpdater darwin spec is ~29 min of the slowest macOS x64 test shard (and ~10 min on arm64). Every test copied the whole Electron.app, deep-signed it, often copied and deep-signed it again for the update payload, and then ran one Squirrel install cycle at a time. - Build one stripped, deep-signed template app per run; every fixture app and update payload is an APFS clone of it with only Info.plist / Resources/app changed, so it only needs a shallow re-sign. - Run the "with update server" tests as tasks in a small slot pool (4 wide on 8+ core machines, else 2, ELECTRON_SPEC_UPDATER_CONCURRENCY to override). Each slot has its own CFBundleIdentifier so ShipIt's launchd job, XPC name and cache dir don't collide, and each task has its own update server. The mocha test for each task just awaits it, so reporting and retries are unchanged. - Stacked-update tests fetch extra payloads with getUpdateZip() instead of nesting withUpdatableApp(), which built start apps nothing launched. - SquirrelMacEnableDirectContentsWrite is set in the fixture app's own defaults domain now that it no longer shares the runner's bundle id. (cherry picked from commit 2ccc6b2)
1 task done
VerteDinde
approved these changes
Sep 3, 2026
|
No Release Notes |
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.
Backport of #53437
See that PR for details. The release branches don't have
spec/lib/http-server-helpers, so the spec keeps using express for the per-task update servers as it did before.Notes: none