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

RSDK-9672 Insulate grpc Status #350

Merged
merged 5 commits into from
Jan 8, 2025
Merged

Conversation

lia-viam
Copy link
Contributor

@lia-viam lia-viam commented Jan 7, 2025

Takes grpc status includes out of public headers

Note that service_helper has been moved to private for the time being--if there is demand we can re-publish it but it is not currently used anywhere and provides some awkward headaches for google header insulation

@lia-viam lia-viam requested a review from a team as a code owner January 7, 2025 17:33
@lia-viam lia-viam requested review from njooma and stuqdog and removed request for a team January 7, 2025 17:33
if (result.ok() ||
(cancelled_by_handler && result.error_code() == ::grpc::StatusCode::CANCELLED)) {
if (result.ok() || (cancelled_by_handler &&
client_helper_details::isStatusCancelled(result.error_code()))) {
Copy link
Member

@stuqdog stuqdog Jan 8, 2025

Choose a reason for hiding this comment

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

(nit) delete blank newline here? jk formatting made it look weird on my computer, ignore!

@lia-viam lia-viam merged commit ddbf852 into viamrobotics:main Jan 8, 2025
4 checks passed
@lia-viam lia-viam deleted the grpc-status branch January 8, 2025 20:01
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