Skip to content

fix: silence ClosedSendChannelException during bidi stream reconnect#1017

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/silent-closed-channel-retry
Jun 29, 2026
Merged

fix: silence ClosedSendChannelException during bidi stream reconnect#1017
bmc08gt merged 1 commit into
code/cashfrom
fix/silent-closed-channel-retry

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

When gRPC enters TRANSIENT_FAILURE during a reconnect attempt, the response flow closes the request channel before the initial send completes. This is an expected race condition — handle it silently instead of reporting it to Bugsnag as an error.

When gRPC enters TRANSIENT_FAILURE during a reconnect attempt, the
response flow closes the request channel before the initial send
completes. This is an expected race condition — handle it silently
instead of reporting it to Bugsnag as an error.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this Jun 29, 2026
@github-actions github-actions Bot added type: fix Bug fix area: network gRPC, connectivity, API, exchange rates and removed type: fix Bug fix labels Jun 29, 2026
@bmc08gt bmc08gt merged commit 4e3f20f into code/cash Jun 29, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/silent-closed-channel-retry branch June 29, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network gRPC, connectivity, API, exchange rates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant