Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipelines cache does not retain original file modification time

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 13, 2021

When extracting files from cache, the modification time equals the time of extraction instead of the original modification time of the file.

This is a problem for Rust since Cargo checks the staleness of some of its dependencies according to mtime. As a result, multiple dependencies are rebuilt for every pipeline. I've set up a basic Rust repository displaying this problem here.

A simple fix is to tarball the cached contents and then cache the tarball through Pipelines (extracting this tarball at the start of every step), but ideally, such a workaround is not necessary.



Log in or Sign up to comment
AUG Leaders

Atlassian Community Events