Skip to content

fix(history): preserve exec stream offsets after UTF-8 truncation#274

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/history-exec-stream-contiguous-offsets
May 31, 2026
Merged

fix(history): preserve exec stream offsets after UTF-8 truncation#274
shiny-code-bot merged 1 commit into
mainfrom
fix/history-exec-stream-contiguous-offsets

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • preserve contiguous exec stream byte offsets when UTF-8-safe overlap truncation backs up to a character boundary
  • update the overlap regression to assert the replacement chunk merges without leaving an accounting gap

Validation

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

Refs auto-review finding on snapshot e878ddbf42c41ecfe3550e14120eb89d6edf1059.

@shiny-code-bot shiny-code-bot merged commit a18f673 into main May 31, 2026
1 check passed
@shiny-code-bot shiny-code-bot deleted the fix/history-exec-stream-contiguous-offsets branch May 31, 2026 16:44
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.

2 participants