Check if a cache exists without downloading the files
Open
Nobody has claimed this yet.
cache
enhancement
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the enhancement
Have the ability to check if a cache exists without downloading the actual files.
Code Snippet
N/A
Additional information
Re-use the existing cache check functionality from restoreCache method in here and export it as a validateCache method.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in packages/cache/src/cache.ts at the existing restoreCache method and its cache-check functionality. Expose that check as validateCache without downloading the cached files; done means callers can use the exported method to determine whether a cache exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100