Skip to content

Conversation

@alextwoods
Copy link
Contributor

Description of changes:
Output event streams were hanging when trying to read bytes from the AsyncBytesReader when self._remainder already had sufficient bytes to satisfy the read.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@alextwoods alextwoods requested a review from a team as a code owner March 9, 2025 23:01
nateprewitt
nateprewitt previously approved these changes Mar 10, 2025
Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a behavior we should probably have a test for to make sure it continues to work like we expect. Doesn't necessarily need to be done here but we should have an item to come back and write up tests for this read() impl.

JordonPhillips
JordonPhillips previously approved these changes Mar 10, 2025
Copy link
Contributor

@JordonPhillips JordonPhillips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to adding a test

@alextwoods alextwoods dismissed stale reviews from JordonPhillips and nateprewitt via f61e683 March 10, 2025 15:57
@alextwoods alextwoods merged commit c06dd6d into smithy-lang:develop Mar 10, 2025
2 checks passed
@alextwoods alextwoods deleted the fix_eventstreams branch March 10, 2025 16:20
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.

3 participants