Skip to content

Conversation

@pujawadare
Copy link
Contributor

Always put None into the request queue when closing a bidi stream. This ensures that the request queue is always signaled as closed, even if the underlying gRPC call object is not yet available.

Fixes #850 🦕

@pujawadare pujawadare requested review from a team as code owners October 28, 2025 14:19
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Oct 28, 2025
@daniel-sanche
Copy link
Contributor

@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Oct 29, 2025
Copy link
Contributor Author

@pujawadare pujawadare left a comment

Choose a reason for hiding this comment

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

Also included async bidi classes in the fix.

daniel-sanche
daniel-sanche previously approved these changes Oct 29, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Oct 30, 2025
@pujawadare pujawadare force-pushed the bidi-close branch 2 times, most recently from 7da01b3 to 6768183 Compare October 30, 2025 06:04
@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: m Pull request size is medium. labels Oct 30, 2025
Always put `None` into the request queue when closing a bidi stream.

This ensures that the request queue is always signaled as closed, even if the underlying gRPC call object is not yet available.
Copy link
Contributor

@chalmerlowe chalmerlowe left a comment

Choose a reason for hiding this comment

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

LGTM

@daniel-sanche daniel-sanche merged commit c97b3a0 into googleapis:main Oct 30, 2025
45 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tailing streams on closing a bidi stream.

4 participants