fix(record): keep redraw-heavy TUIs responsive #28

Merged
ober merged 1 commit from fix/record-tui-relay-search into main 2026-08-26 17:08:53 -04:00
Owner

Summary

  • drain and batch PTY bytes before JSON encoding/indexing so Codex and other redraw-heavy TUIs cannot back up the capture PTY
  • synchronize final PTY output before closing the command index row
  • strip ANSI controls and keep a rolling 1 MiB normalized search tail so late TUI text such as character-by-character input remains searchable
  • add a regression that exceeds the old 64 KiB cap and renders the marker one glyph at a time
  • bump version to 0.5.5

Verification

  • real Codex 0.149.1 under active recording: completed 200 streamed lines, remained interactive, typed rubber character-by-character, and ,record search rubber found the Codex session
  • make test (691 jsh + 25 search-ui + 16 secure-history checks)
  • make binary
  • make pre-pr-macos-linux-amd64-all
  • changed-line Jerboa security scan: clean
## Summary - drain and batch PTY bytes before JSON encoding/indexing so Codex and other redraw-heavy TUIs cannot back up the capture PTY - synchronize final PTY output before closing the command index row - strip ANSI controls and keep a rolling 1 MiB normalized search tail so late TUI text such as character-by-character input remains searchable - add a regression that exceeds the old 64 KiB cap and renders the marker one glyph at a time - bump version to 0.5.5 ## Verification - real Codex 0.149.1 under active recording: completed 200 streamed lines, remained interactive, typed `rubber` character-by-character, and `,record search rubber` found the Codex session - `make test` (691 jsh + 25 search-ui + 16 secure-history checks) - `make binary` - `make pre-pr-macos-linux-amd64-all` - changed-line Jerboa security scan: clean
fix(record): keep redraw-heavy TUIs responsive
Some checks failed
version-policy / required (pull_request) Successful in 3s
required-ci / required (pull_request) Failing after 6m13s
cc70a87e7f
ober scheduled this pull request to auto merge when all checks succeed 2026-08-26 17:08:27 -04:00
ober merged commit 38914e20f9 into main 2026-08-26 17:08:53 -04:00
ober referenced this pull request from a commit 2026-08-26 17:08:54 -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-shell-extras!28
No description provided.