Skip to content

Use SpacetimeDBGuard for SDK test suite#5340

Merged
joshua-spacetime merged 2 commits into
masterfrom
joshua/server-process-per-sdk-test
Jun 17, 2026
Merged

Use SpacetimeDBGuard for SDK test suite#5340
joshua-spacetime merged 2 commits into
masterfrom
joshua/server-process-per-sdk-test

Conversation

@joshua-spacetime

Copy link
Copy Markdown
Contributor

Description of Changes

Use an isolated server process per SDK test instead of a single process for all of the tests. In addition to reducing the memory footprint of each test run, this should also allow for more parallelism among the individual tests.

API and ABI breaking changes

None

Expected complexity level and risk

1.5

Testing

The SDK test suite should continue to work

@joshua-spacetime joshua-spacetime force-pushed the joshua/server-process-per-sdk-test branch 3 times, most recently from 1a6f632 to 5bf6d8f Compare June 16, 2026 06:09
@joshua-spacetime joshua-spacetime changed the base branch from master to joshua/fix/sats-proptest-oom June 16, 2026 06:10
Base automatically changed from joshua/fix/sats-proptest-oom to master June 16, 2026 15:38
@joshua-spacetime joshua-spacetime force-pushed the joshua/server-process-per-sdk-test branch from 3ead61d to 1ed6ee1 Compare June 16, 2026 15:41
Comment thread sdks/rust/tests/test.rs
Comment thread sdks/rust/tests/test-counter/src/lib.rs Outdated
Comment thread sdks/rust/tests/test-client/src/test_handlers.rs
Comment thread sdks/rust/tests/test-client/src/test_handlers.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.

The diff itself LGTM. I haven't thought deeply about all these different test harnesses and how I would expect this plumbing to look in a vacuum (or if something's missing), but what's there seems reasonable. It's test-only changes, so if it passes CI I think this LGTM.

@joshua-spacetime joshua-spacetime force-pushed the joshua/server-process-per-sdk-test branch from 1ed6ee1 to 0c62b5b Compare June 16, 2026 20:14
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 16, 2026
@joshua-spacetime joshua-spacetime removed this pull request from the merge queue due to a manual request Jun 16, 2026
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 16, 2026
@joshua-spacetime joshua-spacetime removed this pull request from the merge queue due to a manual request Jun 17, 2026
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 17, 2026
@joshua-spacetime joshua-spacetime removed this pull request from the merge queue due to a manual request Jun 17, 2026
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 17, 2026
Merged via the queue into master with commit fc47257 Jun 17, 2026
54 of 57 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/server-process-per-sdk-test branch June 17, 2026 01:41
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