Skip to content

fix: preserve stream-read errors and terminal diagnostics - #14839

Merged
voodoohop merged 1 commit into
mainfrom
codex/stream-read-diagnostics
Sep 13, 2026
Merged

voodoohop merged 1 commit into
mainfrom
codex/stream-read-diagnostics

Conversation

@voodoohop

Copy link
Copy Markdown
Member
  • Preserve the original upstream stream-read message in error metrics instead of collapsing it into missing usage.
  • Keep the stream ending within the existing 16,000-character error-log budget, even with oversized chunks. Full billing input remains untouched.
  • Keep diagnostic helpers outside the main stream and tracking flow. No generation retries, timeout changes, or weaker billing validation.
  • Pin the merged gateway fix: fix: preserve upstream stream-read errors gateway#13. Builds on fix: log the tail and a summary of failed text streams #14730.
  • Verified: 95 Gen tests, Gen type-check, pinned-version formatting, and a real gateway → Gen → usage-validator connection-reset reproduction pass.

@voodoohop
voodoohop merged commit e2b9841 into main Sep 13, 2026
13 checks passed
@voodoohop
voodoohop deleted the codex/stream-read-diagnostics branch September 13, 2026 23:49
pollinations-ai Bot added a commit that referenced this pull request Sep 13, 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.

1 participant