Skip to content

Conversation

optionsome
Copy link
Member

Summary

This introduces Checkstyle and OpenRewrite to validate and fix that we don't have unused, duplicate or star imports. OpenRewrite is not run by default. In the future, we will add more rules to Checkstyle and and recipes to OpenRewrite to autofix those issues.

Issue

Related to Helsinki's OTP Summit discussions and #6913.

Unit tests

No

Documentation

Updated

Changelog

Not sure if needed

@optionsome optionsome requested a review from a team as a code owner October 21, 2025 13:39
@optionsome optionsome added the !Technical Debt Improve code quality, no functional changes. label Oct 21, 2025
@optionsome
Copy link
Member Author

There is some new issue related to the text-fixtures. OpenRewrite tries to remove some imports that are actually needed. Not sure if we should move the test classes to slightly different packages to get rid of this problem.

@optionsome optionsome added this to the 2.9 (next release) milestone Oct 21, 2025
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.18%. Comparing base (3281ab7) to head (8fd0fea).
⚠️ Report is 3 commits behind head on dev-2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6988   +/-   ##
==========================================
  Coverage      72.18%   72.18%           
- Complexity     19839    19841    +2     
==========================================
  Files           2155     2155           
  Lines          80051    80051           
  Branches        8082     8082           
==========================================
+ Hits           57785    57788    +3     
+ Misses         19419    19418    -1     
+ Partials        2847     2845    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

!Technical Debt Improve code quality, no functional changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant