Runner cache does not preserve symlink mtime
Summary
Runner Cache does not preserve symlinks' mtime between runs
Steps to reproduce
just one script step: ls -l node_modules/.bin/nopt
- First run of job -> time 12:14
Running before_script and script
$ ls -l node_modules/.bin/nopt
lrwxrwxrwx. 1 root root 19 May 21 12:14 node_modules/.bin/nopt -> ../nopt/bin/nopt.js
Saving cache
Created cache
- Second run of job -> time 12:15
Restoring cache
Successfully extracted cache
Running before_script and script
$ ls -l node_modules/.bin/nopt || true
lrwxrwxrwx. 1 root root 19 May 21 12:15 node_modules/.bin/nopt -> ../nopt/bin/nopt.js
What is the current bug behavior?
mtime of symlink doesn't get preserved between cache restoring and saving
What is the expected correct behavior?
mtime of unchanged symlink stays the same between job runs
Edited by Alexander Javoronkov