Skip to content

feat(cache) use restoreKeys as backup to hit cache #628

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

Closed
wants to merge 3 commits into from
Closed

feat(cache) use restoreKeys as backup to hit cache #628

wants to merge 3 commits into from

Conversation

MatthijsBurgh
Copy link

@MatthijsBurgh MatthijsBurgh commented Nov 17, 2022

Description:
Add restoreKeys to find cache. When lockfile has changed the primary key will not find the cache. Though using the most recent one in the branch scope should still be an improvement.

As this is a feature in the actions toolkit, I am not sure additional tests should be added. In case you think it should, maybe it is best for the maintainers to do it.
I do see that the test need to be extended. Maybe it is best for the maintainers to do it.

Related issue:
Fixes #627

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@MatthijsBurgh MatthijsBurgh requested a review from a team November 17, 2022 12:31
@MatthijsBurgh
Copy link
Author

@dmitry-shibanov could you approve the workflow runs? And could you review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use restore-key to find cache, when exact match is not available
1 participant