Skip to content

Conversation

@Picnic-DevPla-Bot
Copy link
Contributor

@Picnic-DevPla-Bot Picnic-DevPla-Bot commented Sep 18, 2025

This PR contains the following updates:

Package Type Update Change
Guava minor 33.4.8-jre -> 33.5.0-jre
Guava import minor 33.4.8-jre -> 33.5.0-jre

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

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.

Suggested commit message:

Upgrade Guava 33.4.8-jre -> 33.5.0-jre (#1869)

And drop some Refaster rules now covered by `@InlineMe` instructions.

See:
- https://guava.dev/releases/33.5.0-jre/api/diffs/
- https://github.com/google/guava/releases/tag/v33.5.0
- https://github.com/google/guava/compare/v33.4.8...v33.5.0

@github-actions
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.

3 similar comments
@github-actions
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.

@github-actions
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.

@github-actions
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.

I missed the build failures 🤦. Added a commit to resolve them, and updated the suggested commit message.

@Stephan202
Copy link
Member

Stephan202 commented Sep 20, 2025

/integration-test -> build ✔️.

@github-actions
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.

@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.

@rickie
Copy link
Member

rickie commented Sep 23, 2025

This means that the coverage for OpenRewrite is slightly less after dropping these, I think.

@Stephan202
Copy link
Member

This means that the coverage for OpenRewrite is slightly less after dropping these, I think.

Yes, that's a trade-off. What I did here matches what we did earlier in similar situations, such as #1336. We could instead:

  1. Reinstate the rules with a suppression (though I wouldn't want to indefinitely collect such "obsolete" rules).
  2. Contribute these rules upstream to OpenRewrite.
  3. (Longer-term) introduce an OpenRewrite feature that generates recipes from the @InlineMe directives extracted from a given JAR.
  4. ... maybe something else ;)

CC @timtebeek for opinions :)

@timtebeek
Copy link
Contributor

timtebeek commented Sep 23, 2025

Fine to drop these refaster rules! On our end we've also adopted @InlineMe with generated recipes for an argument Guava version:
https://github.com/openrewrite/rewrite-migrate-java/blob/041816a8e62b89391d839775dcb863d2d516f585/src/main/resources/META-INF/rewrite/inline-guava-methods.yml#L18-L36

This means we can now convert between multiple minor/major versions of Guava even as they remove methods and their annotations.

@github-actions
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.

@rickie rickie force-pushed the renovate/guava-33.x branch from 9d814c8 to f4ae81d Compare September 23, 2025 12:09
@github-actions
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.

@sonarqubecloud
Copy link

@rickie rickie merged commit 9a6c8a6 into master Sep 23, 2025
18 checks passed
@rickie rickie deleted the renovate/guava-33.x branch September 23, 2025 12:27
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.

5 participants