mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 04:44:19 +01:00
role 10: the notes and docs say the eighth review's minor faults, fixed in v1.43.0 itself
What was to be v1.43.1 (the eighth review's minor faults of the binding, and an older one the ninth found) goes out in v1.43.0, which is not published yet: one update for those who take it, one matrix, and one review of the whole. The proxy stays v6.52 (its v6.53 entry goes), docs/pair.md says the binding at a relayed death, the binding given back, and the reads after a client's early leaving, and the notes say the faults among the eighth review's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
261ee7593d
commit
5df072b744
3 files changed
+24
-22
No files matched your search
+17
-9
@@ -110,15 +110,23 @@ slow to say the engine's run, and one the cockpit left behind counted for a late
|
||||
counts for the restart it was written for only now, the unit's state changing within 2 minutes of it. An order split
|
||||
across two reads went unread, the words of an engine's death inside an Ollama tool call's arguments read as one, and
|
||||
the order's line on the Ollama routes could follow a line over 64 KiB with no line end. An eighth review found more,
|
||||
fixed here too. A request whose first try got the engine's 503, held and sent again, was out of every stop's reach:
|
||||
the engine's error took it for an answer relayed whole, and on SGLang a stopped Anthropic stream then ended as if
|
||||
whole, the fault v1.40.3 fixed. The cockpit removed a recovery's mark when systemd did not answer, the very case the
|
||||
mark is kept for, and once the restart's stop was done, when systemd's job reads "start". A mark stopped counting
|
||||
during a stop slower than 2 minutes: the moment the unit left active, which systemd sets once, counts now beside its
|
||||
last state change. A request of the box's own client stayed bound when its dead stream ended cut after the stop
|
||||
showed, not cleanly. And a box alone read systemd at the end of each dead stream, for nothing. A ninth review found
|
||||
three more faults in the binding at a cut, fixed here too: a cut bound its request only after its client saw it, a
|
||||
quick retry free to reach the other box meanwhile, read systemd twice for it, and bound a death whose own read had
|
||||
fixed here too, the faults it left as minor with them. A request whose first try got the engine's 503, held and sent
|
||||
again, was out of every stop's reach: the engine's error took it for an answer relayed whole, and on SGLang a stopped
|
||||
Anthropic stream then ended as if whole, the fault v1.40.3 fixed. The cockpit removed a recovery's mark when systemd
|
||||
did not answer, the very case the mark is kept for, and once the restart's stop was done, when systemd's job reads
|
||||
"start". A mark stopped counting during a stop slower than 2 minutes: the moment the unit left active, which systemd
|
||||
sets once, counts now beside its last state change. A request of the box's own client stayed bound when its dead
|
||||
stream ended cut after the stop showed, not cleanly. And a box alone read systemd at the end of each dead stream, for
|
||||
nothing. Of the faults it left as minor, an order said after a death undid that request's binding and with it the one
|
||||
an earlier real death of the same body had made, the next retry free to run on this box's engine. A death the other
|
||||
box relayed was bound once a watch that looks once a second saw its client gone, a retry within that second unbound.
|
||||
The other box's order line split across two reads where the client left went unread, and the line end it puts before
|
||||
that line after a line over 64 KiB reached the client. Undoing a binding gives back the one before it now, a relayed
|
||||
death is bound as it is relayed, and the order line is read whole and kept at the entry. And a request of the box's
|
||||
own client, bound at its engine's death, stayed bound 10 minutes after its lane's stop showed when the client left
|
||||
before the stream's end, as the SDKs do at an error event: systemd is read again three times over 3 s. A ninth review
|
||||
found three more faults in the binding at a cut, fixed here too: a cut bound its request only after its client saw it,
|
||||
a quick retry free to reach the other box meanwhile, read systemd twice for it, and bound a death whose own read had
|
||||
seen its lane's stop. A tenth review found the first fixed on SSE streams alone: an Ollama stream or a non-streamed
|
||||
answer cut by its engine is bound before its client sees the cut too. And a stop no longer counts a request whose
|
||||
engine answered an error, refused or dropped its connection before answering, or cut its answer: an eleventh review
|
||||
|
||||
+6
-5
@@ -133,11 +133,12 @@ list was read): the entry then serves it itself.
|
||||
the restart writes it just before its systemctl and removes it when that fails, unless systemd took the
|
||||
restart all the same or does not answer. The proxy takes a mark for the restart it was written for only,
|
||||
the unit leaving active, or changing state, within 2 minutes of it, and none older than 10 minutes
|
||||
(decision 1062). A request whose client
|
||||
left at a death the other box relayed is bound at once, and unbound if that box says within 5 s that it
|
||||
ended the request by order (decisions 1054 and 1061), which it says at the stream's end 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.
|
||||
(decision 1062). A death the other box relays is bound as it is relayed, and unbound if that box says
|
||||
within 5 s that it ended the request by order (decisions 1054 and 1061), which it says at the stream's end
|
||||
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
|
||||
its client leaving before the end. Undoing a binding gives back the one the same body had before, from an
|
||||
earlier death.
|
||||
- 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
|
||||
|
||||
+1
-8
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Keepalive proxy in front of SGLang or vLLM (v6.53). No content logging, and the only
|
||||
"""Keepalive proxy in front of SGLang or vLLM (v6.52). No content logging, and the only
|
||||
rewriting is the tool-schema guard (role 4); two routes, POST /v1/systemone (role 5) and the
|
||||
operator's POST /proxy/stop (role 7), are answered here instead of relayed.
|
||||
|
||||
@@ -60,13 +60,6 @@ Ten roles, nothing else:
|
||||
shared: a conversation stays on the box that holds its prefix, a new one goes to the box with the
|
||||
fewest requests in flight (v6.52, docs/pair.md).
|
||||
|
||||
v6.53: a request's binding (decision 1019) undone by an order said after the death gives back the binding its
|
||||
fingerprint had before, where it erased the one an earlier death of the same body had made; a death the other box
|
||||
relays is bound as it is relayed, where the watch bound it once it saw the client gone, a retry within its second
|
||||
unbound; on the Ollama routes, an order line split where the client left is read whole, and the line end the other
|
||||
box puts before its order line stays at the entry (the 8th review of v1.43.0, 2026-11-05). A request bound at a death
|
||||
here whose client left before the stream's end reads its lane's stop again, three times over 3 s (the 9th review).
|
||||
|
||||
v6.52: two boxes that serve one model share its requests (role 10, decisions 996 to 998). A request
|
||||
for a model this box serves, which the other box of its pair serves too, goes to the box it shares its
|
||||
longest known prefix with (fingerprints of its first 4 KiB, 8 KiB, 16 KiB and so on, kept 10 minutes
|
||||
|
||||
Reference in new issue
Block a user