You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test discovery to never return root module in fast builds
The test_discovery.py script was incorrectly returning "." (root module)
when root pom.xml was changed, causing fast builds to run ALL tests
instead of being targeted. This defeats the purpose of fast builds.
Key fixes:
- Exclude root pom.xml from relevant file detection
- Never return root module from _find_module_for_file
- Add debugging to show when root module is excluded
This ensures fast builds NEVER run full test suites, even when
version bumps or other root changes occur. The full CI/CD build
will handle comprehensive testing.
Signed-off-by: [email protected]
0 commit comments