Skip to content

Unexpected cache misses since Feb 17th #1114

@chetbox

Description

@chetbox

I am getting unexpected cache misses using actions/cache@v3 since yesterday on a scheduled job that runs every 2 hours.

    - uses: actions/cache@v3
      with:
        path: folder
        key: folder-${{ env.SUFFIX }}
        restore-keys: |
          folder-
        fail-on-cache-miss: true

I am using the option fail-on-cache-miss: true, because restoring the cache is critical to the job running, so the action fails with the error:

Error: Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: folder-73489456

I have not deleted cache entries and I have verified that prefix-matched cache entries exist with:

gh api \
  -H "Accept: application/vnd.github+json" \
  /repos/OWNER/REPO/actions/caches

Further details here: actions/runner#2448
(I wasn't sure where to create this issue as I don't fully understand where the error is, sorry! I'm reporting here as suggested by this comment. If there is a more appropriate place to report this issue please let me know.)

Metadata

Metadata

Assignees

Labels

area:compressionbugSomething isn't workingduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions