Skip to content

DST: Test harness#5019

Closed
Shubham8287 wants to merge 88 commits into
shub/enginefrom
shub/dst
Closed

DST: Test harness#5019
Shubham8287 wants to merge 88 commits into
shub/enginefrom
shub/dst

Conversation

@Shubham8287

@Shubham8287 Shubham8287 commented May 14, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Adds dst crate.

Example command:

 cargo run -p spacetimedb-dst -- run --seed 1 --duration 10s

API and ABI breaking changes

Expected complexity level and risk

Testing

@Shubham8287 Shubham8287 marked this pull request as draft May 14, 2026 13:36
@Shubham8287 Shubham8287 changed the base branch from master to shub/sim May 14, 2026 13:38
Base automatically changed from shub/sim to master June 4, 2026 15:46
pull Bot pushed a commit to Abaso007/SpacetimeDB that referenced this pull request Jun 4, 2026
# Description of Changes.

Introduces deterministic runtime crate.
Integrate it with RelationalDB.

I think best steps to review:
- Read the
[README](https://github.com/clockworklabs/SpacetimeDB/blob/shub/sim/crates/runtime/README.md)
of runtime crate.
- Look at the integration with existing crates - `durability`, `core`,
`snapshot`, etc.
- Read runtime crate's code.

Draft branch to Test code -
clockworklabs#5019

# API and ABI breaking changes
NA

# Expected complexity level and risk
Does not intend to change any production functionality, but it's big
code.

# Testing

- new crate contains unit and integration tests.
- Existing tests should work for production.

---------

Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
- Remove tokio as direct dep of engine crate, route through runtime
- Add tokio/simulation feature switching for runtime, engine, durability, datastore, snapshot
- Remove snapshot_store field from Persistence and SnapshotWorker
- Clean up duplicate type defs in relational_db.rs
- Add pub mod db re-export shim in core crate
@Shubham8287 Shubham8287 changed the base branch from master to shub/engine June 16, 2026 10:14
@Shubham8287

Copy link
Copy Markdown
Contributor Author

Splitted in smaller PRs - #5424.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants