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): introduce the NX_PROJECT_GRAPH_CACHE_DIRECTORY to allow s… #10693

Merged
merged 1 commit into from Jun 10, 2022

Conversation

FrozenPandaz
Copy link
Collaborator

…eparating it from the computation cache

Current Behavior

When using shared volumes, different consumers of the cache can write a different project graph to the cache, overwriting one that may be in use by other consumers. There is no way to separate that cache from the computation cache.

Expected Behavior

When using shared volumes, use the NX_PROJECT_GRAPH_CACHE_DIRECTORY environment to dictate where Nx should store the project graph cache (and the daemon).

Related Issue(s)

Fixes #10000
Closes #10608

@nx-cloud
Copy link

nx-cloud bot commented Jun 10, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 066727d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 12 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented Jun 10, 2022

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

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Jun 10, 2022 at 5:04PM (UTC)

@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate NxDaemon and NxCache to support use of shared cache - NX_CACHE_DIRECTORY
2 participants