Skip to content

Fix UTF-8 exec stream truncation#272

Merged
cbusillo merged 1 commit into
mainfrom
fix/history-exec-stream-utf8-truncation
May 31, 2026
Merged

Fix UTF-8 exec stream truncation#272
cbusillo merged 1 commit into
mainfrom
fix/history-exec-stream-utf8-truncation

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • make exec stream overlap truncation UTF-8 boundary-safe
  • make exec stream memory pruning drain only whole UTF-8 characters
  • add regression tests for split-character truncation and pruning

Validation

  • cd code-rs && cargo test -p code-core exec_stream
  • ./build-fast.sh

@cbusillo cbusillo merged commit 04c1ec1 into main May 31, 2026
1 check passed
@cbusillo cbusillo deleted the fix/history-exec-stream-utf8-truncation branch May 31, 2026 15:57
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