Repository navigation
[FSSDK-13238] ci: retry only failed unit tests and upload results on failure - #661
Merged
Merged
Conversation
Replace the 3x full-suite bash retry loop with xcodebuild's -retry-tests-on-failure so only failing tests re-run. Fix the archive step, which never ran (implicit success() in its if) and pointed at build/Logs instead of COVERAGE/Logs/Test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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
Unit tests now retry only the failing tests, and test results are uploaded when a job fails.
Why: the iPad job on the #660 merge commit (run 37558972075) failed after 3 full-suite attempts, each turning up different flaky tests. The archive step was skipped, so no results were available to debug them.
Evidence
Check on failures (Archive Test Results)was skippedMerge Danger
Door: two-way (CI-only, revert restores the loop)
Blast Radius: unit test jobs only. Infra failures (e.g. simulator boot) are no longer auto-retried; use "Re-run failed jobs". Flaky tests are still masked, but the
.xcresultnow records them.Issues
🤖 Generated with Claude Code