Commit Graph
11 Commits
Author SHA1 Message Date
joshua-spacetimeandGitHub b53d3afc70 Move index scan tests into benchmark job (#5298)
# Description of Changes

Moves `test_index_scans` to its own job that uses the same runner as the
keynote benchmark.

This test had several issues:
1. It was a performance regression test that didn't run in an isolated
environment because it was just a test.
2. It measured timings by search the module log for `ns`(nanosecond) and
`us`(microsecond) suffixes

As a result it would occasionally flake.

Now it runs on dedicated hardware in an isolated environment, so we
shouldn't see anymore flakes.

# API and ABI breaking changes

N/A

# Expected complexity level and risk

1

# Testing

N/A
2026-06-13 02:56:06 +00:00
e4098f98d9 Rust: macro change name -> accessor (#4264)
## Description of Changes

This PR primarily affects the `bindings-macro` and `schema` crates to
review:

### Core changes

1. Replaces the `name` macro with `accessor` for **Tables, Views,
Procedures, and Reducers** in Rust modules.
2. Extends `RawModuleDefV10` with a new section for:

   * case conversion policies
   * explicit names
    New sections are not validated in this PR so not functional.
3. Updates index behavior:

* Index names are now always **system-generated** for clients. Which
will be fixed in follow-up PR when we start validating RawModuleDef with
explicit names.
   * The `accessor` name for an index is used only inside the module.


## Breaking changes (API/ABI)

1. **Rust modules**

   * The `name` macro must be replaced with `accessor`.

2. **Client bindings (all languages)**

* Index names are now system-generated instead of using explicitly
provided names.


**Complexity:** 3

A follow-up PR will reintroduce explicit names with support for case
conversion.

---------

Co-authored-by: rekhoff <[email protected]>
Co-authored-by: clockwork-labs-bot <[email protected]>
Co-authored-by: clockwork-labs-bot <[email protected]>
2026-02-16 15:23:50 +00:00
b9d30991f1 Fix remaining LICENSE files (#3193)
# Description of Changes

Apparently, I missed several license files in #3002. I'm not sure what
method I was using to find them, but apparently it was insufficient.

**This replaces all empty `LICENSE` files with an explicit (symlink to)
BSL license, and all apache licenses with symlinks to the root apache
license.** This PR does not intentionally change any license terms, so
if you see one that changed, **it's a mistake**.

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

```bash
$ find . -name '*LICENSE*' -type f | grep -v '\.meta$'
./crates/sqltest/standards/LICENSE # this one is an external library that we are not allowed to re-license
./LICENSE.txt # this is the root license
```

---------

Co-authored-by: Zeke Foppa <[email protected]>
2025-08-22 19:36:47 +00:00
Mario MontoyaandGitHub ee7970e752 Add .cargo/config.toml to spacetime init Rust project with default target to wasm (#2328) 2025-03-26 14:34:32 +00:00
Mario MontoyaandGitHub 04fd294627 Add missing LICENSE (#2319) 2025-02-28 14:32:59 +00:00
Mario MontoyaandGitHub 32e24b4095 Add README.md to all modules in SpacetimeDB/modules describing their usage (#2282) 2025-02-19 17:03:34 +00:00
NoaandGitHub 53758420ec Rust module API rework (#1660) 2024-09-27 20:09:36 +00:00
14e509859e Stopwatch and reducer rng (#1681)
Signed-off-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: Steve Boytsun <[email protected]>
Co-authored-by: Ingvar Stepanyan <[email protected]>
2024-09-18 10:19:32 +00:00
3530498b88 Switched table names to singular (#1684)
Co-authored-by: Phoebe Goldman <[email protected]>
2024-09-11 11:11:51 -04:00
NoaandGitHub 8daab8e20f Impl macro rework (#1314) 2024-09-09 23:30:31 +00:00
joshua-spacetimeandGitHub 47e787877f test(1099): Multi-column index selection through query macro (#1001) 2024-03-21 23:33:13 +00:00