FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Runtime context by Shubham8287 · Pull Request #5717 · clockworklabs/SpacetimeDB · GitHub

Runtime context - #5717

Open
Shubham8287 wants to merge 6 commits into
shub/runtime-network-onlyfrom
shub/runtime-enter
Open

Runtime context#5717
Shubham8287 wants to merge 6 commits into
shub/runtime-network-onlyfrom
shub/runtime-enter

Conversation

Shubham8287 commented Aug 11, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Description of Changes

  • Introduces enter function, so Handle does not need to be carried everywhere.
    • Add free functions like spawn, sleep .
  • runtime-core implemntation is Node aware, hence spawn from a logical Node will spawn in that node only.
    • It asserts and improve APIs to block inter-node spawns.
  • Some API hygine (remove Send constraint from core crate, where not needed).

API and ABI breaking changes

NA

Expected complexity level and risk

1

Testing

unit tests

Shubham8287 changed the base branch from master to shub/runtime-network-only August 11, 2026 11:36
Shubham8287 requested a review from kim August 11, 2026 11:42

kim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks great.

Do you think we can have a spawn_local in the runtime API, or does this require a LocalSet indirection to be portable?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL