actions / actions/toolkit

Question: Why are cache entries uploaded in chunks of 32MB?

Open
#1,528 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Just out of curiosity, why are the cache entries uploaded in chunks of 32MB. Why not 64MB or 265MB?
Context: vcpkg plans to upload in chunks of 450MB, because something above 500(?) fails. https://github.com/microsoft/vcpkg-tool/pull/1043

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 locating the cache upload implementation and the code or configuration that sets the 32MB chunk size. Compare that behavior with the limits described in the linked vcpkg-tool pull request, then document the rationale, applicable limits, and what would need to change to use a different size.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devops
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.