Skip to content

Deterministic runtime crate#5016

Queued
Shubham8287 wants to merge 54 commits into
masterfrom
shub/sim
Queued

Deterministic runtime crate#5016
Shubham8287 wants to merge 54 commits into
masterfrom
shub/sim

Conversation

@Shubham8287
Copy link
Copy Markdown
Contributor

@Shubham8287 Shubham8287 commented May 13, 2026

Description of Changes.

Introduces deterministic runtime crate.
Integrate it with RelationalDB.

I think best steps to review:

  • Read the README of runtime crate.
  • Look at the integration with existing crates - durability, core, snapshot, etc.
  • Read runtime crate's code.

Draft branch to Test code - #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.

Comment thread crates/runtime/src/lib.rs
Comment thread crates/runtime/src/sim_std.rs
Comment thread crates/runtime/DETERMINISM_COVERAGE.md
Comment thread crates/runtime/src/sim/time/mod.rs Outdated
Comment thread crates/snapshot/tests/remote.rs
Comment thread crates/runtime/src/sim_std.rs
@Shubham8287 Shubham8287 requested review from jsdt and removed request for Centril May 28, 2026 15:50
Comment thread crates/runtime/README.md
Comment thread crates/runtime/src/lib.rs
Comment thread crates/runtime/src/sim/executor/mod.rs
Comment thread crates/runtime/src/sim/buggify.rs
Comment thread crates/runtime/src/sim/time/mod.rs
Comment thread crates/runtime/src/sim_std.rs
Copy link
Copy Markdown
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

This is quite good overall. I think it's a good start.

Copy link
Copy Markdown
Contributor

@jsdt jsdt left a comment

Choose a reason for hiding this comment

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

This looks like a solid start

Comment thread crates/runtime/src/sim/executor/mod.rs
Comment thread crates/runtime/DETERMINISM_COVERAGE.md
@Shubham8287 Shubham8287 removed the request for review from joshua-spacetime June 4, 2026 14:07
@Shubham8287 Shubham8287 added this pull request to the merge queue Jun 4, 2026
Any commits made after this event will not be merged.
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 4, 2026
@Shubham8287 Shubham8287 added this pull request to the merge queue Jun 4, 2026
Any commits made after this event will not be merged.
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.

6 participants