comphead commented on code in PR #5422:
URL: https://github.com/apache/datafusion-comet/pull/5422#discussion_r3854511585
##########
.github/actions/java-test/action.yaml:
##########
@@ -76,6 +76,45 @@ runs:
restore-keys: |
${{ runner.os }}-java-maven-
+ # Maven itself is stored outside the dependency repository. Keep its cache
+ # independent of pom.xml changes and preserve the macOS cache workaround.
+ - name: Restore Maven distribution
+ id: maven-distribution
+ if: ${{ runner.os != 'macOS' }}
+ uses: actions/cache/restore@v5
+ with:
+ path: |
+ ~/.m2/wrapper/dists
+ /root/.m2/wrapper/dists
+ key: ${{ runner.os }}-${{ runner.arch }}-maven-wrapper-${{
hashFiles('.mvn/wrapper/maven-wrapper.properties') }}
+
+ # Retry only the wrapper download, never compilation or test execution.
Review Comment:
lets also comment the delay is exponential depending on the attempt
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]