Repository navigation
fix: preserve Maven module resource and dependency impact - #33
Merged
Merged
Conversation
Member
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.
Summary
Close several reproduced Maven test-selection false negatives while keeping unsupported effective-model behavior conservative.
Test*.java/Kotlin-prefix test names alongside the existing suffix conventions.Reproduction and tests
Eight synthetic regressions failed before the fix. They cover prefix tests, main/test resources, resource-only JAR dependencies, custom source/test roots, interpolated reactor dependencies, and inherited parent dependencies. Each includes relevant module/test evidence and an unrelated test/module. The previous results were COMPLETE, SELECTIVE and command synthesis OK while affected tests were omitted.
Validated on Node v24.19.0, Linux, from baseline
9d575cef7b1dd118300cd6298c9f85a8c1a44ad8:npm run typechecknpm run buildnpm run audit:boundarynode --import tsx --test --test-concurrency=1 $(find tests -name '*.test.ts' | sort)— 342/342 passedgit diff --checkThe targeted adapter suite passes 18/18. The warm-schema-2 cache regression fails before invalidation and passes afterward. The unmodified baseline passes 333/333 tests serially; its default parallel run lost suite processes in this environment. Native Maven execution, Windows and Node 22 were not run locally.
Scope and references
This remains a static POM approximation, not a complete Maven effective-model implementation. Custom resources, arbitrary plugins/test includes, external-parent effective models and managed-dependency inheritance are not fully resolved. The inheritance blocker may conservatively include dependency-management/plugin dependency tags.
Other independent safety PRs from this review also bump cache schema 2 to 3. If merged/released separately, advance the schema again (or otherwise invalidate intermediate-version graphs) for subsequent analysis changes. Do not reuse warmed graphs from an earlier subset of the fixes.