CI: add manual iOS runner prebuild cache for iOS job#50
Merged
Conversation
|
- Remove standalone ios-runner-prebuild.yml (redundant — ios.yml builds on cache miss) - Switch from actions/cache/restore to actions/cache (auto-saves on miss) - Drop restore-keys and -stable suffix (no longer needed without prebuild workflow) - Remove UDID resolution step (test falls back to --platform ios) - Use point-free shouldRetry for isTransientSimulatorLaunchFailure Co-authored-by: Cursor <cursoragent@cursor.com>
SpringBoard can take several seconds after boot to accept app launches. Increase from 3 attempts / 500ms–2s to 5 attempts / 1s–5s to give CI simulators enough time. Co-authored-by: Cursor <cursoragent@cursor.com>
The fixed-attempt retry (5 attempts, ~12s window) is too short for CI simulators where SpringBoard needs 30-60s after boot to accept app launches — especially when the build step is cached and provides zero warm-up time. Switch to a deadline-based approach matching ensureBootedSimulator: - Default 30s timeout (configurable via AGENT_DEVICE_IOS_APP_LAUNCH_TIMEOUT_MS) - CI sets 60s to handle cold-boot scenarios - maxAttempts set high (30) so the deadline is the real limit Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
Why
Notes