fix: keep record mode responsive for TUI apps #26

Merged
ober merged 5 commits from fix/record-mode-tui-relay into main 2026-08-26 15:06:13 -04:00
Owner

Summary

  • make the recording PTY relay retry partial/EAGAIN writes so TUI redraws are not dropped
  • batch capture persistence and drain/join the capture thread before sealing recordings
  • propagate terminal resizes while recording is paused
  • add real-PTY regression coverage for paused resize and 4,096 sustained output frames
  • bump the package version to 0.5.3

Verification

  • make test (691 jsh tests, 25 search-ui tests, record wiring PASS=15 FAIL=0)
  • make clean && make binary
  • JSH_RECORD=0 ./jsh-macos -c echo smoke
  • make pre-pr-macos-linux-amd64-all
  • jerboa_check_balance recorder.ss
  • jerboa_security_scan changed lines
  • git diff --check
  • bash -n test/test-record-wiring.sh
## Summary - make the recording PTY relay retry partial/EAGAIN writes so TUI redraws are not dropped - batch capture persistence and drain/join the capture thread before sealing recordings - propagate terminal resizes while recording is paused - add real-PTY regression coverage for paused resize and 4,096 sustained output frames - bump the package version to 0.5.3 ## Verification - make test (691 jsh tests, 25 search-ui tests, record wiring PASS=15 FAIL=0) - make clean && make binary - JSH_RECORD=0 ./jsh-macos -c echo smoke - make pre-pr-macos-linux-amd64-all - jerboa_check_balance recorder.ss - jerboa_security_scan changed lines - git diff --check - bash -n test/test-record-wiring.sh
fix: keep record mode responsive for TUI apps
Some checks failed
version-policy / required (pull_request) Successful in 3s
required-ci / required (pull_request) Failing after 6m51s
6351379406
test: signal PTY resize deterministically
Some checks failed
version-policy / required (pull_request) Successful in 3s
required-ci / required (pull_request) Failing after 5m50s
5775a06f0a
fix: resize capture slave on FreeBSD
Some checks failed
version-policy / required (pull_request) Successful in 4s
required-ci / required (pull_request) Failing after 6m45s
e663248b8b
test: use system stty for PTY resize
Some checks failed
version-policy / required (pull_request) Successful in 3s
required-ci / required (pull_request) Failing after 7m12s
8ddf4112e2
test: report PTY resize endpoints
All checks were successful
version-policy / required (pull_request) Successful in 3s
required-ci / required (pull_request) Successful in 11m46s
d5f009f3d4
ober scheduled this pull request to auto merge when all checks succeed 2026-08-26 15:05:58 -04:00
ober merged commit d0e092ed09 into main 2026-08-26 15:06:13 -04:00
ober referenced this pull request from a commit 2026-08-26 15:06:14 -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!26
No description provided.