Latest Results
Replace network client constructors with builders
- Add typed builder APIs for HTTP, WebSocket, and raw sockets
- Split callback, epoch, and stream WebSocket construction paths
- Migrate adapters, tests, examples, and docs to named options
- Preserve rate limits, reconnect hooks, state sinks, and defaults Order betfair subscription test teardown with a signal (#4837)
The mock stream server in the deduplication test read the first
subscription line, waited up to 500ms for a second, then slept a fixed
second before dropping its write half and returning the observed tuple.
The main task blocked on that task before it could assert, so the sleep
sat on the critical path and the test could not finish in under 1.5s.
Dropping the socket there also left the client connected, starting a
lower-level reconnect attempt that could not succeed.
The tuple is determined once the 500ms window closes, so the server now
sends it over a oneshot at that point and waits on a second oneshot
before dropping the write half. The main task observes, disconnects,
signals teardown, awaits the server, then asserts, so a failing
assertion cannot panic past the disconnect. The 500ms window is
unchanged.
Test-only. Runtime falls from 1.85s to 0.83s locally, and deleting the
deduplication guard fails the test deterministically.
Coded by an LLM. Latest Branches
No pull requests foundAs pull requests are created, their performance will appear here. © 2026 CodSpeed Technology