Repository navigation
qwen27 served: the reply-end keep test names its history, and a step runs it - #3012
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/qwen27-served-test-step
branch
from
November 13, 2026 15:27
a5653da to
dd92a1e
Compare
ashhart
added a commit
that referenced
this pull request
Nov 15, 2026
…runs it "a reply's end is born with its request's prompt" built its reply stream without history_len, so keepEnd pinned nothing. Since a reply supersedes equal-born states on its token path (e5f75e8), the request's own history went first and the other conversation's state stayed: the test failed, and no build step ran it. The served host names the history on every request that keeps one, the pin 3487174 added; the test now does too. test-qwen27-reply-cache-host runs it. Serving is unchanged.
ashhart
force-pushed
the
lead/qwen27-served-test-step
branch
from
November 16, 2026 00:09
dd92a1e to
75fe382
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
zig/src/native/qwen27_served.zig's test "a reply's end is born with its request's prompt" failed on main, and no build step ran it, so CI never saw it.The test was wrong, not the code. It was written on 13 Oct, when a reply born with its request's prompt superseded none of that request's states. On 9 Nov (
e5f75e8be7) eviction deliberately began treating equal-born, non-rewind states on the reply's path as superseded, and on 10 Nov (3487174e65) thekeepEndpin was added for streams that name their history. The test built its reply stream withouthistory_len, so the request's own history was evicted, which is now correct..history_len = at, so it exercises the pin it is about.test-qwen27-reply-cache-hostnow runs it (it is already in the macOS fast list).Before: the step gives 3 pass, 1 fail (
qwen27_served.zig:285). After: 7/7 steps, 4/4 tests.zig fmtclean; lean 0 new.#1434 moves this test into
qwen27_served_cache_test.zig; whichever lands second carries this one-line fix and the step filter across.