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

errorprone 2.3.3 -> 2.3.4 #1082

Merged
merged 5 commits into from
Dec 3, 2019
Merged

errorprone 2.3.3 -> 2.3.4 #1082

merged 5 commits into from
Dec 3, 2019

Conversation

iamdanfox
Copy link
Contributor

Before this PR

error-prone's last release was in March, with a ton of cool stuff piled up on develop.

After this PR

==COMMIT_MSG==
We now run error-prone 2.3.4, to benefit from smarter static analysis, and hopefully pick up the claimed performance Improvements:

40% speedup when run against Google's codebase with errors enabled.
==COMMIT_MSG==

https://github.com/google/error-prone/releases

Possible downsides?

  • any release has a risk of unexpected false positives, slowing down error-prone adoption

@changelog-app
Copy link

changelog-app bot commented Dec 3, 2019

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

We now run error-prone 2.3.4, to benefit from smarter static analysis, and hopefully pick up the claimed performance Improvements:

40% speedup when run against Google's codebase with errors enabled.

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from ellisjoe December 3, 2019 12:07
* Fix GradleCacheableTaskAction on error-prone 2.3.4

* Fix Slf4jConstantLogMessageTests: Don't reuse CompilationHelper instances
@carterkozak
Copy link
Contributor

👍

@carterkozak carterkozak requested review from carterkozak and removed request for ellisjoe December 3, 2019 16:52
@carterkozak
Copy link
Contributor

@iamdanfox this will need an approval from you as well since it includes my PR.

@@ -54,6 +54,7 @@ allprojects {
check("PreferSafeLoggableExceptions", CheckSeverity.OFF)
check("PreferSafeLoggingPreconditions", CheckSeverity.OFF)
check("PreconditionsConstantMessage", CheckSeverity.OFF)
check("GradleCacheableTaskAction", CheckSeverity.OFF)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can re-enable this as soon as this repo upgrades to a version of baseline that includes this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's really scary that a bump in error_prone_annotations alone (which looks like it should be a sort of API, not implementation) changes the implementation logic.

@iamdanfox
Copy link
Contributor Author

iamdanfox commented Dec 3, 2019

👍 bulldozer?

@bulldozer-bot bulldozer-bot bot merged commit 152ad42 into develop Dec 3, 2019
@bulldozer-bot bulldozer-bot bot deleted the dfox/upgrade-error-prone branch December 3, 2019 17:30
@svc-autorelease
Copy link
Collaborator

Released 2.38.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants