Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(common): fewer spurious warnings in the log #10811

Merged

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Feb 11, 2023

When a streaming RPC is cancelled we should expect the final status of the RPC to be either kOk, or kCancelled. Both are normal outcomes in this case and do not deserve a warning in the log.


This change is Reviewable

When a streaming RPC is cancelled we should expect the final status of
the RPC to be either kOk, or kCancelled. Both are normal outcomes in
this case and do not deserve a warning in the log.
@codecov
Copy link

codecov bot commented Feb 11, 2023

Codecov Report

Base: 93.65% // Head: 93.65% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (aa2ec5e) compared to base (3ff9f90).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10811   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files        1713     1713           
  Lines      153982   154017   +35     
=======================================
+ Hits       144208   144245   +37     
+ Misses       9774     9772    -2     
Impacted Files Coverage Δ
google/cloud/internal/streaming_read_rpc.h 96.29% <ø> (-0.14%) ⬇️
google/cloud/internal/streaming_write_rpc_impl.h 84.37% <ø> (+2.55%) ⬆️
google/cloud/internal/streaming_read_rpc.cc 100.00% <100.00%> (ø)
google/cloud/internal/streaming_read_rpc_test.cc 98.38% <100.00%> (+0.34%) ⬆️
google/cloud/internal/streaming_write_rpc_impl.cc 100.00% <100.00%> (+100.00%) ⬆️
google/cloud/internal/streaming_write_rpc_test.cc 100.00% <100.00%> (ø)
...cloud/pubsub/internal/subscription_session_test.cc 97.99% <0.00%> (-0.84%) ⬇️
google/cloud/pubsub/samples/samples.cc 86.94% <0.00%> (-0.15%) ⬇️
google/cloud/completion_queue_test.cc 97.32% <0.00%> (+0.19%) ⬆️
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@coryan coryan marked this pull request as ready for review February 11, 2023 22:30
@coryan coryan requested a review from a team as a code owner February 11, 2023 22:30
Copy link
Member

@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @coryan)

@coryan coryan merged commit c8044e3 into googleapis:main Feb 14, 2023
@coryan coryan deleted the fix-common-unhandled-errors-in-streaming-rpc branch February 14, 2023 12:49
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