yew1eb opened a new pull request, #3880:
URL: https://github.com/apache/celeborn/pull/3880

   ### What changes were proposed in this pull request?
   
   Each job in `maven.yml` re-downloads the Maven distribution from 
`archive.apache.org` via `build/mvn` (~25s typical, 1m49s observed on a slow 
network), even though `~/.m2` is already cached by `setup-java`. This PR adds 
an `actions/cache@v4` step for the extracted Maven install under `build/`, so 
`build/mvn` reuses the cached binary — its `install_app` already skips the 
download when `apache-maven-<version>/bin/mvn` exists.
   
   This mirrors the sbt launcher caching added for `sbt.yml` in CELEBORN-2432.
   
   ### Why are the changes needed?
   
   Save ~25s–2min per job; ~10–40 minutes of total machine time per CI run.
   
   ### Does this PR resolve a correctness bug?
   
   - [ ] Yes
   
   ### Does this PR introduce _any_ user-facing change?
   
   - [ ] No
   
   ### How was this patch tested?
   
   Verified locally that `build/mvn` skips the download when 
`build/apache-maven-<version>/bin/mvn` is present. CI on this branch shows the 
cache step restoring and no `curl` download of the Maven tarball.
   


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