Skip to content

feat(infra): Update test shuffling to shuffle across shards#108319

Merged
joshuarli merged 1 commit intomasterfrom
ryan/shuffle-distribution
Feb 17, 2026
Merged

feat(infra): Update test shuffling to shuffle across shards#108319
joshuarli merged 1 commit intomasterfrom
ryan/shuffle-distribution

Conversation

@rbro112
Copy link
Copy Markdown
Member

@rbro112 rbro112 commented Feb 16, 2026

Updates the shuffle-test job to shuffle across shards and within the shards. Should give us better test randomization so we can take on flaky tests.

Resolves DI-1649

Test run: https://github.com/getsentry/sentry/actions/runs/22074602775

Looking at the test run vs other runs, it's clear each shard is now getting different tests which is the desired behavior here

@linear
Copy link
Copy Markdown

linear bot commented Feb 16, 2026

Copy link
Copy Markdown
Member Author

rbro112 commented Feb 16, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 16, 2026
@rbro112 rbro112 changed the title feat(preprod): Update test shuffling to shuffle across shards feat(infra): Update test shuffling to shuffle across shards Feb 16, 2026
@joshuarli joshuarli merged commit 4707127 into master Feb 17, 2026
117 checks passed
@joshuarli joshuarli deleted the ryan/shuffle-distribution branch February 17, 2026 20:59
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
Updates the shuffle-test job to shuffle across shards and within the
shards. Should give us better test randomization so we can take on flaky
tests.

Resolves DI-1649

Test run: https://github.com/getsentry/sentry/actions/runs/22074602775

Looking at the test run vs other runs, it's clear each shard is now
getting different tests which is the desired behavior here
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants