ci: batch macOS test selections#2026
Merged
steipete merged 4 commits intoJul 10, 2026
Merged
Conversation
Co-authored-by: Yuxin Qiao <104957188+Yuxin-Qiao@users.noreply.github.com>
`swift test list` already compiles the test targets, so grouped test invocations can use `--skip-build` to avoid repeating SwiftPM build planning. Co-authored-by: Cursor <cursoragent@cursor.com>
56faded to
85a0924
Compare
Owner
|
Exact-head maintainer proof for
Hosted CI/security is now validating this exact head; merge remains gated on that result. |
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
swift test list, then run each selected group with--skip-buildand--no-parallel.Correctness contract
--limit-groups.Observed performance
The contributor's first hosted group-size-four run passed all checks. Its macOS Swift Test steps took approximately 13m22s to 18m17s despite runner queueing. The final candidate also removes repeated SwiftPM build planning after discovery; exact-head hosted timing is tracked by the per-shard summaries added here.
Exact-head proof
Head:
85a0924e7a7851e0dbcfed6ded9f9ee75187f906DEVELOPER_DIR=/Applications/Xcode-26.6.app/Contents/Developer make checkDEVELOPER_DIR=/Applications/Xcode-26.6.app/Contents/Developer make test: 594/594 selections, 50/50 groups, zero first-pass failures, retries, recoveries, or timeouts--skip-buildbash Scripts/test_swift_test_sharding.sh: strict hosted failure, local retry, shard completeness/counts, singleton timeout, timeout recovery, retry-to-timeout isolation, skip-build, and discovery-timing cases passedExact-head hosted CI/security is running.