Repository navigation
Conversation
A stalled handshake can fail an ordinary query before a statement reaches the server. Let callers opt into a schedule at checkout, where a retry cannot repeat a statement, transaction or notification. Keep the pool acquisition deadline and the existing default. Verified 31 PgPool and PgConnection cases, including backoff, interruption during the delay, and a disconnect after a write. Lint and type checks pass on the tested upstream base. gpt-6.2-astra - high
🦋 Changeset detectedLatest commit: 75f7441 The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
brandon-julio-t
requested a deployment
to
fork
November 20, 2026 03:08 — with
GitHub Actions
Waiting
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
effect-bot
force-pushed
the
v4/next-minor
branch
8 times, most recently
from
November 20, 2026 03:56
a6604a9 to
cf6cce5
Compare
tim-smart
enabled auto-merge (squash)
November 20, 2026 07:54
effect-bot
added a commit
that referenced
this pull request
Nov 22, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 22, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
effect-bot
added a commit
that referenced
this pull request
Nov 25, 2026
…kout (#10792) Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an optional
connectRetryScheduletoPgClient.PgPoolConfigandPgPool.Configso callers can opt into retrying retryable connection errors (error.isRetryable, such as socket errors,connectTimeout, and SQLSTATE class08) while opening a pooled connection on checkout. Authentication failures are not retried, and omitting the schedule preserves the existing behavior.getandreserve), so interrupting the caller cancels pending retries andacquireTimeoutbounds the entire checkout including backoff delays.connectRetryScheduleis set,PgPool.usefalls back toEffect.scoped(Effect.flatMap(get, f))so acquisition retries do not wrapf.Tests
One test in
packages/sql/pg/test/PgPool.in-process.test.tsunderPgPool failed startup: the first connect drops its socket and is retried, the second fails authentication (28P01) and is not retried, so checkout fails withAuthenticationErrorafter two attempts. It fails if the retry is removed or if theisRetryablegate is removed.Closes #10789
Closes EFF-4051
Closes EFF-4049