Commit Graph
107 Commits
Author SHA1 Message Date
effect-bot e6a1d6f567 Fix sql-pg span metadata for connection URLs (#10500) 2026-11-10 12:13:37 +13:00
effect-bot 076b2c07ae Fail only the query when an unregistered PostgreSQL value cannot be decoded (#10422) 2026-11-10 11:44:28 +13:00
effect-bot 06461da37a Fix PostgreSQL transport retirement after scope release (#10473) 2026-11-10 11:36:51 +13:00
Ori ErelandEffect Bot 075892d51c Keep typed SQL errors when the server ends a PgClient session in a transaction (#10291)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-11-03 12:43:58 +13:00
effect-bot e7a6ea43fe Trace SQL transaction control statements and connection wait (#10213) 2026-11-02 11:54:33 +13:00
effect-bot 6b70da9d05 Remove duplicate tests and speed up slow test files (#10214) 2026-10-31 19:45:17 +13:00
effect-botandTim 52f4e4224c Roll back PgClient transactions whose prepared statements went missing (#10157)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-29 22:55:57 +00:00
effect-bot 9f47220ed7 Wait for PostgreSQL test containers by health check only (#10078) 2026-10-29 14:05:23 +13:00
Sebastian LorenzandEffect Bot 3d88452eb6 Add CommandLine to effect/process and use it in ChildProcess (#9752)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
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
4f16778151 Add pool occupancy stats to Pool, PgPool, and PgClient (#9090)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
Co-authored-by: Stéphane Le Dorze <stephane.ledorze@gmail.com>
Co-authored-by: Tarekkharsa <47394961+Tarekkharsa@users.noreply.github.com>
2026-10-28 15:48:48 +13:00
effect-bot 7302cabced fix(sql-pg): fail a stream admitted while its pin is released (#9996) 2026-10-27 16:32:30 +13:00
Tim 8311f8f3e0 Make the sql-pg UNLISTEN pin-release test independent of event-loop timing (#10007) 2026-10-27 16:15:23 +13:00
Tim 3f0343cf58 Wait for in-flight UNLISTEN when releasing a pinned PgConnection (#10000) 2026-10-27 02:52:35 +00:00
Tim 6d3689bd5a test(sql-pg): fix flaky multiplex concurrency test in PgPool (#9879) 2026-10-27 14:13:24 +13:00
effect-bot f722e4c4fb fix(sql-pg): allow up to 65535 Parse/Bind parameters (#9937) 2026-10-27 10:03:29 +13:00
c1ba405edb fix(sql-pg): close a session that does not confirm UNLISTEN (#9896)
Co-authored-by: Wayne Maurer <2899448+wmaurer@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-27 09:50:15 +13:00
Tim 1c29dd8f2d Wait for the multiplexed statement write instead of polling in PgPool test (#9792) 2026-10-23 10:08:02 +13:00
a2adb31ef4 Quote the sql.updateValues alias (#9759)
Co-authored-by: Viacheslav <bezff@MacBook-Pro-3.local>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-23 09:36:29 +13:00
Tim 5648c2eec0 Run PgPool acquireTimeout tests on the TestClock (#9805) 2026-10-23 09:23:52 +13:00
effect-bot cccf1ea42c Preserve PostgreSQL server errors when the connection closes (#9756) 2026-10-22 22:09:32 +13:00
effect-bot 6e6509e840 feat(sql-pg): add onAcquire hook to PgClient (#9738) 2026-10-22 14:02:02 +13:00
effect-bot 4ec78b94ea Use the resolved PgClient connection for PgMigrator schema dumps (#9734) 2026-10-22 13:15:22 +13:00
3da7c0aaba Trace SQL connection wait and sql-pg connects (#8676)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-22 11:25:10 +13:00
effect-bot a9f0ca68aa fix(sql-pg): add acquireTimeout to bound the wait for a pooled connection (#9641) 2026-10-21 13:50:19 +13:00
Tim 561d2a1ddf Generate EventLog entry ids with a hybrid logical clock (#9521) 2026-10-19 01:22:43 +00:00
Tim 41043e9f0d Enforce Effect.fnUntraced in tests (#9512) 2026-10-18 21:55:52 +00:00
Tim 0c8b446709 EventJournal: track remote sources per entry instead of per remote (#9482) 2026-10-18 03:28:56 +00:00
Tim b04191b294 Encrypt event log entries in batches (#9479) 2026-10-18 13:39:57 +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
TimandJeffery Callahan ad6901857e Run SqlClient callbacks after the outermost transaction commits (#9289)
Co-authored-by: Jeffery Callahan <24495892+callajd@users.noreply.github.com>
2026-10-16 02:08:48 +00:00
effect-bot fdc8c19362 Use live deadlines for PostgreSQL fixture teardown (#9246) 2026-10-15 22:27:41 +13:00
effect-bot 5a67e0b3a8 Prevent PGlite connection starvation in SQL runner storage (#9222) 2026-10-15 22:02:47 +13:00
Tim bc07bd4e86 Bound PostgreSQL fixture teardown and retry interrupted waits (#9188) 2026-10-15 01:09:38 +00:00
Tim 742976ce97 Capture PostgreSQL teardown diagnostics in Deno CI (#9142) 2026-10-14 17:27:16 +13:00
Harish SubramaniumandEffect Bot 1cd7df8a98 feat(sql-pg): expose TCP keepalive settings (#9120)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-14 14:15:02 +13:00
effect-bot 3b7237aef5 fix(sql-pg): restore inferred empty array binding (#9102) 2026-10-13 21:54:03 +13:00
effect-botandTim Smart ab04ad0622 fix(sql-pg): invalidate released pins so they cannot reach the next borrower (#9089)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-13 04:19:16 +00:00
effect-bot f41a60f59b Wait for PostgreSQL containers to stop before removal (#9074) 2026-10-13 10:50:51 +13:00
Tim 48ed32f846 Add delay option to PersistedQueue.offer (#8907) 2026-10-09 00:58:21 +13:00
effect-botandTim Smart ca068cef44 Allow cluster SQL storage to run without runtime DDL (#8897)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-08 04:12:51 +00:00
effect-botandTim Smart ea52c245f6 Fix typed SQL transaction COMMIT error recovery (#8892)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-07 22:42:33 +00:00
Tim 757821fe99 Fix PostgreSQL cancellation test readiness and cleanup (#8879) 2026-10-07 23:02:38 +13:00
Tim 763b445f55 Fix SQL event-log notifications before transaction commit (#8855) 2026-10-07 11:13:15 +13:00
WolfieLeaderandTim Smart 7ccfeb3569 fix(sql-pg): report a stale plan inside a transaction instead of retrying it (#8861)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-06 21:07:55 +00:00
digicoderandTim Smart 972c80fb02 Fix SqlEventJournal on PostgreSQL (#8756)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-06 20:17:59 +13:00
Tim 13eb0099aa Fix PostgreSQL binary interval decoding (#8746) 2026-10-05 04:23:14 +00:00