Uh oh!
There was an error while loading. Please reload this page.
ci: add rust-cache action - #526
Conversation
nazar-pc
commented
Feb 10, 2026
In my projects I usually disable caching on Windows. Their gzip or whatever compression they use is so spectacularly slow that it is faster to download/install things from scratch than decompressing/recompressing cache. |
LegNeato
commented
Feb 14, 2026
I feel like we had this somewhere (rust-cuda?) and had to remove it |
Well, you've actively using it in rust-cuda, even if for windows only... Otherwise I can't find any mention of it, neither in issues, PRs or history of those files |
a248d59 to
6441dc7Compare60b21e1 to
ee3f47bCompareee3f47b to
6746cbdCompareFirestar99
commented
Apr 8, 2026
Just rebased it and it started failing, no idea why. The diff to main is just the cache actions, and they're not caching anything since no cache is available, and uploading only happens on main. |
Uh oh!
There was an error while loading. Please reload this page.
Requires #530
(slightly outdated table, should still be accurate enough)
Final Results
End to end:
*adjusted due to flakyness of rustup install, usually takes only 40s on windows
Analysis
End to end: -11m 20s
Note: this includes #530
End to end: +1m 20s*
Note: This is unfair as "own cache" data does not include #530. Expect difftest to be worse and test to be better than a retest with that PR.
End to end: +20s
My investigation log
Feel free to ignore and just look at the results
Adding caching
First run (with no cache present) is looking real bad:
First CI with restore
Comparing latest main to this PR:
Install toolchain before restore (run attempt #1)
purging caches and retrying CI (run attempt #2)
Lessen cache usage
testcreates the cache, for each platformdifftestmay get a separate cache for the difftest target dirremove rustup env vars
cargo test -p difftestmove "test difftest" to test job
ci: make "test" prep better cache for compiletests and difftests
didn't work, try again
ci: fix prep cache being useless due to weird feature selection