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

core: Adds @CheckReturnValue to CallOptions #4427

Merged
merged 1 commit into from
May 2, 2018

Conversation

groakley
Copy link
Contributor

@groakley groakley commented May 2, 2018

The handful of Google internal targets that violated this check have already been cleaned up. It looks like since @carl-mastrangelo first attempted this change, the errorprone tooling has improved such that this is no longer flagging false-positives, like unit tests.

Fixes #3671

@carl-mastrangelo carl-mastrangelo self-requested a review May 2, 2018 22:32
Copy link
Contributor

@carl-mastrangelo carl-mastrangelo left a comment

Choose a reason for hiding this comment

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

LGTM

@dapengzhang0 dapengzhang0 added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label May 2, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label May 2, 2018
@carl-mastrangelo carl-mastrangelo merged commit 6bf8e0c into grpc:master May 2, 2018
@ejona86
Copy link
Member

ejona86 commented May 2, 2018

Woo!

@dapengzhang0
Copy link
Member

@groakley Do you happen to know which commit or CL in errorprone tooling improved such that this is no longer flagging false-positives, like unit tests? If open source users have a lot false-positives (although not likely), and they have to bump errorprone versions, that might break grpc-java build because @DoNotMock was removed from errorprone lately in open source world.

@groakley
Copy link
Contributor Author

groakley commented May 4, 2018

@dapengzhang0 I don't have a comprehensive list, but here are a couple of representative issues that were addressed (both early 2016):

These sound like the false positives that @carl-mastrangelo was describing.

I would venture to guess v2.0.9 would be the first release to contain those changes

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants