Uh oh!
There was an error while loading. Please reload this page.
chore: Cache random stuff - #118
Conversation
ZuseZ4
commented
Apr 19, 2024
@wsmoses Do you know if the assumption that the oldest caches get cleaned up holds for the OpenStack runner too? |
d7b19a3 to
9676fafCompare
wsmoses
left a comment
There was a problem hiding this comment.
Don't know but we can find out. LGTM but can you name the cache rust-xyz just in case caches are per device or org
I-Al-Istannen
commented
Apr 19, 2024
Yea, the names are pretty much random atm. I first wanted to see whether it helps at all. The Cargo.lock file in |
9676faf to
3986bf1CompareZuseZ4
commented
Apr 22, 2024
Going from 18-30 to 3 minutes is an awesome speedup. |
Uh oh!
There was an error while loading. Please reload this page.
The CI spends quite some time building the cargo project for the initial stages. The directories added in this PR are marked with the CACHE_DIR flag and therefore cargo should be able to deal with them becoming out of date. I just want to see what, if anything, this can save first. There are a few considerations with cache size one has to think about, as we no longer really have a stable hash to base the cache on. Maybe we could build something from the more internal build files, but that is a problem for later. In the meantime it will just bloat the caches, generating a new one every CI run, and then hoping that GitHub ages them out nicely.