Cache: Provide a way to suppress cache success messages
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the enhancement
Currently, cache always outputs lots of logs for every stored cache entry:
If cache action is wrapped in another action (such as https://github.com/burrunan/gradle-cache-action/issues/139), where cache is invoked lots of times, it can create very verbose output.
Could we add an input parameter that disables those logs?
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 linked lines where success messages are emitted, and review how cache is invoked by the surrounding package. Add an input parameter that suppresses those messages when requested, then verify that normal cache behavior remains unchanged and disabled logging is quiet.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100