-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-46805: [CI][Dev] Fix caching for R hooks in lint job #46812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The current run is a re-run with cache hit 🎉 |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
| sudo apt install -y -V \ | ||
| pre-commit \ | ||
| r-cran-xml2 \ | ||
| r-base \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit c5d192b. There were 118 benchmark results with an error:
There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…#46812) ### Rationale for this change The lint job is failing, because of the R hooks missing packages. This happens because the library of the environment symlinks the R packages from the separate `renv` cache in `.local`. ### What changes are included in this PR? - also cache renv cache - only install r-base (saves ~30s) as we need to install all required packages through renv anyway ### Are these changes tested? CI ### Are there any user-facing changes? CI no longer ❌ * GitHub Issue: apache#46805 Lead-authored-by: Jacob Wujciak-Jens <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
The lint job is failing, because of the R hooks missing packages. This happens because the library of the environment symlinks the R packages from the separate
renvcache in.local.What changes are included in this PR?
Are these changes tested?
CI
Are there any user-facing changes?
CI no longer ❌