Fix truncated Codex SSE in TUI #72

Merged
ober merged 1 commit from fix/codex-tui-truncated-sse into master 2026-09-23 23:23:56 -04:00
Owner

What changed

  • Treat truncated or malformed Codex SSE metadata/terminal frames as recoverable when visible assistant output already exists.
  • Preserve a visible answer when the stream ends without a parseable response.completed envelope.
  • Guard message-thinking so provider metadata cannot be treated as a message record.
  • Bump the repository version from 0.7.0 to 0.7.1.

Verification

  • macOS: make binary passed.
  • macOS: real PTY --tui run displayed jcode 0.7.1, received Hi! What can I help you with?, and produced no crash exception.
  • FreeBSD: gmake binary passed.
  • FreeBSD: real PTY --tui run displayed jcode 0.7.1, received Hi! What can I help you with?, and produced no crash exception.
  • make test reached the TUI visual rendering smoke test successfully. One unrelated existing sandbox regression remains: enabled sandbox runs an allowed command.
## What changed - Treat truncated or malformed Codex SSE metadata/terminal frames as recoverable when visible assistant output already exists. - Preserve a visible answer when the stream ends without a parseable `response.completed` envelope. - Guard `message-thinking` so provider metadata cannot be treated as a message record. - Bump the repository version from 0.7.0 to 0.7.1. ## Verification - macOS: `make binary` passed. - macOS: real PTY `--tui` run displayed `jcode 0.7.1`, received `Hi! What can I help you with?`, and produced no crash exception. - FreeBSD: `gmake binary` passed. - FreeBSD: real PTY `--tui` run displayed `jcode 0.7.1`, received `Hi! What can I help you with?`, and produced no crash exception. - `make test` reached the TUI visual rendering smoke test successfully. One unrelated existing sandbox regression remains: `enabled sandbox runs an allowed command`.
Fix truncated Codex SSE in TUI
All checks were successful
version-policy / required (pull_request) Successful in 3m47s
required-ci / required (pull_request) Successful in 7m44s
dbb97386d1
ober scheduled this pull request to auto merge when all checks succeed 2026-09-23 23:23:43 -04:00
ober merged commit 1fbf094330 into master 2026-09-23 23:23:56 -04:00
ober referenced this pull request from a commit 2026-09-23 23:23:57 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa-code!72
No description provided.