Repository navigation
Require a completed stream in the Web connection probe - #3826
Merged
ashhart merged 2 commits intoNov 19, 2026
Merged
Conversation
Owner
|
Thanks @AIFlowML. Using the shared stream reader so an error or early EOF fails the connection probe is right, and the failing cases now pass while complete streams still do. Nothing in inference changes. The red Python job is the Web version check (
|
ashhart
force-pushed
the
codex/verify-connect-stream-completion
branch
from
November 19, 2026 00:13
e7a3dd6 to
506060e
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
The Web OpenAI connection probe now uses the existing stream reader to distinguish a completed reply from partial text followed by an error or early EOF. The reader consistently recognizes LF, CRLF and bare CR, including CRLF split across transport chunks. The probe keeps its existing text or reasoning check for complete streams.
mainat8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8.Checks on this head
e7a3dd6ef43ed7d8c9af51452d497b7a5ddfbbbe.[DONE]passes. The bare-CR Connect test and a mixed/split line-ending test with Unicode JSON content verify the shared reader, including termination without a read after[DONE]. Independent probes exercised reasoning-only replies, Anthropic results and bounded HTTP errors.30112230db955abdbabc126fafd3bcf7528a948b, which includes Check the packaged Web version on native release bumps #3745, both passed 484 tests with one skip.memcpylink guard 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.tools/tests/test_bench_cache_agents.py, outside this diff. Python 3.11 also reproduced the inherited Web version assertion from Web stand-in still reports 1.2.4 after native version bumps #3739. Python 3.12 was cancelled. The other ten applicable checks passed. Two nightly jobs were skipped.Receipt
N/A. The change validates stream completion on the Web client and leaves inference unchanged.
Checklist
Igor Lessio - AIFLOW LABS