Commit Graph
71 Commits
Author SHA1 Message Date
Ibrahim ElkamaliandEffect Bot ded4ccfb04 Fix SqlClient.withoutTransforms keeping query name transforms (#10454)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-11-10 13:45:46 +13:00
effect-bot 68e628d43c fix(sql): skip savepoint release after an ancestor ends during rollback (#10508) 2026-11-10 13:06:26 +13:00
Jon PowersandEffect Bot a26ad6397c Fail statements from a fiber that outlives its transaction (#10433)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-11-10 12:06:05 +13:00
Tim 2a4ce2e363 Make load-sensitive Data, sql-d1 and sqlite-node tests robust under load (#10281) 2026-11-02 03:09:59 +00:00
effect-botandTim 2cb498e079 Fix SQLite connection leak when a queued transaction is interrupted (#9962)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-28 15:48:48 +13:00
Tim Smart b4e8559042 Use non-empty insert rows in SqlResolver batch tests
The tests added on main in #9951 pass plain arrays to sql.insert, which requires a non-empty array on v4/next-minor since #9453.
2026-10-28 15:48:48 +13:00
Tim 7217410930 Add encrypted remote compaction to the event log (#9571) 2026-10-28 15:48:48 +13:00
Sebastian LorenzandTim Smart 8f236683ad Replace effect/Crypto with per-family effect/crypto modules (#9126)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-28 15:48:48 +13:00
ViacheslavandEffect Bot 1194a4c48e Fix sql.insert and sql.updateValues crashing on an empty list (#9453)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-28 15:48:48 +13:00
effect-bot 08e338ea20 Split SQL event journal batch statements below parameter limits (#10014) 2026-10-28 09:39:12 +13:00
8450ad5be7 Recognize sqlite-do transactions in SqlResolver batches (#9951)
Co-authored-by: Marve10s <igrimanigroman@gmail.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-26 23:19:27 +00:00
effect-botandTim Smart 1b740862e3 Keep typed SQL errors when SQLite rolls back a transaction itself (#9599)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 09:03:09 +00:00
effect-bot 88bc68001c Fail SQL migrations with a typed MigrationError instead of a defect (#9598) 2026-10-20 21:24:04 +13:00
Tim 561d2a1ddf Generate EventLog entry ids with a hybrid logical clock (#9521) 2026-10-19 01:22:43 +00:00
Tim 8fe2dcc213 EventLog: order conflicts by entry id across journals and server (#9520) 2026-10-19 13:46:41 +13:00
Tim 0c8b446709 EventJournal: track remote sources per entry instead of per remote (#9482) 2026-10-18 03:28:56 +00:00
Tim 6af3a47d5b Acknowledge event log writes and stop echoing them to the writer (#9477) 2026-10-18 01:45:32 +00:00
Tim b04191b294 Encrypt event log entries in batches (#9479) 2026-10-18 13:39:57 +13:00
Tim 84aeede040 Skip decrypting known remote entries in encrypted EventLog replay (#9478) 2026-10-18 12:12:36 +13:00
Tim 7282d5f1bc Add upload checkpoints and secondary indexes to SqlEventJournal (#9472) 2026-10-17 23:05:08 +00:00
Tim e8482cad96 Index unencrypted server conflict detection per batch (#9476) 2026-10-18 11:37:55 +13:00
Tim 5a8e248154 Fix duplicate encrypted SQL event broadcasts (#9469) 2026-10-17 21:29:32 +00:00
Tim aac8d21911 Add EventLog.writeMany and monotonic entry ids (#9452) 2026-10-17 21:11:37 +13:00
Tim 05c3409559 Replay remote EventLog batches in one journal callback and handler transaction (#9448) 2026-10-17 20:32:55 +13:00
Tim 4067e64287 Batch EventLog replay reactivity invalidations per remote batch (#9445) 2026-10-17 19:35:12 +13:00
effect-bot f0e941ee2f Fix out-of-order unencrypted event-log replication (#9225) 2026-10-15 09:40:03 +00:00
effect-bot e9c842bc29 Fix SQL persistence expiry checks for reused reads (#9240) 2026-10-15 08:48:34 +00:00
effect-bot da33572776 Fix remote SQL journal conflicts and failed-write persistence (#9233) 2026-10-15 21:17:02 +13:00
effect-bot c462214483 Test SQLite statement reuse after failed-COMMIT cleanup retry (#9134) 2026-10-14 14:37:42 +13:00
211ea2efec fix(sqlite-node): support node:sqlite without enableLoadExtension (#9070)
Co-authored-by: hxx <hxx0215@gmail.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-13 10:21:01 +13:00
Tim eebdf25f99 Batch SQLite Node Resolver fixture inserts (#9028) 2026-10-12 09:16:08 +13:00
effect-botandTim Smart 7803e51e94 Hold the shared SQL connection for the whole statement (#8927)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-08 20:37:03 +00:00
Tim 48ed32f846 Add delay option to PersistedQueue.offer (#8907) 2026-10-09 00:58:21 +13:00
234672ba86 fix(sqlite-node): do not cache failed statement preparations (#8716)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-04 20:05:34 +13:00
Dan van der MerweandTim Smart 7336154e2c fix(sqlite-node): return rows from recompiled statements (#8688)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-04 14:21:50 +13:00
Tim e5930bd1f8 Fix SQLite WAL initialization contention and typed setup errors (#8708) 2026-10-04 13:19:30 +13:00
Tim 2a8f5c748d Clean up SQLite transactions after failed commits (#8529) 2026-09-25 10:50:55 +00:00
Tim 1b4461ec3a Move unstable Effect modules to top-level paths (#8354) 2026-09-22 13:06:30 +12:00
Tristan ZajoncandTim Smart 106af64cf7 fix(sql-pg): release completed transaction savepoints (#8308)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-20 12:50:58 +12:00
Tim 4f73f9e0bd fix(persistence): parameterize persistence lookup keys (#8187) 2026-09-11 18:41:24 +12:00
Giulio Canti c8349ede1a refactor(Schema): rename transformOrFail to transformEffect (#8143) 2026-09-09 11:26:07 +02:00
Kit LangtonandTim e11be41dfc fix(SqlModel): retain insert result decoding services (#7904)
Co-authored-by: Tim <hello@timsmart.co>
2026-09-03 22:57:27 +00:00
Kit LangtonandTim Smart a2c1ce62f0 fix(SqlEventJournal): preserve callback error identity (#7844)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 11:27:37 +00:00
Kit LangtonandTim Smart 4daa260526 fix(sql-sqlite-node): capture unprepared statement preparation errors (#7722)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 16:33:41 +12:00
Denys Kashkovskyi 561296283c Fix readonly SQLite transactions (#7484) 2026-08-26 21:36:19 +00:00
Tim 02a5146d69 Skip empty remote journal write callbacks (#7424) 2026-08-24 01:29:53 +00:00
Tim f99c508a09 Fix SQLite persisted queue delivery (#7266) 2026-08-16 19:46:19 +12:00
ccae60e5ed fix(sql): propagate a failed transaction begin as a typed error (#7236)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-08-14 11:08:38 +12:00
Tim c30386df4b Fix SQLite client locking defaults (#7162) 2026-08-10 10:07:14 +12:00
Sebastian LorenzandTim Smart deed5fbdc9 Fix batched encrypted event records reuse per-record randomization metadata (#7124)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-08-08 01:18:05 +00:00