Closed Nutomic closed 1 year ago
Awesome work! Really looking Forward to this to be merged!
Should we also apply these changes to our other Rust repos?
Should we also apply these changes to our other Rust repos?
Lets keep it for the relayer repo for now, if we had a success with it we can let other team use this technique too.
Summary of changes
shared-key
for Rust Cache. This decreases Rust built time for integration tests from 8m to 50s. So the cache was really not used before.dvc
folders. This decreases duration of "Install NPM packages" (which includesdvc pull
) from 4m 40s to 2m 50s. It might also help with occasional failures from dvc pull. However it increases cache size from 700 MB to 3.5 GB so the 10 GB limit can store only 3 cache entries instead of 14. Not sure if this is a good idea.Tried to add caching for unit test and check commands, but this fails due to usage of
cargo cross
:Upstream issue is here. Anyway these jobs are fast enough with around 10m so its probably fine without caching.
Reference issue to close (if applicable)
Code Checklist