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

Release Error Prone 2.4.0 #1639

Closed
cushon opened this issue May 27, 2020 · 9 comments
Closed

Release Error Prone 2.4.0 #1639

cushon opened this issue May 27, 2020 · 9 comments
Assignees

Comments

@cushon
Copy link
Collaborator

cushon commented May 27, 2020

Tracking bug for 2.4.0 release.

@cushon cushon self-assigned this May 27, 2020
@cushon cushon pinned this issue May 27, 2020
@davido
Copy link
Contributor

davido commented May 27, 2020

Great news! Waiting for EP 2.4.0 to show up, so that I can bump outdated and actually unknown EP version in Bazel (2.3.2-SNAPSHOT version is currently used there).

@cushon
Copy link
Collaborator Author

cushon commented May 27, 2020

Thanks @davido! Have you had a chance to test the latest snapshot of EP against Bazel's CI?

@davido
Copy link
Contributor

davido commented May 27, 2020

Have you had a chance to test the latest snapshot of EP against Bazel's CI?

Sure! Already build EP 2.3.5-SNAPSHOT that includes all your recent changes and uploaded a new version of my PR (forced push). Unfortunately, the outdated Android SDK used in Bazel, that still depends on outdated Guava library causing all Android tests in Bazel to fail.

I have also built java_tools_java11.zip on Linux and published it on my java_tools fork: [1]. Now I will kick the verification for Gerrit eco-system with this new and shiny java_tools, with the latest and greatest EP 2.3.5-SNAPSHOT: [2].

Next step is to use EP 2.4.0 for "java_tools_java14.zip" work. Hope to upload a PR for review ASAP (jdk.compiler module is missing, but i think it can be skipped in the toolchain definition).

[1] https://github.com/davido/java_tools/releases/tag/javac11-v12.0
[2] https://gerrit-review.googlesource.com/c/gerrit/+/265493

@cushon
Copy link
Collaborator Author

cushon commented May 27, 2020

I think Error Prone is still compatible with guava-25.1-jre. It might be possible to defer upgrading Bazel's version of guava, and avoid the issue with the Android SDK?

@cushon
Copy link
Collaborator Author

cushon commented May 27, 2020

Anyway, let me know if the latest snapshot looks sane to you, and I can go ahead it release it. We can always do a point release if additional testing with Bazel reveals other issues.

@davido
Copy link
Contributor

davido commented May 27, 2020

I think Error Prone is still compatible with guava-25.1-jre.

Thanks for clarifying, let me try to downgrade guava again and update the PR. Will upload new version in a moment.

@davido
Copy link
Contributor

davido commented May 27, 2020

Thanks, @cushon. After downgrading guava again to guava-25.1-jre Bazel CI is passing all tests with the latest EP 2.3.5-SNAPSHOT upgrade: bazelbuild/bazel#11426.

I have also tested Gerrit and JGit againt latest EP snapshot and have not found any issues. Looks sane to me. I think you can go ahead and release it ;-)

Thanks again for demoting problematic bug patterns that broke Bazel cross compilation use case from error severity to warning and adding JDK 14 support!

Update: I created java_tools_java14 for Bazel: [1] that includes EP@HEAD and was able to build Gerrit using Bazel and produce major byte code version 58 (Java 14) in this CL: [2]. However, the Mockito based tests are failing: [3].

[1] https://github.com/davido/java_tools/releases/tag/v14.0
[2] https://gerrit-review.googlesource.com/c/gerrit/+/269382
[3] mockito/mockito#1941

@cushon
Copy link
Collaborator Author

cushon commented May 28, 2020

As a quick update, I found a few crashes while validating the release, and I'm preparing fixes for those. I'll cut the 2.4.0 release as soon as those fixes land.

cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313480851
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313487177
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313488001
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313496085
cushon added a commit that referenced this issue May 29, 2020
#1639

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313686571
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313711584
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313480851
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313487177
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313488001
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313496085
cushon added a commit that referenced this issue May 29, 2020
#1639

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313686571
cushon added a commit that referenced this issue May 29, 2020
Discovered while validating 2.4.0 release (#1639)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=313711584
cushon added a commit to cushon/error-prone that referenced this issue May 29, 2020
@cushon
Copy link
Collaborator Author

cushon commented May 29, 2020

https://github.com/google/error-prone/releases/tag/v2.4.0

@cushon cushon closed this as completed May 29, 2020
@cushon cushon unpinned this issue May 29, 2020
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

2 participants