Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): add maxCacheSize option to limit local artifact size #29654

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented Jan 16, 2025

Current Behavior

Cache artifacts are removed based on age at a random interval. There is not a way to set a max size for the cache, so it can grow quite large in certain repos

Expected Behavior

Cache size can be controlled via maxCacheSize in nx.json. Cache artifacts are removed based on usage until the limit has been reached.

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested review from a team and leosvelperez as code owners January 16, 2025 18:03
Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:30pm

Copy link

nx-cloud bot commented Jan 16, 2025

View your CI Pipeline Execution ↗ for commit ed64b78.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 45m 4s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 52s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=ee135... ✅ Succeeded 17s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 16s View ↗
nx documentation --no-dte ✅ Succeeded 1m 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-18 00:04:47 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants