Commit Graph

3186 Commits

Author SHA1 Message Date
joshua-spacetime 921170816c query rewriter (#2031) 2024-12-12 22:08:43 +00:00
Noa cdfa7aaf13 Fix spacetime server clear (#2055) 2024-12-12 18:54:09 +00:00
Zeke Foppa c6a003fda0 Upgrade to 1.0.0-rc1 (#9)
* upgrade to 1.0.0-rc1

* fixed compilation errors

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
2024-12-12 13:27:32 -05:00
John Detter 8bacbd74e5 C#/Unity SDK Testsuite (#3)
* First pass of moving C# SDK Testsuite here

* Keeping scene name as Main

* Don't use local reference for C# package

* Update client/Assets/Scripts/GameManager.cs

* Several fixes, testsuite passing

* This can be merged post 1.0.0-rc1

Small fix

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-12-12 12:08:31 -05:00
Ingvar Stepanyan 9b7f20cedb Migrate C# and Unity tests to the new API (#194)
## Description of Changes

Counterpart to https://github.com/clockworklabs/SpacetimeDB/pull/2033.

Also updated test settings to make sure that sum type variants
implemented via subclassing are shown as expected.

## 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*

## Testsuite
*If you would like to run against a specific SpacetimeDB branch in the
testsuite, specify that here. This can be a branch name or a link to a
PR.*

SpacetimeDB branch name: master

## Testing
*Write instructions for a test that you performed for this PR*

- [ ] Describe a test for this PR that you have completed
2024-12-12 12:03:44 -05:00
Jeffrey Dallatezza 3782f884e4 Fix some places where trying to parse an empty string could panic. (#2051) 2024-12-11 01:16:47 +00:00
Kim Altintop 31698618a8 commitlog: Provide segment_len method for segments (#2042) 2024-12-10 10:43:39 +00:00
james gilles b9b36d5de1 Fix declaration order of ScheduleAt in C# (#2007)
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
2024-12-10 05:07:48 +00:00
Mazdak Farrokhzad e103971e29 Avoid a multimap when the index is unique (#2044) 2024-12-09 22:53:04 +00:00
Mazdak Farrokhzad d8154e7e8b Allocation pool the chunked iters in InstanceEnv (#2038) 2024-12-09 18:42:51 +00:00
Mazdak Farrokhzad 96a3871646 move unique constraint checking until after optimistic insertion (#2037) 2024-12-06 12:14:14 +00:00
Mazdak Farrokhzad 6f22261859 Fix subscription benchmarks by fixing create_table_for_test_with_the_works (#2027) 2024-12-05 13:12:09 +00:00
Phoebe Goldman d9de1e3943 Rust SDK: no more reducer args structs (#2036) 2024-12-04 17:00:27 +00:00
Ingvar Stepanyan 3902f7562e Migrate C# client-side reducer enum to the new syntax (#2033) 2024-12-04 16:41:16 +00:00
Zeke Foppa a5feed08b0 Remove IO macros (#1929)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-12-03 19:39:24 +00:00
Mazdak Farrokhzad 03cf2f4b4b Add Static(Bsatn)Layout::deserialize_row_into (#2032) 2024-12-03 16:06:31 +00:00
Mazdak Farrokhzad 586929cf7c Add static_bsatn_validator & validate_bsatn (#2029) 2024-12-03 15:26:08 +00:00
Mazdak Farrokhzad bc71e25ad8 Add Layout.fixed: bool for a fast path in eq_row_in_page & row_type_visitor (#2025) 2024-12-03 15:07:26 +00:00
Mazdak Farrokhzad 6aa08ce8f0 Decide that BSATN byte that ain't 0 or 1 is not a valid AV::Bool (#2026) 2024-11-29 23:44:51 +00:00
Phoebe Goldman 80dff96723 Rust SDK: Actual client-side indices for unique constraints (#1909) 2024-11-29 18:29:08 +00:00
Mazdak Farrokhzad 1992b8ec2e Speed up state_view::Iter by special casing committed-with-no-deletes (#2003) 2024-11-28 15:50:56 +00:00
Mario Montoya 7f22d88694 CLI should not depend on rustup (#1996) 2024-11-26 16:05:05 +00:00
Phoebe Goldman 0557d0ef4e Style guide for our docs (#110)
* WIP style guide for our docs

* More style

* Style: tutorials

* Add Tyler's suggestion re: avoiding passive voice

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Fill in grammar todos

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2024-11-26 10:57:41 -05:00
Phoebe Goldman 8075567da4 Remove problematic debug assertions (#2010) 2024-11-26 03:42:02 +00:00
Noa 94c66c97da Don't autogen schedule fields (#1894)
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2024-11-22 18:39:39 +00:00
Shubham Mishra f04d2817d0 create commitlog dir in fs::New (#2006) 2024-11-21 15:47:40 +00:00
Kim Altintop 125ab58388 commitlog: Fix set_epoch (#2005) 2024-11-21 13:34:10 +00:00
james gilles c657b4f088 Rip useless names out of RawDef (#1918) 2024-11-20 21:02:00 +00:00
james gilles dee297adfb C# endianness fixes (#1964) 2024-11-20 18:23:30 +00:00
Jeffrey Dallatezza 3f0e1524d5 Fix flaky oidc tests (#2000) 2024-11-20 15:53:41 +00:00
Zeke Foppa 3054a7f530 Bump version and update DLLs (#192)
## Description of Changes
Cherrypicking the changes from
https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/pull/190,
which were merged directly to `master` (by me, without thinking it
through).

## API

Fixes API breakage related to endianness.

## Requires SpacetimeDB PRs
https://github.com/clockworklabs/SpacetimeDB/pull/1964

## Testsuite
SpacetimeDB branch name: master

## Testing
CI only. These changes have already been released.
2024-11-19 22:18:44 +01:00
Shubham Mishra 9c64d1fbd1 Durability Provider (#1864)
Signed-off-by: Shubham Mishra <shubham@clockworklabs.io>
Co-authored-by: Kim Altintop <kim@eagain.io>
2024-11-19 09:06:52 +00:00
Ingvar Stepanyan ac1d222c30 Preserve reducer order in schema conversion (#1987)
Signed-off-by: Ingvar Stepanyan <me@rreverser.com>
Co-authored-by: james gilles <jameshgilles@gmail.com>
2024-11-16 01:32:57 +00:00
Ingvar Stepanyan a7a1d36535 Run and test benchmarks against C# as well (#1965)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2024-11-15 17:27:11 +00:00
joshua-spacetime 6dcb5252b0 test: No divide by zero for row estimation of empty index (#1986) 2024-11-14 11:51:57 +00:00
Kim Altintop 33c4aab87e core: Make NDV non-zero (#1985) 2024-11-14 11:13:50 +00:00
Jeffrey Dallatezza cccadd10ee Clean up auth related code with traits, and reuse existing key generation code. (#1988) 2024-11-12 21:22:20 +00:00
Mario Montoya 2976593126 Update run_standalone_temp.sh to the new folder specification (#1990) 2024-11-12 17:11:26 +00:00
Noa 97bff92efb Optimize integrate_generated_columns (#1895) 2024-11-12 16:36:50 +00:00
Mazdak Farrokhzad 57fb9ad0bc Light updates test: Ensure subcriptions have been applied before calling reducers (#1979) 2024-11-12 14:45:51 +00:00
Zeke Foppa 5bf5b2ba09 Bump C# versions to -hotfix1 (#1984)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-12 04:25:10 +00:00
Noa f136670420 Directory structure impl (#1879)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
2024-11-12 04:24:43 +00:00
Ingvar Stepanyan 15b3e0647d NFC: Remove unused fsync param in benchmarks (#1981) 2024-11-11 18:38:14 +00:00
Kim Altintop e4fcb72432 commitlog: Small tweaks (#1978) 2024-11-11 13:24:21 +00:00
Zeke Foppa a432c62e53 CLI - Fix stale helptext instructing users to use spacetime identity (#1954)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:58:01 +00:00
Zeke Foppa 7f9903dcae CLI - Remove unused default_identity stuff (#1969)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:37:12 +00:00
Zeke Foppa fdb1a7115d CLI - Tell users if they're already logged in (#1955)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:37:09 +00:00
joshua-spacetime ce58e26795 refactor: encode type info implicitly in the physical plan (#1938) 2024-11-08 20:14:22 +00:00
james gilles dd73f76346 Clean up benchmark .spacetime in CI (#1968) 2024-11-08 19:51:48 +00:00
Mazdak Farrokhzad e9e5a97c67 Add test for light update (#1953) 2024-11-08 18:21:31 +00:00