Introduce an environment variable (e.g., NX_SKIP_REMOTE_CACHE) that allows disabling the remote cache. When this variable is set, the system should utilize the local cache but refrain from interacting with the remote cache.
Motivation
While NX provides the NX_SKIP_NX_CACHE environment variable to disable caching entirely, there are scenarios where disabling only the remote cache is desirable while still benefiting from the local cache.
Examples
In CI environments when connection issues occur.
When dealing with a corrupted cache key.
To verify that a failure is not related to a cache issue.
What
Introduce an environment variable (e.g., NX_SKIP_REMOTE_CACHE) that allows disabling the remote cache. When this variable is set, the system should utilize the local cache but refrain from interacting with the remote cache.
Motivation
While NX provides the NX_SKIP_NX_CACHE environment variable to disable caching entirely, there are scenarios where disabling only the remote cache is desirable while still benefiting from the local cache.
Examples
Thank you for the great package! 🙏