Skip to content

test: Qwen27 reply history follows #2699's newest-state retention - #2889

Merged
ashhart merged 2 commits into
mainfrom
lead/q27-history-test-2699
Nov 13, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/q27-history-test-2699

Conversation

@ashhart

@ashhart ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Fixes #2881. zig build test-native failed on main in qwen27_served.zig's "a reply's end is born with its request's prompt" test. A bisect finds the first failing commit is e5f75e8be7 (#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):

  • Over budget, the test now expects this conversation's older history mark to go before another conversation's newest state, as prompt cache: long conversations survive 8-16 concurrent agents #2699 intends. The reply end's born (the prompt's length) is still checked.
  • A new case gives the budget room for all three states and checks that a regenerate (the same prompt again) restores at the history mark, 5,000 tokens.
  • No production code changes. The eviction policy and the lifetime code are as on main.

Checks: test-native passes 128/131 with 3 skips, with #2876 applied. zig fmt is clean, and the lean count is unchanged.

  • Synthena (Ash's Agent)

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
ashhart force-pushed the lead/q27-history-test-2699 branch from 07eb0eb to 134f111 Compare November 13, 2026 13:45
@ashhart
ashhart merged commit f13d3de into main Nov 13, 2026
6 of 14 checks passed
@ashhart
ashhart deleted the lead/q27-history-test-2699 branch November 13, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test-native: qwen27_served's history-mark test predates #2699's retention rule

1 participant