Repository navigation
ci: take the iOS size baseline and the terminate stall off the Run iOS path - #2910
Draft
bitsandfoxes wants to merge 2 commits into
Draft
bitsandfoxes wants to merge 2 commits into
bitsandfoxes wants to merge 2 commits into
Conversation
bitsandfoxes
force-pushed
the
ci/ios-critical-path
branch
from
October 25, 2026 22:48
9247ad2 to
9207826
Compare
bitsandfoxes
force-pushed
the
ci/ios-critical-path
branch
from
October 25, 2026 23:22
9207826 to
decda06
Compare
bitsandfoxes
force-pushed
the
ci/native-sdk-cache
branch
from
October 26, 2026 09:49
2c2dd66 to
c0c7837
Compare
bitsandfoxes
force-pushed
the
ci/ios-critical-path
branch
from
October 26, 2026 10:30
decda06 to
216bca5
Compare
This was referenced Oct 26, 2026
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.
Run iOS, the job that ends every CI run, no longer waits for the iOS build-size baseline compile, and its first app launch no longer stalls on
simctl terminate.In 23 green first attempts over the last 21 days, Run iOS ended the run every time (p50 55 / p90 90 min). Two things on that path only cost time:
needsthe whole Compile iOS job, so it waited for it.simctl terminateafter a simulator boot stalled 59–430 s in 16% of Run iOS legs (Skip the iOS simulator terminate right after boot and bound the others app-runner#65 has the numbers).How it works now:
test-build-size-ios.yml("Measure iOS Build Size") is a new job that runs after Compile iOS. It takes over the baseline steps fromtest-compile-ios.ymlunchanged: the samebuild-nosentry-iOS-compiled-<full version>cache, saved on main only, and the same measurement. The with-Sentry app comes from thetestapp-ios-compiled-<v>-runtimeartifact that Run iOS installs. Build Size nowneedsthis job instead of Compile iOS. Run iOS still only needs Compile iOS, which got shorter. Summed the waymeasure-build-size.ps1does it, the artifact from run 40217553065 comes to 135289358 bytes, exactly theWithSentryvalue that run reported.modules/app-runnermoves to Skip the iOS simulator terminate right after boot and bound the others app-runner#65: wait forsimctl bootstatusbefore the first launch, and boundterminateto 60 s with a--terminate-running-processfallback.Modelled on the same 23 runs, this saves about 6.8 min (size job) plus 2.5–3 min (terminate) at p90. p50 barely changes, because most runs hit the baseline cache and don't stall. The new job adds one macos-15 runner per Unity version, roughly 1–1.5 macOS minutes each on a cache hit.
Stacked on #2909.
CI evidence: run 40241909708 is green 58/58 in 32.1 min. It carried #2907 as a throwaway commit (since dropped). Compile iOS runtime legs no longer run the baseline, and both "Measure iOS Build Size" jobs and Build Size are green with the iOS rows. In all 4 Run iOS legs the first launch started 0 s after "Run log" (the terminate stalled up to 430 s before), later launches started within 1–5 s, no terminate timed out, and each passed 57/57. An earlier version that waited for
simctl bootstatus(run 40238565235) still stalled to the 60 s cap on one leg, so it was replaced.Rebased onto #2907: run 40307988661 is green on the first attempt in 45.1 min.
🤖 Generated with Claude Code