Skip to content

ci: Split miri tests into 4 parallel shards#10067

Open
AdamGS wants to merge 1 commit into
apache:mainfrom
AdamGS:adamg/partition-miri-shards
Open

ci: Split miri tests into 4 parallel shards#10067
AdamGS wants to merge 1 commit into
apache:mainfrom
AdamGS:adamg/partition-miri-shards

Conversation

@AdamGS
Copy link
Copy Markdown
Contributor

@AdamGS AdamGS commented Jun 4, 2026

Which issue does this PR close?

  • Closes #NNN.

Rationale for this change

Miri currently takes just under an hour to run, with most of it being the actual tests.

What changes are included in this PR?

This PR modifies the script that runs miri to optionally use nextest's partitioning feature, and makes use of it in CI with 4 partitions. This should reduce the overall miri runtime to just over 15 minutes with a minimal increase in CI resource usage.

This is also scalable if the number of tests keeps increasing, changing the number of partitions is trivial, picking 4 here is an arbitrary choice.

Are these changes tested?

Tested the script locally.

Are there any user-facing changes?

No

@AdamGS
Copy link
Copy Markdown
Contributor Author

AdamGS commented Jun 4, 2026

The longest partition seems to take around 19 minutes (down from 57), we can make it even faster using this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants