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

Upgrade Error Prone 2.33.0 -> 2.35.1 #1363

Merged
merged 3 commits into from
Oct 26, 2024
Merged

Conversation

Picnic-DevPla-Bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
Error Prone (source) minor 2.33.0 -> 2.34.0
Error Prone (source) compile minor 2.33.0 -> 2.34.0

Release Notes

google/error-prone (Error Prone)

v2.34.0: Error Prone 2.34.0

Compare Source

Changes:

  • Passing the javac flag --should-stop=ifError=FLOW is now required when running Error Prone (#​4595)
  • The MemberName check was renamed to IdentifierName

New checks:

Closed issues: #​4595, #​4598, #​4620

Full changelog: google/error-prone@v2.33.0...v2.34.0


  • If you want to rebase/retry this PR, check this box

@Picnic-DevPla-Bot
Copy link
Contributor Author

Picnic-DevPla-Bot commented Oct 19, 2024

Suggested commit message:

Upgrade Error Prone 2.33.0 -> 2.35.1 (#1363)

See:
- https://github.com/google/error-prone/releases/tag/v2.34.0
- https://github.com/google/error-prone/releases/tag/v2.35.0
- https://github.com/google/error-prone/releases/tag/v2.35.1
- https://github.com/google/error-prone/compare/v2.33.0...v2.35.1
- https://github.com/PicnicSupermarket/error-prone/compare/v2.33.0-picnic-2...v2.35.1-picnic-1

@Stephan202 Stephan202 added this to the 0.19.0 milestone Oct 19, 2024
@Stephan202 Stephan202 force-pushed the renovate/version.error-prone-orig branch from a48f0b6 to c683799 Compare October 19, 2024 09:06
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

1 similar comment
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

pom.xml Outdated
Comment on lines 1963 to 1968
<!-- This check flags bad member names, but
also perfectly fine type names. Consider
enabling it. -->
-Xep:IdentifierName:OFF
Copy link
Member

Choose a reason for hiding this comment

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

Might want to do this in this PR.

pom.xml Outdated
Comment on lines 2001 to 2002
<!-- XXX: Drop! This is a test. -->
<arg>--should-stop=ifError=INIT</arg>
Copy link
Member

Choose a reason for hiding this comment

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

This is me testing the changes for google/error-prone#4595. The build passes both without this flag and with INIT, which based on the release notes shouldn't happen. (When I replace INIT with a bogus value the compiler does complain, so the flag is not ignored.)

It appears that the issue is that flag validation happens here, while ErrorProneJavacPlugin bypasses that logic by directly invoking this method.

Copy link
Member

Choose a reason for hiding this comment

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

^ Follow-up here.

@Picnic-DevPla-Bot
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@Stephan202 Stephan202 force-pushed the renovate/version.error-prone-orig branch from c683799 to 0d3311b Compare October 26, 2024 10:42
@Stephan202 Stephan202 changed the title Upgrade Error Prone 2.33.0 -> 2.34.0 Upgrade Error Prone 2.33.0 -> 2.35.1 Oct 26, 2024
Copy link

Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

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

Rebased and added a commit; bumped the version. I propose that we update the compatibility matrix after the upcoming Error Prone Support release.

@rickie rickie merged commit 6e88e3c into master Oct 26, 2024
16 checks passed
@rickie rickie deleted the renovate/version.error-prone-orig branch October 26, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants