perf(ci): Reuse screenshot test build - #166
Draft
philprime wants to merge 4 commits into
Draft
Conversation
Build the screenshot test bundle once and run retries without rebuilding. Pass the prewarmed simulator into Fastlane and use deterministic swipe actions for screenshot editing flows.
📲 Install BuildsiOS
|
Build the single-device CI bundle only for the resolved simulator architecture. Reuse the explicit derived data path during test-without-building to avoid an extra build-settings lookup.
Let the real build-for-testing invocation initialize Xcode after the simulator boots. Keep prewarming enabled in release workflows until the PR experiment confirms stability.
Keep the simulator action warm-up after the no-prewarm experiment showed Fastlane timing out before build-for-testing could begin.
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.
Reuse one architecture-specific build-for-testing bundle for screenshot CI so test retries use test-without-building instead of rebuilding the project. Pass the prewarmed simulator into Fastlane, reuse its derived data, and replace flaky context-menu long presses with exact swipe actions.
Stability
Validation
make build-ios-appmake test-ui-ios-screenshot ONLY_TESTING=ScreenshotUITests/ScreenshotUITests/testScreenshots