Repository navigation
Add human-readable labels for all migration rules - #40
Merged
shossain786 merged 2 commits intoNov 26, 2026
Merged
shossain786 merged 2 commits into
shossain786 merged 2 commits into
Conversation
shossain786
requested changes
Nov 25, 2026
shossain786
left a comment
Contributor
There was a problem hiding this comment.
Thanks @avantikaab1507, labels for every rule are a good addition and the tests pass. A few changes:
- The
ruleLabelswitch lost its indentation. Please restore it so it matches the rest ofReport.java. - Please drop the
// NEW TEST ADDED FOR ISSUE #36comment. The PR links the issue already. MIG-017is emitted in two places: the Analyzer uses it for driver setup/teardown in lifecycle methods, and the Migrator uses it for references to removed classes (as the README says). The label should cover both, for exampleMIG-017 (Driver lifecycle code / references to removed classes).- #39 has merged and adds
MIG-018to the same switch, so please rebase onmainand keep that label.
I've assigned #36 to you.
avantikaab1507
force-pushed
the
fix/human-readable-rule-labels
branch
from
November 25, 2026 19:21
d37c858 to
f5e073f
Compare
shossain786
approved these changes
Nov 26, 2026
shossain786
left a comment
Contributor
There was a problem hiding this comment.
Thanks @avantikaab1507, all four points are addressed and the full suite passes locally (77 tests). Merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Adds human-readable labels for all Analyzer-emitted migration rule IDs in console reports while preserving raw rule IDs in JSON output.
Closes #36
Type of change
MIG-xxx)Checklist
mvn testpassesNotes for reviewers