Repository navigation
Keep cancelled Chat Replay turns out of completed results - #3815
Merged
ashhart merged 2 commits intoNov 19, 2026
Merged
Conversation
4 tasks done
Owner
|
Thanks @AIFlowML. LAND. The worker now handles the cancellation result before saving or counting the interrupted turn. The API regression checks persisted cancelled status with zero or one completed turn, while keeping earlier results. Ordinary stream errors retain their existing path; the Web version assertion stays separate under #3739/#3745.
|
ashhart
force-pushed
the
codex/preserve-replay-cancellation
branch
from
November 19, 2026 00:11
2af540f to
9266e98
Compare
Owner
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
joshuaswarren
pushed a commit
to joshuaswarren/TensorFold
that referenced
this pull request
Nov 19, 2026
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.
What this changes
Stopping a Chat Replay during its final reply now records the replay as cancelled and keeps the completed turns already on disk. The interrupted reply never enters the completed-turn count or saved results. Other engine errors still use the existing per-turn error path.
mainat8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8.Checks on this head
2af540f8039820c4db53bb40c1e00af82204c7d7.pytest -qon Python 3.11 and 3.12 passed 458 with one skip and the inherited version assertion tracked by Web stand-in still reports 1.2.4 after native version bumps #3739. On composed commitad489da263aa0d6fcafe7d8f591961348729f541, which contains the independent Check the packaged Web version on native release bumps #3745 fix, all 473 passed with one skip on both versions.zig build test test-golden -Dcpu=apple_m1with Zig 0.17.0 passed 7,491 tests with 92 skips and zero unexpected server golden differences. The inherited macOSmemcpylink check failed, tracked by macOS native binary links internal memcpy after the device profile reader landed #3760 and fixed in ready Restore libSystem memcpy when reading device profiles #3761.Receipt
N/A. The change handles the Web client's cancellation result after streaming.
Checklist
Igor Lessio - AIFLOW LABS