Repository navigation
test(sql-mssql): reproduce connection reuse before cancellation completes - #9630
Closed
effect-bot wants to merge 29 commits into
Closed
effect-bot wants to merge 29 commits into
effect-bot wants to merge 29 commits into
Conversation
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Tim Smart <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Tim Smart <[email protected]>
Co-authored-by: Effect Bot <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Effect Bot <[email protected]>
Co-authored-by: Sebastian Lorenz <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Tim Smart <[email protected]> Co-authored-by: Stéphane Le Dorze <[email protected]> Co-authored-by: Tarekkharsa <[email protected]>
Co-authored-by: Tim Smart <[email protected]>
Co-authored-by: Viacheslav <[email protected]> Co-authored-by: Effect Bot <[email protected]>
Co-authored-by: Jem Gold <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
Co-authored-by: Juliaan <[email protected]> Co-authored-by: Effect Bot <[email protected]>
…9223) Co-authored-by: Tim <[email protected]>
Co-authored-by: Tim Smart <[email protected]>
…ollapse options (#9276) Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: Effect Bot <[email protected]>
Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim <[email protected]>
Co-authored-by: Tim Smart <[email protected]>
Co-authored-by: Effect Bot <[email protected]>
Co-authored-by: Effect Bot <[email protected]> Co-authored-by: Tim Smart <[email protected]>
) Co-authored-by: Effect Bot <[email protected]>
…9532) Co-authored-by: Effect Bot <[email protected]>
🦋 Changeset detectedLatest commit: 99ab439 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 |
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
Investigation
Real Tedious 20.3.8 traces show a scoped PersistedQueue lock-refresh UPDATE canceled while its connection remains SentClientRequest. The next test's migration query borrows that same connection before the canceled request calls back and fails EINVALIDSTATE. The client interruption finalizer calls cancel() without awaiting completion; acquisition excludes ended/error-latched connections but not pending canceled requests.
Normal request callbacks observed LoggedIn, consistent with Tedious transitioning idle before callback; normal callback resumption is not implicated by these captures.
Validation
Do not merge this intentionally red, tests-only handoff before the separate implementation run addresses cancellation drain/reuse.
Closes EFF-2605
Closes EFF-2604
EFF-2604 was discovered as the existing parallel investigation during handoff. Consolidate implementation there and reuse this tests-only reproduction instead of creating duplicate regression coverage.