gnodet opened a new pull request, #23115:
URL: https://github.com/apache/camel/pull/23115

   Files in directories without a `pom.xml` (e.g. `proposals/*.adoc`, 
`README.md`) cause
   `findProjectRoot` to return `"."` which the script treats as "root project 
changed",
   aborting all test execution with `exit 0`. This means PRs touching any 
non-module file
   alongside real code changes run **zero tests**.
   
   For example, [PR #23002](https://github.com/apache/camel/pull/23002) ran no 
tests because
   it modified `proposals/tracing.adoc`.
   
   **Fix:** Skip these files with `continue` instead of aborting. Root-level 
POM changes are
   already handled separately by the grep and Scalpel dependency analysis in 
Step 2.
   
   ## Test plan
   - [ ] PR that touches only `proposals/*.adoc` → no modules tested (correct, 
doc-only)
   - [ ] PR that touches `proposals/*.adoc` + component code → component tests 
run (was broken, now fixed)
   - [ ] PR that touches only component code → unchanged behavior


-- 
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]

Reply via email to