actions / actions/cache

Support cache for merge queues

Open
#1,537 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature request
Dominant language
TypeScript
Stars
5.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

As seen in previous issues, we need cache to support merge queues.

We currently use integration tests on merge queues that need to pull 1Gb of data from Git LFS, and it seems that there is no way to use the existing cache on merge queues because it uses temporary branches gh-readonly-queue/main/pr-2136-3158e388aa0dbf84035c7acb0cf9f0fecc44e0a5

Cache not retrieved:
Image

We cannot put these data in external storage as well because github runners are hosted in the US.

This leads us to pay data packs which are very expensive (5$ for 50Gb bandwith)

Happy to hear if anyone has a solution for this.
There is already a discussion on this:
https://github.com/orgs/community/discussions/66430

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

No files, tests, or entry points are identified in the issue. Start by reviewing the linked community discussion and the reported temporary merge-queue branch behavior; the work is complete only when a concrete, validated approach for retrieving existing cache data on merge queues is defined.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.