Commit Graph

1181 Commits

Author SHA1 Message Date
Tyler Cloutier 00a8020b7a Merge branch 'master' into tyler/error-callback 2025-02-11 00:41:16 -05:00
Tyler Cloutier fe1c6d2044 dang it clippy 2025-02-11 00:38:02 -05:00
Tyler Cloutier 46883d568c No longer calling on_error for subscriptions that end due to normal disconnect 2025-02-10 22:24:06 -05:00
Noa 6a8375260f Refactor HTTP api to better adhere to REST guidelines (real) (#2243) 2025-02-11 02:59:45 +00:00
Zeke Foppa 6fc5ce44d7 CLI - Default config lists maincloud, not testnet (#2237)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-02-11 02:46:39 +00:00
Tyler Cloutier d191b8561b DBConnection -> DbConnection for the TypeScript API (#2230) 2025-02-11 02:14:02 +00:00
Tyler Cloutier 156cb10789 Removed unused import 2025-02-10 20:33:02 -05:00
Tyler Cloutier 8bd94e7208 Clippy 2025-02-10 20:20:18 -05:00
Tyler Cloutier 6a4b18d550 Fixed comment a bit more 2025-02-10 20:20:18 -05:00
Tyler Cloutier 1a8252057c Address review comments 2025-02-10 20:20:18 -05:00
Tyler Cloutier 12ab8b0208 Implemented error arguments in error callbacks 2025-02-10 20:20:16 -05:00
Noa cf6822541f Remove janky schema from http API (#2181) 2025-02-11 00:56:07 +00:00
james gilles 5159c79be0 Implement IComparable for Timestamp (#2239) 2025-02-10 21:34:36 +00:00
Jeffrey Dallatezza c2d40f86fb Add metrics for index inserts and deletes (#2236) 2025-02-10 21:34:02 +00:00
Noa d43548b1de Fix confusing csharp workload-install error message (#2238) 2025-02-10 20:31:11 +00:00
Ingvar Stepanyan 8503e93629 Use Into<String> instead of ToString (#2127)
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-02-10 15:05:01 -05:00
Phoebe Goldman aedc601145 Rename Address to ConnectionId (#2220)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-02-10 00:40:16 +00:00
Tyler Cloutier e54a28584a Standardized module names and added module-test-cs based on module-test (#2232) 2025-02-09 05:58:19 +00:00
Zeke Foppa 5ddd73ee20 CLI - Warn when using an unstable command (#2227)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-02-08 20:21:46 +00:00
Piotr Sarnacki 00c6aa0baf Add /health endpoint (#1989)
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-02-08 19:58:14 +00:00
Tyler Cloutier 249910b079 Implemented the new EventContext types in Typescript codegen (#2224) 2025-02-08 18:00:34 +00:00
joshua-spacetime f0361525bd Error handling for incremental evaluation (#2223) 2025-02-07 23:31:27 +00:00
james gilles 9c92edd861 Rework event contexts in C# SDK (#2226) 2025-02-07 21:29:16 +00:00
Phoebe Goldman 91327d585e Make Timestamp a special SATS type (#1836)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-02-07 18:17:53 +00:00
Jeffrey Dallatezza e10273f16d Add metrics for fuel usage and reducer runtime totals. (#2217) 2025-02-07 16:51:24 +00:00
Mazdak Farrokhzad b50b6841f1 Add direct indices to datastore (#2221) 2025-02-07 01:06:38 +00:00
Zeke Foppa a2a1b5d9b2 CLI - Clarify helptext for spacetime login (#2219)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-02-06 21:47:52 +00:00
Zeke Foppa 09fe2756b8 CLI - Better module language inference (#2218)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-02-06 21:24:00 +00:00
Noa e6775eb93a Finish spacetimedb-update functionality (#2126) 2025-02-06 20:32:46 +00:00
joshua-spacetime 75ab91d36d Handle optimization and execution errors on initial subscription (#2213) 2025-02-06 19:14:44 +00:00
Jeffrey Dallatezza e171a01cd8 Register data size metrics for standalone. (#2216) 2025-02-06 18:41:16 +00:00
Mario Montoya 02a61b26bc Fix multi-column index scan (#2208) 2025-02-06 15:29:03 +00:00
Mazdak Farrokhzad 1a3f3af255 add direct indices, except for in datastore & C# (#2205) 2025-02-06 00:40:46 +00:00
Ingvar Stepanyan 88090ec73a Rewrite C# codegen to the new Lang infra + fixes (#2184)
Co-authored-by: James Gilles <jameshgilles@gmail.com>
2025-02-05 22:07:45 +00:00
Mazdak Farrokhzad 25d74091c3 Make MutTxId::update really idempotent wrt. TxData (#2212) 2025-02-05 20:40:02 +00:00
Phoebe Goldman 2d90657dbc Rust client SDK: rework EventContext into multiple types (#2189) 2025-02-05 00:50:55 +00:00
Phoebe Goldman 3a126bca5a Rust SDK: remove anyhow, use thiserror w/ structured error types (#2169) 2025-02-05 00:01:37 +00:00
joshua-spacetime e4e36ec478 Return errors for invariant violations during query planning (#2209) 2025-02-04 21:58:14 +00:00
Noa fbb5c9ecdc Fix ctrl-c handling (#2200) 2025-02-04 20:08:22 +00:00
joshua-spacetime ad36d13335 Update sql literals to match spec (#2196) 2025-02-04 15:35:02 +00:00
Mazdak Farrokhzad 2fc0361d68 Match datastore semantics more closely: btree_scan => index_scan_range (#2203) 2025-02-04 00:34:33 +00:00
Phoebe Goldman ad49494e85 prop_assume!(a != b) in some tests to fix spurious failures (#2199) 2025-02-03 15:33:03 +00:00
Phoebe Goldman d839657008 Data size SKU for billing (#2098) 2025-02-03 14:15:30 +00:00
Mazdak Farrokhzad 7937784a8d InstanceEnv: make the inspect_err closures cold (#2197) 2025-01-31 18:40:14 +00:00
Jeffrey Dallatezza e2ffc07997 Implement incremental subscriptions on the client (#2111)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-01-31 18:02:50 +00:00
joshua-spacetime 6aa75bd0eb Track compute metrics for sql dml with new engine (#2190) 2025-01-31 17:59:33 +00:00
Zeke Foppa 382db47f9b CLI - Just-in-time login flow (#2158)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-31 17:45:44 +00:00
Mazdak Farrokhzad 6f20597600 Make check_and_insert & find_old_row and friends do less checks (#2192) 2025-01-31 15:00:19 +00:00
Noa d4a905d355 Fix CI on master (#2193) 2025-01-30 21:00:03 +00:00
Noa 986354e2f2 Log errmsg if reducer fails (#2186) 2025-01-29 23:39:53 +00:00