Shopify / Shopify/shipit-engine
Git repo size grows unbounded
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
- 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 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