Skip to content

fix: guard streaming stdout against binary chunks#841

Merged
ryanfowler merged 1 commit into
mainfrom
fix/streaming-binary-guard
Jul 6, 2026
Merged

fix: guard streaming stdout against binary chunks#841
ryanfowler merged 1 commit into
mainfrom
fix/streaming-binary-guard

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • continue binary detection across streamed stdout chunks
  • preserve split UTF-8 sequences across read boundaries
  • add unit and terminal coverage for mid-stream binary detection

Validation

  • cargo fmt
  • cargo test --locked --all-features --lib stream::tests::checked_copy -- --nocapture
  • cargo test --locked --all-features --test terminal terminal_stdout_midstream_binary_detection -- --nocapture

@ryanfowler ryanfowler merged commit 57c2578 into main Jul 6, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix/streaming-binary-guard branch July 6, 2026 21:18
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