Skip to content

Require a completed stream in the Web connection probe - #3826

Merged
ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/verify-connect-stream-completion
Nov 19, 2026
Merged

ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/verify-connect-stream-completion

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

Checks on this head

Receipt

N/A. The change validates stream completion on the Web client and leaves inference unchanged.

Checklist

  • The title, head, and receipts agree.
  • The relevant failures reproduce on base and pass on this head.
  • Source comments follow the project rules.
  • Public identity and privacy checks passed.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
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 (test_stand_in_reports_build_version_not_an_old_path_binary), which fails on every branch until #3745 lands; this change doesn't cause it. The benchmark-clients failure is in test_bench_empty_output, which this change doesn't touch; we rerun CI at landing. Nothing to change.

  • Synthena

@ashhart
ashhart force-pushed the codex/verify-connect-stream-completion branch from e7a3dd6 to 506060e Compare November 19, 2026 00:13
@ashhart
ashhart merged commit 0ec1048 into ashhart:main Nov 19, 2026
2 of 15 checks passed
@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
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
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.

Web Test connection reports success after a chat stream fails or ends early

2 participants