-
Notifications
You must be signed in to change notification settings - Fork 1.3k
cache-hit
needs to be replaced
#1566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just spent an hour or so debugging an issue I thought was due to my YML code being incorrect, but in fact it was correct and I was getting a cache miss (and It is really, really confusing UX to:
Can one of the contributors please merge PR #1514? |
And while we are at it, |
Dream on. This would break a gazillion of workflows without good reason. |
Luckily they can version releases so that's not a problem. Or just deprecate the key while adding a more accurate one. |
Uh oh!
There was an error while loading. Please reload this page.
According to #1514,
cache-hit
istrue
when the cache is restored from the full key,false
when the cache is restored from a fallback key, and empty when the cache wasn't hit at all. First, please merge this documentation update, as it means most usage of this value is wrong (few people care if the fallback key was used, quite a lot of people care when the cache wasn't hit). Second, this needs to be a different API, as aBool
is inappropriate for a three part value. Instead it should be replaced with something likecache-status: found | fallbackUsed | notFound
, so users can be completely clear about what's happening.The text was updated successfully, but these errors were encountered: