Repository navigation
test: Qwen27 reply history follows #2699's newest-state retention - #2889
Merged
Merged
Conversation
This was referenced Nov 11, 2026
Pin eviction of redundant own history before another conversation's newest state under pressure. Retain prompt-born provenance and prove a same-prompt regenerate restores history when all three states fit. Refs #2881
ashhart
force-pushed
the
lead/q27-history-test-2699
branch
from
November 13, 2026 13:45
07eb0eb to
134f111
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.
Fixes #2881.
zig build test-nativefailed on main inqwen27_served.zig's "a reply's end is born with its request's prompt" test. A bisect finds the first failing commit ise5f75e8be7(#2699, released in 1.2.6). The test pinned the old eviction order, and #2699's rule keeps each conversation's newest state first, so the test is out of date rather than catching a defect.What changes (test only):
born(the prompt's length) is still checked.Checks:
test-nativepasses 128/131 with 3 skips, with #2876 applied.zig fmtis clean, and the lean count is unchanged.