cache icon indicating copy to clipboard operation
cache copied to clipboard

Cache action fails to match successfully uploaded key

Open infogulch opened this issue 1 year ago • 5 comments

First build

During the first build there was no match, so everything was built from scratch and at the end the job, the cache was successfully uploaded with the expected key:

https://github.com/infogulch/scryer-prolog/actions/runs/5352326258/jobs/9707117537

image

Second build

In a subsequent build one hour later, the key matched exactly, it still did not find a match and rebuilt from scratch again:

https://github.com/infogulch/scryer-prolog/actions/runs/5352743821/jobs/9707964066

image

Why did it not restore from the cache? It's clearly present: https://github.com/infogulch/scryer-prolog/actions/caches

ubuntu-20.04_rustc-2023053190c5_cargo-85a461c9dd680796bb3bea6e727ef52f589ac820d7d491c10aec6516477bb45c

infogulch avatar Jun 23 '23 04:06 infogulch

Having this issue as well.

pcfreak30 avatar Jun 25 '23 06:06 pcfreak30

Related https://github.com/actions/toolkit/pull/1378

deemp avatar Jul 17 '23 19:07 deemp

I have the same issue, moreover now I see that I have two caches with the same key but created in different branches. Screenshot 2023-08-30 at 20 04 35

artemgavrilov avatar Aug 30 '23 18:08 artemgavrilov

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Mar 18 '24 08:03 github-actions[bot]

bump.

pcfreak30 avatar Mar 18 '24 08:03 pcfreak30