lewismc opened a new pull request, #884:
URL: https://github.com/apache/nutch/pull/884

   This is a PR for 
[NUTCH-3143](https://issues.apache.org/jira/browse/NUTCH-3143).
   
   ## Root Causes Identified
   
   1. **Artifact overwrite race condition** — Both `ubuntu-latest` and 
`macos-latest` matrix jobs uploaded test results to the same artifact name 
(`junit-test-results`) with `overwrite: true`. Whichever job finished last 
would overwrite the other's results, causing inconsistent test counts between 
runs.
   
   2. **Gap in conditional test execution logic** — When a commit didn't match 
any path filter (e.g., documentation-only changes), no test step was executed, 
resulting in empty or missing test results.
   
   3. **Insufficient job timeout** — The 30-minute timeout could potentially 
cut off long-running test suites.
   
   ## Fixes Applied
   
   - Changed artifact names to be OS-specific: 
`junit-test-results-ubuntu-latest` and `junit-test-results-macos-latest`
   - Added fallback test step to run all tests when no path filters match
   - Increased job timeout from 30 to 45 minutes
   - Updated junit-report workflow to download and merge results from both OS 
artifacts
   - Fixed invalid `include_skipped` input and added 
`skip_comment_without_tests` to handle missing PR context gracefully
   


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