Skip to content

Shard smoketests using nextest - #5705

Merged
joshua-spacetime merged 15 commits into
masterfrom
joshua/ci/shard-smoketests
Aug 13, 2026
Merged

Shard smoketests using nextest#5705
joshua-spacetime merged 15 commits into
masterfrom
joshua/ci/shard-smoketests

Conversation

@joshua-spacetime

@joshua-spacetime joshua-spacetime commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Description of Changes

Shards both the linux and windows smoketests using nextest. Each shard is executed independently from the others in its own job on its own runner. Shards can be re-run independently as well, and they don't have to rebuild anything. Not spacetimedb-standalone, not the smoketest modules, not even the tests themselves.

Also removes Swatinem/rust-cache from the smoketest build path and instead caches the v8 and openssl native libs directly which are the most expensive build outputs especially for windows. Note, Swatinem/rust-cache artifacts are >5GB under the current configuration. The actions cache itself is 10GB. This should reduce cache thrashing to some extent, although notably Swatinem/rust-cache is still used in other jobs.

API and ABI breaking changes

N/A

Expected complexity level and risk

3

Testing

N/A

Comment thread crates/guard/src/lib.rs
Comment thread tools/ci/src/smoketest.rs
@joshua-spacetime
joshua-spacetime force-pushed the joshua/ci/shard-smoketests branch from d362d99 to adaad6d Compare August 10, 2026 23:38
Comment thread .github/workflows/ci.yml
Comment thread tools/ci/src/smoketest.rs

@bfops bfops left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks basically excellent. One preference for a refactor in the yaml and a couple of nits.

@bfops

bfops commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

merging in master so that if more changes are pushed they won't hit the API rate limit issues we've been having

@bfops bfops left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshua-spacetime
joshua-spacetime added this pull request to the merge queue Aug 12, 2026
@joshua-spacetime
joshua-spacetime removed this pull request from the merge queue due to a manual request Aug 12, 2026
@joshua-spacetime
joshua-spacetime added this pull request to the merge queue Aug 12, 2026
@joshua-spacetime
joshua-spacetime removed this pull request from the merge queue due to the queue being cleared Aug 12, 2026
@joshua-spacetime
joshua-spacetime added this pull request to the merge queue Aug 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Aug 12, 2026
@bfops
bfops added this pull request to the merge queue Aug 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Aug 13, 2026
@joshua-spacetime
joshua-spacetime added this pull request to the merge queue Aug 13, 2026
Merged via the queue into master with commit 6f37e3e Aug 13, 2026
83 of 88 checks passed
@joshua-spacetime
joshua-spacetime deleted the joshua/ci/shard-smoketests branch August 13, 2026 03:16
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