actions / actions/toolkit

Pass `CacheMetadata` along the cache v2 save requests

Open
#2,094 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the enhancement

The V2 cache supports passing metadata that contains repository_id. At the moment cache.ts is not passing it along. This will be useful for custom cache API implementation for scoping the cache entries.

Code Snippet

See #2093

Additional information

Add any other context about the feature here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading cache.ts and issue #2093 to understand the CacheMetadata shape and the V2 save-request flow. The work is complete when metadata containing repository_id is passed along with the cache save requests for custom cache API scoping.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.