Skip to content

fix(agents-core): stabilize streamable HTTP reconnect retry test#1125

Merged
seratch merged 1 commit intomainfrom
fix/streamable-http-reconnect-test-flake
Mar 24, 2026
Merged

fix(agents-core): stabilize streamable HTTP reconnect retry test#1125
seratch merged 1 commit intomainfrom
fix/streamable-http-reconnect-test-flake

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented Mar 24, 2026

This pull request fixes an occasional CI timeout in the streamable HTTP reconnect retry test by removing the wall-clock reconnect delay and replacing it with explicit deferred barriers in packages/agents-core/test/shims/mcp-server/streamableHttpRetry.test.ts. The updated test still exercises the same closed-session recovery path, but now it deterministically controls when the shared failures release, when reconnect starts, and when reconnect is allowed to complete, so the coalescing assertion no longer depends on scheduler timing.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 24, 2026

🦋 Changeset detected

Latest commit: 85ca389

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-core Patch
@openai/agents-extensions Patch
@openai/agents-openai Patch
@openai/agents-realtime Patch
@openai/agents Patch

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

@github-actions github-actions bot added this to the 0.8.x milestone Mar 24, 2026
@seratch seratch merged commit 1227865 into main Mar 24, 2026
6 checks passed
@seratch seratch deleted the fix/streamable-http-reconnect-test-flake branch March 24, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant