rok opened a new pull request, #50047:
URL: https://github.com/apache/arrow/pull/50047

   ### Rationale for this change
   
   C++ CI jobs currently key `ccache`/Docker volume caches with 
`hashFiles('cpp/**')`. This creates new immutable GitHub Actions cache entries 
whenever any C++ file changes, even though `ccache` already handles per-file 
invalidation internally.
   
   Recent CI logs show that when caches are restored, C++ jobs get high ccache 
hit rates, but GitHub cache restore misses are common and cause large runtime 
regressions.
   
   ### What changes are included in this PR?
   
   * Replace `actions/cache` with explicit `actions/cache/restore` and 
`actions/cache/save`.
   * Remove `hashFiles('cpp/**')` from C++ cache keys.
   * Use stable restore prefixes per job/config.
   * Save updated caches only from `main`, using unique `github.run_id` keys.
   
   ### Are these changes tested?
   
   By CI?
   
   ### Are there any user-facing changes?
   
   CI users should see faster builds..
   


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