Revision bf92e836d3d16876ff48016f55541e4a38ea33ee authored by Nikitas Rontsis on 04 November 2022, 09:40:10 UTC, committed by GitHub on 04 November 2022, 09:40:10 UTC
* CircleCI caching: allow ftime to be ceil(ftime_req) in Base.stale_cachefile

It appears that [caching functionalities](https://circleci.com/docs/caching/) provided by CircleCi, a leading CI/CD provider, can truncate timestamps to full seconds, resulting in re-compilations as below:
```
Rejecting stale cache file /root/.julia/compiled/v1.8/ComponentArrays/cYHSD_3rQji.ji (mtime 1.6673960929277816e9) because file /root/.julia/packages/ComponentArrays/YyD7i/src/ComponentArrays.jl 
```

This PR relaxes the `is_stale` check to be robust against rounding-to-second timestamp mutations.

I can provide a minimal CircleCI configuration file to reproduce if this is helpful.

1 parent 6321e47
Raw File
.codecov.yml
coverage:
  status:
    project: off
    patch: off
back to top