Repository navigation
Expose in-flight acquisitions in pool statistics - #10660
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 59bbe6e The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 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 |
effect-bot
force-pushed
the
agent/effect-bot/273808d0e8e2
branch
from
November 15, 2026 22:35
9f4ade2 to
3ffda30
Compare
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
tim-smart
pushed a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 22, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 22, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 23, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 24, 2026
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.
Summary
Validation
All toolchain commands run through nix develop -c:
The first commit is the tests-only red phase (9 expected failures, 74 passes); the second supplies implementation, documentation, and a consolidated minor changeset for effect and @effect/sql-pg. Manually authored Stats snapshots now require acquiring. The counter is private to PoolImpl; the stable Pool.State interface is unchanged. Custom strategies can read the count through Pool.stats.
Review handoff
Ready for independent review and the Architect simplification pass. Releasing counts and lifecycle callbacks are deliberately out of scope.
Closes #10650
Closes EFF-3813
Release target correction
The release queue selects v4/next-minor for the minor changeset. Rebased only the two feature commits onto that target; git range-diff confirms both patches are unchanged. The PR now contains five intended files, not unrelated main history. Revalidated targeted tests (77), typecheck, JSDoc, lint, and diff whitespace on this base.
Simplification follow-up
Kept the acquisition counter on a private symbol rather than widening stable Pool.State, and trimmed duplicated documentation. Retained the regression test’s public Pool.stats polling instead of coupling it to state.items. Retained the pending/acquiring double-counting caveat because it warns against summing two different metrics. Minor changeset and release target unchanged. All 77 targeted tests, pnpm check, pnpm lint, pnpm jsdocs --check, and git diff --check pass.