Splitting sdk-test out of Test Suite - #5854
Conversation
|
|
||
| sdk_test_build: | ||
| needs: [upload-build-artifacts-linux] | ||
| name: Build SDK tests |
There was a problem hiding this comment.
This job currently takes 13m in the latest CI run. I believe that's probably because of the current spacetimedb-testing dependency which compiles most of standalone.
Ideally we'd like to be able to just download and use the CLI and standalone binaries that are produced by the "Upload build artifacts" job.
I haven't looked into which parts of spacetimedb-testing the sdk test suite is using and how hard it would be to remove this dependency, but that's probably worth looking into. Alternatively we could wait for CI runner image cache which should reduce this build time significantly.
There was a problem hiding this comment.
After more digging in I found I could parallelize the build task and get it down to 5/6m for each piece. Working on spacetimedb-testing might still be a worthwhile but it's used for building, and publishing modules, generating, and compiling clients, and managing standalone. I'm thinking we cut here and if you want more work done I start up another PR once these are merged to keep going.
Signed-off-by: Jason Larabie <jason@clockworklabs.io>
Description of Changes
First step to #5839 splitting out the SDK tests and partition:
cargo ci sdk-testscommand for local SDK test executionAPI and ABI breaking changes
No breaking changes - only tests
Rollback safety impact
n/a
Expected complexity level and risk
2 - Splitting up requires CI work and mucking with test setup for preparing clients
Testing