Phoebe Goldman
7dfcdd89eb
Merge branch 'master' into phoebe/thiserror
2025-02-03 10:57:48 -05: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
8cc46d00e2
insta
2025-02-03 09:47:19 -05:00
Phoebe Goldman
bb7fd069df
Hide Error::Ws, combine disconnected-ey errors, hint about re-genning bindings
2025-02-03 09:28:04 -05:00
Phoebe Goldman
6645c45dfa
Reorg sdk::Error to hide non-recoverable errors
...
Per out-of-band suggestion from @jsdt, rework the `Error` type
so that many former variants are now under `Error::Internal(InternalError)`,
with `InternalError` not exposing its contents except via `std::error::Error`.
2025-02-03 09:28:04 -05:00
Phoebe Goldman
f809422ba8
Rust SDK: remove anyhow, use thiserror w/ structured error types
...
Our use of `anyhow` in the Rust SDK was originally due to my being lazy.
I figured I'd kick the can on writing actual error types as long as possible,
and it turns out now's the time that's no longer possible,
because while working on a follow-up I needed to `clone` an error,
and `anyhow::Error: !Clone`.
This commit removes the Rust SDK's use of `anyhow`,
replacing it with a `thiserror`-annotated `enum Error`.
This resulted in essentially simple mechanical changes to a lot of the SDK code,
and also to the codegen, resulting in a truly enormous diff.
2025-02-03 09:27:59 -05: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
joshua-spacetime
4b4484a3aa
Track query and datastore cpu usage metrics ( #2140 )
2025-01-29 21:30:41 +00:00
Noa
696fa45847
Meter wasm memory usage ( #2187 )
2025-01-29 18:03:47 +00:00
Mazdak Farrokhzad
6630a90ee1
Switch DeleteTable impl to one based on FixedBitSet ( #2183 )
2025-01-29 17:15:17 +00:00
Noa
293aebaef9
Bump to Rust 1.84 ( #2001 )
2025-01-28 23:11:29 +00:00
Mazdak Farrokhzad
5b5a0a6515
Cache whether a Table is a scheduler table, avoiding fetching the schema ( #2141 )
2025-01-28 19:57:15 +00:00
Zeke Foppa
20ab595b29
Bump version to 1.0.0-rc4 ( #2177 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-01-27 22:54:36 +00:00
Tyler Cloutier
a81b6c2cd5
Adds improvements & new crates to publish-crates.sh ( #2173 )
...
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
2025-01-27 22:54:14 +00:00
Mazdak Farrokhzad
afdc0d67dd
Add the update ABI ( #2137 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-01-27 19:38:18 +00:00
Jeffrey Dallatezza
729dbb1495
Remove the client from subscription manager on a disconnect ( #2170 )
2025-01-24 22:04:15 +00:00
Tyler Cloutier
85ffb2838c
Fixed issues with the Rust module quickstart-chat README.md ( #2154 )
...
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com >
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
2025-01-24 18:24:14 +00:00
james gilles
988ec0cdd4
Fix ScheduleAt in C# ( #2163 )
2025-01-23 19:59:38 +00:00
Phoebe Goldman
d171b44a89
Don't create indexes during bootstrapping; wait until after replay ( #2161 )
2025-01-23 19:41:39 +00:00
Jeffrey Dallatezza
b85c3b5ab6
Fix sending of subscription errors. ( #2166 )
2025-01-23 19:33:27 +00:00
Noa
179993c4ef
Fix autocomplete issues in bindings crate ( #2157 )
2025-01-23 18:31:40 +00:00
Ingvar Stepanyan
972d775840
Fix & test row deletion API ( #2146 )
...
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
2025-01-23 00:53:15 +00:00
joshua-spacetime
149ff9760c
Query execution updates for cpu metrics ( #2130 )
2025-01-22 23:29:53 +00:00
Kim Altintop
ea05e108d7
snapshot: Invalidate newer snapshots on creation ( #2143 )
2025-01-22 20:36:05 +00:00
Kim Altintop
73fe4ef2f7
Set tracing static level for binaries only ( #2144 )
2025-01-22 20:13:52 +00:00
Mazdak Farrokhzad
a1573af5a1
Fix unique index + MutTxId::insert not un-deleteting ( #2156 )
2025-01-22 09:51:34 +00:00
Noa
7c6af12b84
Use actual types for api responses, not ad-hoc json!() objects ( #1931 )
2025-01-21 03:13:22 +00:00
Kim Altintop
43d870d24c
core: Make SNAPSHOT_FREQUENCY pub ( #2135 )
2025-01-20 07:27:36 +00:00
Noa
cf6ac18eaf
Lookup lifecycle reducers by lifecycle flag, not by name ( #2132 )
2025-01-17 23:21:52 +00:00
Mazdak Farrokhzad
6f428f3afb
Make the key of Table.indexes be IndexId ( #2124 )
2025-01-17 18:42:54 +00:00
Zeke Foppa
a54ea3a391
CLI - Replace clippy with a manual check ( #1928 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-01-17 00:03:11 +00:00
Noa
e47a8d796f
Run smoketests on windows in ci ( #2129 )
2025-01-16 21:43:38 +00:00
Noa
c24042609e
Split binaries ( #2011 )
2025-01-15 18:45:14 +00:00
Phoebe Goldman
537faa4a95
Rust SDK: with_credentials -> with_token ( #2118 )
2025-01-14 23:53:55 +00:00
Phoebe Goldman
dc0bdce324
Rework RLS macro for amended syntax ( #2105 )
...
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org >
Co-authored-by: joshua-spacetime <josh@clockworklabs.io >
2025-01-14 21:21:35 +00:00
Zeke Foppa
b398cda24b
Add new crates to publish-crates.sh script ( #2125 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-01-14 20:58:12 +00:00
Kim Altintop
c5f4c8bc5c
commitlog: Make offset index usable externally ( #2108 )
2025-01-14 18:56:08 +00:00
Mazdak Farrokhzad
a4dc762927
Fix wording in ReplayVisitor::visit_insert ( #2123 )
2025-01-14 14:56:18 +00:00
Phoebe Goldman
59a8b3f989
Add SubscriptionBuilder::subscribe_to_all_tables ( #2109 )
2025-01-13 22:00:22 +00:00
Mazdak Farrokhzad
5ad2a2efe8
add signature of datastore_update_bsatn host call ( #2102 )
2025-01-13 16:41:39 +00:00
joshua-spacetime
3798f468a6
query engine integration ( #2074 )
2025-01-11 00:01:24 +00:00
Phoebe Goldman
44d7b76d29
Fix defining multiple tables on the same struct in Rust modules ( #2103 )
2025-01-10 01:58:20 +00:00
james gilles
208e6b933f
Make automatic migrations deterministic ( #2104 )
2025-01-09 22:48:21 +00:00