Repository navigation
Test: disable pooling for OC2 OAuth destination fixtures - #849
Closed
antauth-alfonso[bot] wants to merge 1 commit into
Closed
antauth-alfonso[bot] wants to merge 1 commit into
antauth-alfonso[bot] wants to merge 1 commit into
Conversation
The test helper sends real POSTs to short-lived loopback listeners. If a successor rebinds a previous listener’s port, Bun can reuse the old connection before noticing it closed. Pass the existing guarded-fetch opt-out on the physical send, without changing the request assertions or product code.
ualtinok
added a commit
that referenced
this pull request
Nov 18, 2026
Author
|
Squash-merged to main as f3afd74. |
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.
Test-only. Bun reused a pooled socket to a stopped loopback listener (ECONNRESET). Forced same-port reuse: 50/50 failed before, 0/50 after.
Summary by cubic
Test-only. Disables connection pooling on the physical fetch in the OC2 OAuth destination fixture. Bun was reusing a pooled socket to a stopped loopback listener, causing flaky ECONNRESET failures when a successor rebound the same port (50/50 failures before). Passing
keepalive: falseeliminates pooling and stabilizes the test without changing request assertions or product code.Written for commit 79fff08. Summary will update on new commits.