feat: add replay test sharding#707
Merged
Merged
Conversation
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
Add first-class agent-device test sharding with --shard-all and --shard-split. The runner resolves shard devices, runs shard queues in parallel, scopes sessions/artifacts by shard, and reports shard/device metadata in results and JUnit output.
Validation
pnpm format
pnpm check:quick
pnpm exec vitest run src/daemon/handlers/tests/session-test-suite.test.ts src/tests/cli-network.test.ts src/utils/tests/args.test.ts
pnpm test:smoke
Manual React Navigation validation: --shard-all 2 passed 4/4 on two iOS simulators; --shard-split 2 passed 2/2 on the same flows.
Known gap: full pnpm test:unit still hits local sandbox/environment failures unrelated to this change.