-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(dep-graph): introduce NX_DEPS_DIRECTORY env variable #10608
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…deps.json outside cache dir
You need to move Nx Daemon to use I was developing this fix locally before seing your PR |
@jonhamm let's work on this together! It would be really nice to get some feedback and general guidelines from Nx Team on this change before doing full implementation, cc @vsavkin @meeroslav @AgentEnder . |
Thank you for working on this! We discussed this and we're going to have an environment variable: I will take care of the implementation. I really appreciate the effort though. 🙏 Let me know what you think of the above. EDIT: The environment variable will be |
@FrozenPandaz : thanks for the fix - it will be very helpful! |
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. |
Current Behavior
nxdeps.json
is always stored inside cache directory. This becomes an issues when cache directory is shared/mounted in CI environment. Multiple parallel CI runs start sharing (and updating) samenxdeps.json
which in turn produces false results/erros.Expected Behavior
It should be possible to store
nxdeps.json
outside cache directory, so it could be unique/isolated per workspace in CI environment.Fixes #10000