From bc51ea904ae28a1e2a2ef9e509aedbd72c33fe8a Mon Sep 17 00:00:00 2001 From: Hasan Basbunar Date: Thu, 5 Nov 2026 11:04:32 +0100 Subject: [PATCH] CHANGELOG and docs/pair.md: what stays open for v1.44.0 said exactly, as the fifteenth review read it (decision 1090) The thirteenth review's window was one record, not 1,024 events; the out of reach rule holds for vLLM's death and the [DONE] and message_stop ends, not for /v1/responses, the Ollama routes or vLLM's death on /v1/messages; and docs/pair.md says the bindings left for v1.44.0. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 21 ++++++++++++--------- docs/pair.md | 6 +++++- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07337fcf..2db74f91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -145,15 +145,18 @@ other box was then said there to be an order, which undid its binding. A stream engine's end is known now: its death said in the stream, its cut, its end. And the engine's cut was dropped when the client read nothing for 5 s while 1,024 events waited for it, the stream's end then closing the client's stream as whole on a cut answer: the cut waits for room now, as the end does. A thirteenth review found the same windows open -behind such a client (decision 1083): a death or an answer's end was out of reach only once the relay took it from the -queue, behind up to 1,024 events, a death then reaching its client as a stop and staying unbound, a hop's said to be -an order, and an answer whole at its engine cut. The proxy takes a stream out of every stop's reach as it reads its -engine's death or end now. A fourteenth review found what stays open, left for v1.44.0, where the relay decides an -engine's end as it reads it (decision 1088): behind a client more than 1,024 events late, the proxy reads nothing more -of the engine, its end included, until the client takes some, and a death or a cut is bound, its order read, only once -the relay reaches it, not at all when the client leaves first. tests/test_proxy_pair.py has two boxes that serve the -27B from their start, each rule its test there or in the proxy's and the cockpit's other test files, and each test -fails on v1.42.1 or on the commit before its fix. +behind such a client (decision 1083): a death or an answer's end that came while the queue was full stayed in reach +until it could be put there, a death then reaching its client as a stop and staying unbound, a hop's said to be an +order, and an answer whole at its engine cut. The proxy takes a stream out of every stop's reach as it reads vLLM's +death or the answer's end (data: [DONE], event: message_stop) now. A fourteenth and a fifteenth review found what +stays open, left for v1.44.0, where the relay decides an engine's end as it reads it (decisions 1088 to 1091): once +the queue is full behind a client, the proxy looks at nothing more the engine sends, its end included, until the +client takes some; a death or a cut is bound, its order read, only once the relay reaches it, and not at all when the +client leaves first; the end of a /v1/responses stream and the Ollama routes' last line are not taken out of reach as +they are read; and vLLM's death on /v1/messages, which its Anthropic route says without the words the proxy looks for, +is not recognized as one, and not bound. tests/test_proxy_pair.py has two boxes that serve the 27B from their start, +each rule its test there or in the proxy's and the cockpit's other test files, and each test fails on v1.42.1 or on +the commit before its fix. **Ollama clients get their stream as it comes.** The proxy relayed every answer that is not SSE in blocks of 64 KiB, so a client of the Ollama routes (`/api/chat`, `/api/generate`) got its NDJSON stream in bursts, most answers whole at diff --git a/docs/pair.md b/docs/pair.md index b62a6a59..7cf22795 100644 --- a/docs/pair.md +++ b/docs/pair.md @@ -138,7 +138,11 @@ list was read): the entry then serves it itself. too when its lane's stop showed only then. A request of the entry's own client, bound at a death of its engine, is unbound the same way when its lane's stop shows at the stream's end, at its cut, or within 3 s of the proxy finding its client gone before the end. Only the binding a try made is undone, which gives back - the one the same body had before, from an earlier death or an earlier try of the same request. + the one the same body had before, from an earlier death or an earlier try of the same request. Left for + v1.44.0 (decisions 1088 to 1091): a death or a cut that reaches the proxy while a client more than a queue + of 1,024 events late reads nothing is bound, its order read, only once its relay gets there, and not at all + if the client leaves first; and vLLM's death on /v1/messages, which its Anthropic route says without the + words the proxy looks for, is not bound. - While the entry's engine is away (a crash, a restart), a model its lane serves (as the command of its engine says, what its unit starts, or as it served last) goes to the other box only from the same checkpoint (decision 1018): otherwise the entry holds it while its own engine comes back, as for a model no