GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Replace static TestSuiteOrdering registry with dynamic class orderer by gnodet · Pull Request #13169 · apache/maven Conversation
Contributor
ProblemThe This caused all recently backported ITs (33+ classes) to be silently excluded from CI on this branch. FixReplace the static registry with the dynamic The only adaptation from master:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe static map-based TestSuiteOrdering on maven-4.0.x required every new IT class to be explicitly registered. Any class missing from the registry was silently skipped (not run), which caused all recently backported ITs to be excluded from CI runs on this branch. Replace with the dynamic ClassOrderer already used on master: tests are ordered automatically by their numeric suffix (gh-XXXXX > mng-XXXXX > it-XXXXX in descending order), with no explicit registration needed. The only adaptation from master is keeping the String-based Verifier constructor (maven-4.0.x does not have the Path-based one) and keeping the ExecutorHelper mode logging already present on this branch.
gnodet-bot
suggested changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The dynamic ordering approach is a clear improvement over a 750-line hand-maintained list, but there are two correctness issues that must be fixed before merge. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. …d classes - MavenITBootstrapTest now gets key '9-...' so it sorts first after descending reversal, matching the original priority -10 behavior - Unrecognized class name patterns log a warning via the existing 'out' field (previously declared but unused in the new implementation) - Update class javadoc to document both behaviors
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gnodet-bot
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings — status:
New finding: One correctness issue remains with the This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Unknown classes were assigned '4-' prefix which, after .reversed(),
sorted them BETWEEN Bootstrap ('9-') and gh-tests ('3-'), contradicting
the Javadoc claiming they run last.
Two fixes:
1. Use '0-' for unrecognized classes so they sort last (after all known
categories) in the descending order.
2. Move the MavenITBootstrapTest special-case to the top of getOrderKey
(before the three pattern checks) so a hypothetical future rename like
MavenITBootstrap42Test doesn't accidentally match IT_PATTERN and sort last.
Update Javadoc to accurately document the actual execution order.
Actual order is now: Bootstrap (9-) → gh (3-) → mng (2-) → it (1-) → unknowns (0-)
gnodet-bot
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings — status:
Javadoc accurately reflects the actual execution order: Bootstrap → gh → mng → it → unknowns. All three requested changes are addressed. Code is correct. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions- Add MDEP_PATTERN to handle MavenITmdep<N>Test class names (e.g. MavenITmdep0590ClassifiedPomArtifactFromReactorTest), ordering them in the same bucket as it-prefixed tests - Deduplicate the fallback warning using a ConcurrentHashMap-backed Set, so each unrecognized class name is only logged once instead of once per surefire thread invocation (which caused the same message to appear 20+ times in the output) - Clarify Javadoc to mention the mdep prefix
gnodet-bot
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings (from approved SHA New findings (introduced by Finding #1 — Javadoc not updated for mdep (nit, must fix) The class-level Javadoc still describes three categories and omits The master version of this commit (PR #13171) correctly says: Apply the same update here. Finding #2 — The new commit leaves Master already makes it : The field is only written once (at class-load time) and never reassigned — there is no reason to leave it non-final. This was the state before the backport commit was ported from master. Fix: add . Both are nits copied verbatim from what master (PR #13171) already has. Two-character + Javadoc fixes. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
gnodet-bot
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings (from approved SHA New findings (introduced by Finding #1 — Javadoc not updated for mdep (nit, must fix) The class-level Javadoc still describes three categories and omits The master version of this same commit (PR #13171) correctly says: Apply the same update here — the mdep category was added to the implementation but the Javadoc wasn't synced. Finding #2 — The new commit leaves private static PrintStream out = System.out; Master already makes it private static final PrintStream out = System.out; The field is only written at class-load time and never reassigned — no reason to omit Fix: add Both are two-character fixes that bring the 4.0.x file in sync with what master (PR #13171) already has. This review was generated by an AI agent, Hermes on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gnodet-bot
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings — status:
All previous findings addressed. Code is correct and matches the master version. Ready to merge. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
cstamas
approved these changes
- MavenITBomConsumerPomPropertyResolutionTest → MavenITgh12625... - MavenITConsumerPomBomFromSettingsRepoTest → MavenITgh11767... - MavenITMvnupToolchainPluginStrategyTest → MavenITgh12922...
gnodet-bot
suggested changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings (from approved SHA New finding — compile error in all three renamed files (must fix) The rename commit updated the file names and the class declarations, but left the constructor names referencing the old class names. In Java, a constructor must have the same name as its enclosing class — mismatches are compile errors, not runtime issues.
All three need their constructor names updated to match the new class names. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
gnodet-bot
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after commit Prior findings — status:
Pattern verification: Confirmed all four patterns are mutually exclusive — Diff from master: The 4.0.x backport correctly retains the No remaining issues. ✅ This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers+1 more reviewerUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |