You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix flaky test test_response in test_streamable_http.py #1573
The 404 here was the bind-then-close port race: under pytest-xdist, two workers could pick the same ephemeral port, the readiness poll succeeded against the other worker's server, and the request got that server's 404. As of #2767 (with #2764/#2765), test_response and the rest of these files run in process with no sockets or ports at all, so this failure mode no longer exists. Closing.
Activity
tests: eliminate port-allocation races in SSE/StreamableHTTP tests
tests: eliminate port-allocation races in SSE/StreamableHTTP tests
tests: eliminate port-allocation races in SSE/StreamableHTTP tests
maxisbey commentedon Jun 3, 2026
The 404 here was the bind-then-close port race: under pytest-xdist, two workers could pick the same ephemeral port, the readiness poll succeeded against the other worker's server, and the request got that server's 404. As of #2767 (with #2764/#2765),
test_responseand the rest of these files run in process with no sockets or ports at all, so this failure mode no longer exists. Closing.AI Disclaimer