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

Severity level error is still listed in the documentation for the checks that were recently demoted to warnings #1704

Open
davido opened this issue Jul 6, 2020 · 3 comments

Comments

@davido
Copy link
Contributor

davido commented Jul 6, 2020

In 230ad26
the two checks were demoted to severity level warning, but it seems that the documentation was missed to be adapted: [1], [2].

[1] https://errorprone.info/bugpattern/ExtendsAutoValue
[2] https://errorprone.info/bugpattern/RefersToDaggerCodegen

davido referenced this issue Jul 6, 2020
…ings

to avoid break builds that don't have an `@Generated` annotation
available, see discussion in:

#1348

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=312115507
@eaftan
Copy link
Contributor

eaftan commented Jul 7, 2020

Thanks for the report. It looks like that commit disabled those checks instead of making them warnings. @cushon, was that intentional?

@cushon
Copy link
Collaborator

cushon commented Jul 8, 2020

I forget whether I intended to make them warnings and messed up the description, or the other way around. But disabling them seems OK to me.

The issue with the docs here is that the CI used to automatically push updated docs to the gh-pages branch, and that seems to have rotted.

@davido
Copy link
Contributor Author

davido commented Jul 8, 2020

But disabling them seems OK to me.

My understanding is that the intention was to only demote the checks to warning severity for now, until the EP community migrated off Java 8 and revert to the error severity later.

As we know Java 8/Java 11 cross compilation is somehow convoluted in Bazel and produces hard to understand and fix failures, e.g. [1],[2].

Given that Bazel only considers checks with error severity by default it would be totally sufficient to demote the severity level (including the documentation) and not to disable the checks.

[1] bazelbuild/rules_closure#483
[2] bazelbuild/rules_kotlin#321

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

No branches or pull requests

3 participants