Cache priority
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I've lately started caching multiple large toolchains and seeing more eviction. It would be nice if there were priority levels for cached items, so that I could prioritize keeping one cached zip file over another, when the eviction limit is reached.
This would also benefit github, as it would allow users like me to avoid unnecessary CI work caused by the more random eviction now.
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
The issue does not name any files, tests, or entry points. Start by locating the cache eviction implementation and reviewing how cached items are selected when limits are reached. Done would require an agreed priority model, its implementation, and tests showing that higher-priority cached items are retained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100