Files
OmniRoute/tests
diegosouzapw a5fd579582 merge release/v3.8.51: keep this branch's streamReadiness cancellation
#12465 landed first and created the same new open-sse/utils/streamReadiness.ts
with a different cancellation design (a `cancelled` flag and an immediate
releaseLock swallowed in try/catch). This branch's version defers the release
until the in-flight read completes and fire-and-forgets reader.cancel(), so a
provider promise that never settles cannot make cancellation unbounded.

The choice was validated against BOTH PRs' suites rather than by preference:
21/21 on the shared readiness tests and 22/22 including #12465's own Perplexity
boundary test.
2026-09-03 21:06:03 -03:00
..