FANNG1 opened a new pull request, #10424: URL: https://github.com/apache/gravitino/pull/10424
### What changes were proposed in this pull request? This PR updates the build workflow to skip maintenance module tests when neither the maintenance module nor its upstream dependencies changed. It adds a `maintenance_changes` filter and uses it to conditionally exclude: - `:maintenance:optimizer-api:test` - `:maintenance:gravitino-updaters:test` - `:maintenance:optimizer:test` - `:maintenance:jobs:test` ### Why are the changes needed? The maintenance tests are not needed for unrelated changes and add avoidable CI time. This change keeps those tests enabled when maintenance sources, upstream modules, or shared Gradle files change. Fix: #10115 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Verified locally with Gradle dry-run for both skip and include cases. Validated with temporary CI runs for: - web-only changes -> `maintenance_changes=false`, maintenance tests excluded - maintenance changes -> `maintenance_changes=true`, maintenance tests included - common changes -> `maintenance_changes=true`, maintenance tests included - gradle changes -> `maintenance_changes=true`, maintenance tests included -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
