[ 
https://issues.apache.org/jira/browse/NUTCH-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18118186#comment-18118186
 ] 

ASF GitHub Bot commented on NUTCH-3211:
---------------------------------------

github-actions[bot] commented on PR #966:
URL: https://github.com/apache/nutch/pull/966#issuecomment-5787550646

   <table><tr><th></th><th>Tests</th><th>Passed ✅</th><th>Skipped 
⚠️</th><th>Failed</th><th>Time ⏱</th></tr><tr><td>JUnit Test Report</td><td>442 
ran</td><td>436 passed</td><td>6 skipped</td><td>0 failed</td><td>7m 28s 
366ms</td></tr></table>
   
   <table><tr><th>Test</th><th>Result</th><th>Time ⏱</th></tr><tr><td 
colspan="3">No test annotations available</td></tr></table><ul><li><a 
href="https://github.com/apache/nutch/runs/107012376870";>View JUnit Test 
Report</a></li></ul>
   
   
   
   <!

> Skip SonarCloud when test artifacts are absent; pin Ubuntu runners before 
> ubuntu-latest moves to 26.04
> ------------------------------------------------------------------------------------------------------
>
>                 Key: NUTCH-3211
>                 URL: https://issues.apache.org/jira/browse/NUTCH-3211
>             Project: Nutch
>          Issue Type: New Feature
>          Components: ci/cd
>    Affects Versions: 1.23
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 1.24
>
>
> When master pull request CI succeeds but uploads no Ubuntu JDK 17 artifacts 
> (path-filtered changes, so tests never run), the follow-up workflows disagree:
>  * junit report succeeds after skipping the PR comment / publish steps, but 
> dawidd6/action-download-artifact still records a failure annotation ("no 
> artifacts found") because if_no_artifact_found defaults to fail and the step 
> only continues via continue-on-error.
>  * sonarcloud fails on the first download 
> (build-artifacts-ubuntu-latest-jdk17) with the same annotation, so 
> coverage/JUnit download and the scan never run.
> Those two workflows should treat a missing artifact the same way: notice, 
> skip remaining work, job success, no failure annotation. If binaries were 
> uploaded but JaCoCo or JUnit XML is missing, SonarCloud should still fail.
> Separately, every Nutch workflow uses ubuntu-latest. GitHub will migrate that 
> label from Ubuntu 24.04 to 26.04 between 19 October and 19 November 2026 
> (runner-images#14748), which already annotates runs. Pin Ubuntu jobs to 
> ubuntu-24.04 and stop encoding the runner label in artifact names 
> (build-artifacts-ubuntu-latest-jdk17 / 
> junit-test-results-ubuntu-latest-jdk17) so a later OS bump does not break 
> JUnit/Sonar downloads.
> Example runs:
>  * https://github.com/apache/nutch/actions/runs/35399262856 (junit report)
>  * https://github.com/apache/nutch/actions/runs/35399262933 (sonarcloud)
>  * Parent: https://github.com/apache/nutch/actions/runs/35399070344



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to