-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore(core): warn when db cache is disabled #28929
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 41067ac. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
) { | ||
// TODO (@AgentEnder): Insert correct link after @isaacplmann has written the documentation. | ||
logger.warn( | ||
`Nx is using the filesystem cache instead of the db cache. There are some limitations and trade-offs to consider when using the filesystem cache. Read more at https://nx.dev/{insert-link-here}.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can call it the legacy cache and mention that it will be removed in Nx 21. Instruct them to start looking into moving to the new db based cache.
process.env.NX_REJECT_UNKNOWN_LOCAL_CACHE === 'false' | ||
) { | ||
logger.warn( | ||
'NX_REJECT_UNKNOWN_LOCAL_CACHE=0 is not supported with the new db cache. If you were using this environment variable to suppress warnings about unrecognized cache artifacts you may be interested in Nx PowerPack. Read more at https://nx.dev/powerpack.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this shouldn't point to powerpack directly. It should point to a page about the problem.. which should point them to Nx Cloud or Powerpack to achieve what they want.
b7ebaea
to
7a950c2
Compare
7a950c2
to
41067ac
Compare
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #