GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Docker image build for standalone by drogus · Pull Request #123 · clockworklabs/SpacetimeDB

Conversation

@drogus

@drogus drogus commented Aug 1, 2023

Copy link
Copy Markdown
Contributor

Description of Changes

API

  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI
  • This is a breaking change to the SDK API

If the API is breaking, please state below what will break

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cloutiertyler and others added 30 commits June 18, 2023 22:19
@cloutiertyler
Initial commit
e5e3d78
@cloutiertyler
Create LICENSE
bcb3d52
@cloutiertyler
Rename LICENSE to LICENSE.txt
15a79df
@cloutiertyler
Create LICENSE-SSPL.txt
ffb9e54
@cloutiertyler
test
bd9f7f4
@cloutiertyler
test (#1)
e8c0b53
* test

* Fixed CI

* Fixed tests

* Fixed formatting

* Fixed test error by removing chrono default features

* Rename smoketests CI thing

* Hopefully fix the testing issue

* Fix typos

* Fixed install git-hooks

* Fixed formatting

* Fixed compile error

* fixed testing issues
@cloutiertyler
Create README.md (#2)
9803c09
Signed-off-by: Tyler Cloutier <[email protected]>
@cloutiertyler
Clean up repo and remove old files
ccf472f
@cloutiertyler
Fixed network issue
97a8fa6
@RReverser @cloutiertyler
Refactor DbProgram to borrow transaction (#9)
addfddf
Co-authored-by: Tyler Cloutier <[email protected]>
@jdetter
Run clippy on default module (#7)
50e357a
* Clippy runs on default module

* Fix clippy issue with default module

---------

Co-authored-by: Boppy <[email protected]>
@jdetter
Added log for orphan tables (#13)
f02c047
* I think somehow we are adding all tables as orphans, added log

* Removed unneeded clone

---------

Co-authored-by: Boppy <[email protected]>
@mamcx
Fix bug for subcription that was not executing or returning if empty (#6
2c5dcd0
)

* Fix bug for subcription that was not executing or returning if empty

* Clippy

* Filter out deleted rows

* Recover the op_type (DELETED, INSERTED) flag for the row in the subscription
@Centril
Refactor bindings a bit + document it (#8)
c7cd32b
* grandfathered docs improvements in bindings

* improve bindings

* address review comments

* remove late bound lifetime

* undo derive for Timestamp to bisect bug
@mamcx @Centril
Forbid unsupported syntax in SELECT & improve sql test suite (#5)
3a0ead4
* Forbid unsupported syntax in SELECT (like ORDER BY) & improve accuracy of sql test suite

* Update crates/sqltest/src/main.rs

Co-authored-by: Mazdak Farrokhzad <[email protected]>
Signed-off-by: Mario Montoya <[email protected]>

---------

Signed-off-by: Mario Montoya <[email protected]>
Co-authored-by: Mazdak Farrokhzad <[email protected]>
@jdetter
Sendgrid environment variables can now be configured in dev (#4)
cf3215d
Signed-off-by: John Detter <[email protected]>
Co-authored-by: Boppy <[email protected]>
@jdetter @Centril
Identity command improvements (#11)
1549440
* Working on improving commands that use identities

* Fix lints

* Reverted file that shouldn't have changed

* Found and fixed all other todos

* Addressed more CLI TODOs

* Fixes for formatting issues

* Set names of identities

* Set name of identities + clippy

* Small fix

* Added the start of a doc comment, switching over to another PR

* Fixed tests that needed to be updated

* Addressed more feedback and fixed several clippy issues

* Small fix

* Apply suggestions from code review

Co-authored-by: Mazdak Farrokhzad <[email protected]>
Signed-off-by: John Detter <[email protected]>

* Added more doc comments

* Addressing more feedback

* Fixed really old bug in SpacetimeDB

* Tests to verify new functionality

* Fix clippy lints

* Email during identity creation is optional

* Fix output so testsuite passes

---------

Signed-off-by: John Detter <[email protected]>
Co-authored-by: Boppy <[email protected]>
Co-authored-by: Mazdak Farrokhzad <[email protected]>
@jdetter
Smoketests work on macos (#15)
0969e7e
* Some work

* Getting smoketests working on mac

* All tests are passing except known failing tests

---------

Co-authored-by: Boppy <[email protected]>
@SteveGibsonCL Steve
Changed C# reducer signature; Change reducer invocation method to ret…
5eee895
…urn wether or not reducer has subscribers; Moved all ReducerEvent and ReducerArgs code into a single file (#10)

Co-authored-by: Steve <[email protected]>
@jdetter
Added force flag so that remove can be more easily used in CI (#22)
13040aa
Co-authored-by: Boppy <[email protected]>
@SteveGibsonCL Steve
@jdetter @cloutiertyler
Charp indexes (#14)
aee3eb6
* Changed C# reducer signature; Change reducer invocation method to return wether or not reducer has subscribers; Moved all ReducerEvent and ReducerArgs code into a single file

* Formatting, tests

* Clippy

* Removed union from C# codegen

* Tests

* Update crates/cli/src/subcommands/generate/csharp.rs

Co-authored-by: Tyler Cloutier <[email protected]>
Signed-off-by: John Detter <[email protected]>

* Removed duplicate code

* Lint

* Clippy

* CLIPPY

* Generating custom indexes for unique / primary keys

---------

Signed-off-by: John Detter <[email protected]>
Co-authored-by: Steve <[email protected]>
Co-authored-by: John Detter <[email protected]>
Co-authored-by: Tyler Cloutier <[email protected]>
@mamcx
Fix incomplete transaction bug (#21)
3d9e58e
* Fix incomplete transaction bug

* Clippy
@SteveGibsonCL Steve
Making C# reducer args classes partial (#28)
0ba0c8e
Co-authored-by: Steve <[email protected]>
@kim
SDK: avoid creating a nested tokio Runtime
efdd168
tokio runtimes cannot be nested, so we only create one if no ambient
context can be found and pass around a runtime handle for spawning
tasks.
@cloutiertyler
Added an info API route
96e2d7a
@drogus
[TypeScript] Add primary key annotation in TypeScript's autogen (#24)
d27d88c
@Centril
bindings: address review comments (#20)
073889f
* integrate jdetter's review

* address phoebe's comments

* improve errnos naming
@drogus
Add reducerEvent in callbacks (#23)
b221eec
@gefjon @jdetter
Rust client SDK consistent state views for callbacks (#16)
5b28cb6
Prior to this commit, callbacks in the Rust client SDK shared access to the global
ClientCache while running asynchronously. This meant that a long-running or delayed
callback could observe the ClientCache in a state later than the one that caused the
callback's invocation, and had no way to access the specific state for which it was
invoked.

With this commit, each `Invoke` message to the callback worker includes an
`Arc<ClientCache>` snapshot of the DB state when that callback was invoked. The callback
worker stores that state in a `thread_local`, and methods that inspect
tables (e.g. `TableType::iter`) read the state out of the `thread_local` when it is
present. This allows callbacks to observe exactly the state which caused their invocation,
never a later state, while maintaining the C#-like API where `ClientCache` access is based
on free functions or static trait methods.

---------

Co-authored-by: John Detter <[email protected]>
@jdetter
Fix Spacetime Identity Remove (#33)
1a4a5ac
* Fix bug and added a test

* Test updates

* Fix tests

---------

Co-authored-by: Boppy <[email protected]>
bfops added a commit that referenced this pull request Jul 17, 2025
@bfops @RReverser
Revert master to a stable state (#123)
e28849e
## Description of Changes
Revert `master` to the original state of this PR:
clockworklabs/com.clockworklabs.spacetimedbsdk#53.

We should prevent merging into `master` from now on, since the
repositories are now merged.

## API

 - [ ] This is an API breaking change to the SDK

*If the API is breaking, please state below what will break*


## Requires SpacetimeDB PRs
*List any PRs here that are required for this SDK change to work*

## Testing
I loaded a bitcraft world and ran around.

I used the versions listed here:
clockworklabs/com.clockworklabs.spacetimedbsdk-archive#57

---------

Co-authored-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: Zeke Foppa <[email protected]>
bfops added a commit that referenced this pull request Aug 7, 2025
@PuruVJ @bfops
Update readme for rc1.0 (#123)
2c4da19
* Update readme

* rc1

* Update packages/sdk/README.md

---------

Co-authored-by: Zeke Foppa <[email protected]>
bfops added a commit that referenced this pull request Aug 7, 2025
@bfops @RReverser
Revert master to a stable state (#123)
b2601f8
## Description of Changes
Revert `master` to the original state of this PR:
clockworklabs/com.clockworklabs.spacetimedbsdk#53.

We should prevent merging into `master` from now on, since the
repositories are now merged.

## API

 - [ ] This is an API breaking change to the SDK

*If the API is breaking, please state below what will break*


## Requires SpacetimeDB PRs
*List any PRs here that are required for this SDK change to work*

## Testing
I loaded a bitcraft world and ran around.

I used the versions listed here:
clockworklabs/com.clockworklabs.spacetimedbsdk-archive#57

---------

Co-authored-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: Zeke Foppa <[email protected]>
pull Bot pushed a commit to Mu-L/SpacetimeDB that referenced this pull request Sep 4, 2026
@rekhoff
Version bump 2.10.0 (clockworklabs#5868)
0c03654
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.10.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.10.0`)
- [x] BSL license file has been updated with the new date and version
number
pull Bot pushed a commit to age-rs/SpacetimeDB that referenced this pull request Sep 10, 2026
@jdetter
Fix broken links in C# SDK README (clockworklabs#5888)
b42765a
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Just fixing broken links in the C# SDK README. Issue submitted by
@CMinch via discord (#general).

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

None

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

1 - this is just docs

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

NA - just docs

---------

Signed-off-by: John Detter <[email protected]>
pull Bot pushed a commit to Abaso007/SpacetimeDB that referenced this pull request Sep 10, 2026
@rekhoff
Version bump 2.10.1 (clockworklabs#5884)
3068c7a
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.10.1

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.10.1`)
- [x] BSL license file has been updated with the new date and version
number
pull Bot pushed a commit to Abaso007/SpacetimeDB that referenced this pull request Sep 12, 2026
@clockwork-labs-bot
Require current PR mentions for workflow coordinator links (clockwork…
b0c01fb
…labs#5933)

# Description of Changes

Updates `workflow-coordinator` candidate PR selection so a historical
GitHub cross-reference is not enough by itself. The coordinator now
fetches each open candidate PR and requires its current body to still
mention the public PR being coordinated.

Supported public PR reference forms include:
- `SpacetimeDB#123`
- `clockworklabs#123`
- `https://github.com/clockworklabs/SpacetimeDB/pull/123`
- `https://github.com/clockworklabs/SpacetimeDB/issues/123`

The matcher also checks numeric boundaries so references to `clockworklabs#1234` do
not match public PR `#123`.

# API and ABI breaking changes

N/A

# Rollback safety impact

n/a

# Expected complexity level and risk

2. This is a narrow CI tooling change. The main risk is missing a valid
GitHub reference form in a candidate PR body, which would make the
coordinator fall back to the default internal-test source instead of
reusing the linked candidate.

# Testing

Added and ran `ci-workflow-coordinator` unit tests covering GitHub
reference formats and exact-number rejection for public PR mention
matching.

---------

Co-authored-by: clockwork-labs-bot <[email protected]>
rohanranjan0902 pushed a commit to rohanranjan0902/SpacetimeDB that referenced this pull request Sep 19, 2026
@rekhoff @rohanranjan0902
Version bump 2.10.0 (clockworklabs#5868)
1be5238
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.10.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.10.0`)
- [x] BSL license file has been updated with the new date and version
number
rohanranjan0902 pushed a commit to rohanranjan0902/SpacetimeDB that referenced this pull request Sep 19, 2026
@jdetter @rohanranjan0902
Fix broken links in C# SDK README (clockworklabs#5888)
9352950
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Just fixing broken links in the C# SDK README. Issue submitted by
@CMinch via discord (#general).

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

None

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

1 - this is just docs

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

NA - just docs

---------

Signed-off-by: John Detter <[email protected]>
rohanranjan0902 pushed a commit to rohanranjan0902/SpacetimeDB that referenced this pull request Sep 19, 2026
@rekhoff @rohanranjan0902
Version bump 2.10.1 (clockworklabs#5884)
3943098
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.10.1

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.10.1`)
- [x] BSL license file has been updated with the new date and version
number
rohanranjan0902 pushed a commit to rohanranjan0902/SpacetimeDB that referenced this pull request Sep 19, 2026
@clockwork-labs-bot @rohanranjan0902
Require current PR mentions for workflow coordinator links (clockwork…
1815817
…labs#5933)

# Description of Changes

Updates `workflow-coordinator` candidate PR selection so a historical
GitHub cross-reference is not enough by itself. The coordinator now
fetches each open candidate PR and requires its current body to still
mention the public PR being coordinated.

Supported public PR reference forms include:
- `SpacetimeDB#123`
- `clockworklabs#123`
- `https://github.com/clockworklabs/SpacetimeDB/pull/123`
- `https://github.com/clockworklabs/SpacetimeDB/issues/123`

The matcher also checks numeric boundaries so references to `clockworklabs#1234` do
not match public PR `clockworklabs#123`.

# API and ABI breaking changes

N/A

# Rollback safety impact

n/a

# Expected complexity level and risk

2. This is a narrow CI tooling change. The main risk is missing a valid
GitHub reference form in a candidate PR body, which would make the
coordinator fall back to the default internal-test source instead of
reusing the linked candidate.

# Testing

Added and ran `ci-workflow-coordinator` unit tests covering GitHub
reference formats and exact-number rejection for public PR mention
matching.

---------

Co-authored-by: clockwork-labs-bot <[email protected]>
pull Bot pushed a commit to sjoerd2025/SpacetimeDB that referenced this pull request Sep 22, 2026
@rekhoff
Version bump 2.11.0 (clockworklabs#5942)
dec8f4d
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.11.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.11.0`)
- [x] BSL license file has been updated with the new date and version
number
bfops pushed a commit to captain-mirage/SpacetimeDB that referenced this pull request Oct 5, 2026
@clockwork-tien
Update SpacetimeDB Twitter link in README (clockworklabs#6078)
6b6e0ab
# Description of Changes
- Update SpacetimeDB Twitter link in `README.md`

<!-- Please describe your change, mention any related tickets, and so on
here. -->

# API and ABI breaking changes
None.

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact
n/a

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

# Expected complexity level and risk
n/a

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] The link is corrected after the update
bfops pushed a commit to clockworklabs/com.clockworklabs.spacetimedbsdk that referenced this pull request Oct 7, 2026
@clockwork-tien
Update SpacetimeDB Twitter link in README (#6078)
f30d36c
# Description of Changes
- Update SpacetimeDB Twitter link in `README.md`

<!-- Please describe your change, mention any related tickets, and so on
here. -->

# API and ABI breaking changes
None.

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact
n/a

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
clockworklabs/SpacetimeDB#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

# Expected complexity level and risk
n/a

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] The link is corrected after the update
Penguinjanator pushed a commit to Penguinjanator/SpacetimeDB that referenced this pull request Oct 9, 2026
@rekhoff
Version bump 2.12.0 (clockworklabs#6109)
d70f100
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.11.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.12.0`)
- [x] BSL license file has been updated with the new date and version
number
Naz-Ovh pushed a commit to 0x-fork/SpacetimeDB-Official that referenced this pull request Oct 15, 2026
@rekhoff
Version bump 2.13.0 (clockworklabs#6289)
ef28653
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.13.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.13.0`)
- [x] BSL license file has been updated with the new date and version
number
bhargavaman pushed a commit to bhargavaman/SpacetimeDB that referenced this pull request Oct 17, 2026
@lisandroct
Fix infinite recursion in struct Type comparison (clockworklabs#6303)
7cdacda
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

Fix issue
[clockworklabs#6124](clockworklabs#6124).

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

No breaking changes.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

1/5

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

Nothing to test really.
github-merge-queue Bot pushed a commit that referenced this pull request Oct 21, 2026
@lisandroct @clockwork-labs-bot @aasoni
C# nested submodules (#6112)
06b6390
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

This PR adds support for nested C# submodules. Multiple independent
instances of the same module assembly can be mounted independently of
each other (for example: submodule `A` can mount submodule `C` and
submodule `B` can also mount it's own submodule `C`).
- Route tables, indexes, reducers, procedures, and views to the correct
module instance.
- Add `ctx.As` for passing an instance-selected context to functions
that receive context.
- Add instance-aware `ctx.From` query builders.
- Add context-aware immediate scheduling overloads for reducers and
procedures.
- Add nested namespace paths in generated C# client queries (for example
`ctx.Db.SubmoduleA.SubmoduleC.{...}`).

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

No breaking changes.
This PR extends what we added in
#5974 but everything
stays compatible. Before, if a submodule mounted a submodule, that would
throw an error; now it's supported.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

4/5. This PR touches a lot of things: it changes module composition,
generated accessors, function dispatch, runtime context handling, SQL
name generation...

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

I added generator diagnostics and snapshot coverage, a nested-module
host integration fixture, and client regressions targeting .NET 8 and
.NET 10. Coverage includes independent tables and caches, deep namespace
paths, dispatch, queries and joins, context selection, transaction
commit/rollback, and immediate scheduling.

 - [ ] Run C# generator tests on .NET 8 and .NET 10.
 - [ ] Run the namespace_csharp standalone integration tests.
- [ ] Run the C# client regression harness against the updated local SDK
packages.

---------

Signed-off-by: Alessandro Asoni <[email protected]>
Co-authored-by: clockwork-labs-bot <[email protected]>
Co-authored-by: Alessandro Asoni <[email protected]>
Naz-Ovh pushed a commit to 0x-fork/SpacetimeDB-Official that referenced this pull request Oct 27, 2026
@rekhoff
Version bump 2.14.0 (clockworklabs#6378)
e316653
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.14.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.14.0`)
- [x] BSL license file has been updated with the new date and version
number
Penguinjanator pushed a commit to Penguinjanator/SpacetimeDB that referenced this pull request Nov 3, 2026
@rekhoff
Version bump 2.14.1 (clockworklabs#6448)
33fcb45
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.14.1

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.14.1`)
- [x] BSL license file has been updated with the new date and version
number
brandenge pushed a commit to brandenge/SpacetimeDB that referenced this pull request Nov 4, 2026
@clockwork-tien
Nest subcommands in the CLI reference TOC (clockworklabs#6220)
31f8210
# Description of Changes
- Nest subcommands in the CLI reference TOC
- Fix squeezed step texts

### Screenshots
- Nest subcommands in the CLI reference TOC

Before:
<img width="1376" height="859" alt="screenshot2"
src="https://github.com/user-attachments/assets/1c251cfe-d441-44e1-98c8-9bdceba4b7a5"
/>

After:
<img width="1506" height="862" alt="screenshot"
src="https://github.com/user-attachments/assets/9654ba45-c94d-4568-899b-36f1452faca2"
/>

- Fix squeezed step texts

Before:

<img width="1379" height="862" alt="screenshot3"
src="https://github.com/user-attachments/assets/0ab746f7-8b6f-49a8-9c81-5b2b22f00aa6"
/>


After:

<img width="1380" height="861" alt="screenshot4"
src="https://github.com/user-attachments/assets/fba98877-14a1-4b25-b98b-e4ca057d6288"
/>



<!-- Please describe your change, mention any related tickets, and so on
here. -->

# API and ABI breaking changes
None.

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact
n/a

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

# Expected complexity level and risk
1

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] I tested and added screenshots
tsenart pushed a commit to perfloop-oss/SpacetimeDB that referenced this pull request Nov 6, 2026
@rekhoff
Bump version to 2.15.0 (clockworklabs#6503)
e3eb40b
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.15.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.15.0`)
- [x] BSL license file has been updated with the new date and version
number
enaut pushed a commit to enaut/SpacetimeDB that referenced this pull request Nov 6, 2026
@lisandroct @claude
Count only visible rows in clear_table (clockworklabs#6499)
ce1c8a2
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

This is a bug fix that the C# module unit-testing PR will depend on.

- `clear_table` no longer double-counts rows: `MutTxId::clear_table`
counted every committed row as removed, including rows the same
transaction had already deleted. Now it only counts rows newly marked
deleted, so the count equals the rows that were visible to the
transaction.

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

There's one behavior change: the module ABI `clear()` returns a
different value when the same transaction has already deleted some of
the table's committed rows. This is a fix (the old value was wrong: it
counted rows already deleted) but it's a change behavioral change
nonetheless. This affects every module language.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

1/5. Very minor change to `clear_table`.

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] New test to check that `clear_table` returns the right value.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Penguinjanator pushed a commit to Penguinjanator/SpacetimeDB that referenced this pull request Nov 11, 2026
@rekhoff
Bump version to 2.16.0 (clockworklabs#6548)
0b6f11a
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.16.0

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.16.0`)
- [x] BSL license file has been updated with the new date and version
number
kim added a commit that referenced this pull request Nov 17, 2026
@kim
Add module for tiered storage smoketests (#6580)
e5b14af
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include #123, SpacetimeDB#123,
#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [ ] <!-- maybe a test you want to do -->
- [ ] <!-- maybe a test you want a reviewer to do, so they can check it
off when they're satisfied. -->
TNB-AR pushed a commit to TNB-AR/SpacetimeDB that referenced this pull request Nov 19, 2026
@lisandroct @claude
Move query estimation out of core (clockworklabs#6500)
1a31c3a
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

`spacetimedb-test-datastore` (the in-memory datastore behind native
module unit tests) depended on all of `spacetimedb-core`. It needed only
three things from core: the engine's test DB helpers, row-limit
estimation, and core's `DeltaTx` wrapper for running SELECTs.
Building test-datastore therefore built the whole host. This PR makes it
depend on the engine instead, as groundwork for C# module unit testing,
which ships test-datastore as a native library.

- Estimation moves to `spacetimedb-query`: `check_row_limit`,
`estimate_rows_scanned` and `row_estimate` move unchanged from
`crates/core/src/estimation.rs` to `crates/query/src/estimation.rs`,
together with their tests.
- They sit behind a new `estimation` feature, because they need
`spacetimedb-engine` and `spacetimedb-datastore`. Crates that use
`spacetimedb-query` without the feature, such as `portable-datastore`,
stay engine-free.
- Core enables the feature and imports the functions from
`spacetimedb_query::estimation`. `spacetimedb_core::estimation` is
removed.
- test-datastore builds on `spacetimedb-engine` instead of
`spacetimedb-core`
- It takes the test DB helpers, errors and `SchemaViewer` from the
engine.
  - SELECTs run through a private `NoDelta` wrapper over `Tx`.

No behavior change: the same tables are created, and queries return the
same rows with the same row-limit checks.

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

`spacetimedb_core::estimation` is removed; the same functions are now at
`spacetimedb_query::estimation` (with the `estimation` feature). The
only users were inside core, and they're updated. No module-facing or
ABI changes.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

1/5. The functions move unchanged, and the dependency swap is
mechanical. The only new code is the ~90-line `NoDelta` wrapper, which
passes calls through or returns empty results, in the same shape as
core's `DeltaTx`.

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] The now moved estimation tests still pass.
- [x] Old tests still pass

Co-authored-by: Claude Opus 5.5 <[email protected]>
perfloop-agent pushed a commit to perfloop-oss/SpacetimeDB that referenced this pull request Nov 20, 2026
@rekhoff
Bump version to 2.16.2 (clockworklabs#6654)
c3e36c4
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.16.2

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.16.2`)
- [x] BSL license file has been updated with the new date and version
number
Penguinjanator pushed a commit to Penguinjanator/SpacetimeDB that referenced this pull request Nov 24, 2026
@rekhoff
Bump versions to 2.16.3 (clockworklabs#6672)
ba1976e
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

- Bumps version to 2.16.3

# API and ABI breaking changes

None

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

- 1 - this is just a version bump

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] Version number is correct (`2.16.3`)
- [x] BSL license file has been updated with the new date and version
number
euxarist pushed a commit to euxarist/SpacetimeDB that referenced this pull request Nov 25, 2026
@lisandroct @claude
C# module unit testing (clockworklabs#6501)
b304fd5
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

**Depends on:** clockworklabs#6499
and clockworklabs#6500

Adds unit testing for C# modules. Tests call reducers, procedures, views
and typed queries directly, in-process, against the real datastore.

```csharp
using var test = ModuleTestContext.Create(typeof(Module).Assembly);
test.Clock.Set(new Timestamp(1_000_000));
test.WithReducerTx(TestAuth.Internal(), ctx => Module.SendMessage(ctx, "Hello!"));
Assert.Equal("Hello!", Assert.Single(test.Db.Message.Iter()).Text);
```

- New `SpacetimeDB.Testing` NuGet package (only .NET 10).
- New Rust crate `crates/test-datastore-ffi`. A cdylib (publish = false)
that exposes test-datastore through a versioned C ABI. **Important:**
this was 100% implemented by LLMs.
- Changes to `Runtime` to . The net10 package now contains two
assemblies:
  - a managed assembly in lib/net10.0, used for compiling and testing;
- the WASM assembly in runtimes/wasi-wasm/lib/net10.0, which spacetime
build selects.

In the managed build, table and index handles go through the fixture's
transaction. A handle used after its transaction or fixture has ended
throws.
  - Package validation compares the public API of the two assemblies.
- HTTP request validation is now shared between them, with no behavior
change in WASM.
- `Codegen` emits the same WASM output when `SPACETIMEDB_WASM_AOT` is
defined (`spacetime publish` and `spacetime build`). When managed (test
environment) it generates no module of its own, instead it adds a global
using for the root module's namespace.
- Adds module testing to the `chat-console-cs` template.
- Updates `spacetime init` to copy the test package from a module only
for .NET 10 and sets the SpacetimeDB.Testing version to the Runtime
version.
- Updates documentation.
- CI and release (this were also fully implemented by an LLM):
- A new reusable `csharp-testing.yml` workflow builds the native bridge
and packs the packages.
- Release publishes `SpacetimeDB.Testing` from the same tested package
set as `SpacetimeDB.Runtime` and `SpacetimeDB.BSATN.Runtime`.

**Important note:** `test-datastore-ffi` was 100% implemented by LLMs.

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

No breaking changes. All the new stuff affects testing only.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a.

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

Possibly a 4/5.

- Runtime now has both managed and WASM builds selected by `#if`. A
mistake in a conditional block could change WASM output, and the
managed-only tests wouldn't notice. It's not the most robust thing in
the world. If it starts becoming a problem or a pain to maintain, I'll
have to think of something better.
- The FFI layer handles buffer ownership, handle lifetimes across
finalizers, and a worker thread per datastore.
- CI and release. The release now waits on a three-platform native build
matrix (Linux ARM, Linux x86 and Windows x86).

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

- [x] All new tests are passing
These cover the new Testing project, the release and packaging, the new
`test-datastore-ffi` and more...
- [x] Old tests are still passing

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
tsenart pushed a commit to perfloop-oss/SpacetimeDB that referenced this pull request Nov 26, 2026
@lisandroct
C# Async IDC (clockworklabs#6620)
6497b05
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

Follows Rust and TypeScript implementation of asynchronous
inter-database communication in C#.

- `spacetime generate` now generates C# module bindings, both from
`--bindings module --lang csharp` and from `spacetime.json`
dependencies.
- You can declare outbox tables with `[Table(Outbox =
typeof(Gw.Reducers.X))]` or `[Outbox(typeof(...)]` on an empty struct.
- You can remap parameters with `[Param]`.
- `[OnResult(typeof(Row))]` marks the reducer that gets each call's
result.
- Outbox tables are only allowed in the root assembly.

- To have schema parity with `module-test`, I also made it so a
single-column index declared on a unique column now becomes that
column's unique index, as in Rust.

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

One breaking change for C# modules that declare `[Index.BTree]` on a
`[Unique]` or `[PrimaryKey]` column: before the table had two accessors,
the column-named unique index and the declared index; now the one
declared accessor remains, and it is the unique index, with
`Find`/`Update`/`Delete` and no `Filter`.

# Rollback safety impact

<!--
If this PR is safe to roll back after deployment and has no impact on
the rollback safety of any prior PRs, write `n/a` below.

Otherwise, list every prerequisite PR that must be included in a release
before this PR can merge. This PR must not be deployed until each
prerequisite has been deployed and sufficiently observed or tested in
the live deployment that we are confident it will not be rolled back.
Supported forms include clockworklabs#123, SpacetimeDB#123,
clockworklabs#123, and GitHub PR URLs.

Consider whether this PR:
- newly writes to a previously introduced but unused ControlDB table or
reducer, system table, or on-disk data format; or
- clears, deletes, incompatibly changes, or renders unsupported a
previously available ControlDB table or reducer, system table, or
on-disk data format.
-->

n/a

# Expected complexity level and risk

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

3/5. It has the breaking change I mentioned above and modifies source
generation quite extensively.

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

I added:
- **Codegen.Tests snapshots and diagnostics:**
  - outbox tables declared with `[Table(Outbox)]` and with `[Outbox]`;
  - `[OnResult]`;
  - every new error;
  - outbox tables in a referenced assembly;
  - snake-case conversion checked against Rust's `convert_case`.
- **Codegen crate tests:**
  - a snapshot of the C# receiver bindings;
  - dependency-scoped type names;
  - the checked-in `module-test-cs/Receiver` bindings stay up to date.
- **CLI tests:** namespace defaults, overrides and rejections.
- **`module-test-cs`:** a port of `module-test`'s IDC fixtures. The
existing `ensure_same_schema` test checks its schema matches Rust's.
- **Smoketest:** a C# sender calls a Rust receiver, and checks:
  - plain and nested-type calls;
  - a rejected call reaching `OnResult` with its error;
  - one transaction calling both dependencies;
  - enums from both dependencies surviving NativeAOT.

- [x] All of the tests above are passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

13 participants

@drogus @kim @cloutiertyler @RReverser @jdetter @mamcx @Centril @SteveGibsonCL @gefjon @dbrinkmanncw @georgie-hope @kazimuth @aasoni
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.