Shopify / Shopify/shipit-engine

Git repo size grows unbounded

Open
#780 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
1.5k
Forks
154
Avg merge
2h 26m
Merged PRs (30d)
3

Description

We've noticed that over time the local GIt repo caches can grow unbounded - we've seen them get to 10-15GB.

Clearing the cache from the shipit UI can temporarily resolve the issue. I'm wondering if there is anything we are doing wrong that is causing that growth, or whether there is any means of programatically calling the cache clear function so we could schedule it?

Thanks

Contributor guide

No contributing guide indexed for this repository

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 tracing the cache-clear action exposed in the Shipit UI and the Git repository cache storage it affects. Reproduce or measure the unbounded growth, then determine what behavior or callable mechanism would support safe scheduled cleanup; done means the growth or cleanup request is addressed and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, ruby
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.