Commit Graph

1323 Commits

Author SHA1 Message Date
Phoebe Goldman 87fc8778a6 insta review for codegen 2025-02-06 17:35:29 -05:00
Phoebe Goldman 6389d85d36 Remove more Address references
Incl. two files that were not reachable and seemed severely bit-rotted:
- `tracelog.rs`
- `reducer.rs`

The latter I myself forgot to delete in a past PR;
the former I do not know about, but it's not part of our project,
it wouldn't compile, and I don't see any reason to keep it in our repo.
2025-02-06 17:31:40 -05:00
Phoebe Goldman 7271a700a2 Make Rust client SDK tests pass 2025-02-06 15:19:48 -05:00
Phoebe Goldman c09fa04a7f First part of renaming Address to ConnectionId
also:

- removed `impl default for connectionid`, i want to be explicit about using zero.
- renamed or re-documented many uses of the word "address" which were actually referring
  to the database identity, despite the concept of the database identity not having
  changed in this PR.
- removed client address query param from call HTTP API
- added warn log to connection id param in subscribe HTTP API so users don't do it
- removed `client_address` from `MetadataFile`. It seemed to be unused, and I have no clue
  what it would possibly be for.
- rust SDK is still supplying connection id to subscribe. this needs to change, but
  inconvenient.
- C# `CallerIdentity` renamed to `Sender`, per tyler's request

Expected to be in a very broken state right now, but I'm stepping away for a moment and
wanted to save what I had so far.
2025-02-06 14:59:58 -05: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
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