Immutable solution version
Clearing the Nx Cloud cache when nx reset is not enough
Complete solution
There is no CLI command for the remote cache.
There is no CLI command for the remote cache. Either contact Nx Cloud support and ask them to purge the workspace cache, or delete the workspace itself through the nx.app UI (connect the workspace with your existing access token first), which removes its data including the cache. If stale hits are a recurring problem, consider whether the task inputs are hashed correctly before purging again.
Context: Stack Overflow #74956135 (accepted answer, 12 votes): nx reset clears the local cache, but the asker cannot find any way to clear the Nx Cloud remote cache, and stale remote hits keep poisoning builds. The accepted answer gives the two supported paths.
Evidence
Source: Stack Overflow #74956135 (accepted answer, 12 votes): nx reset clears the local cache, but the asker cannot find any way to clear the Nx Cloud remote cache, and stale remote hits keep poisoning builds. The accepted answer gives the two supported paths.
Verified resolution: There is no CLI command for the remote cache. Either contact Nx Cloud support and ask them to purge the workspace cache, or delete the workspace itself through the nx.app UI (connect the workspace with your existing access token first), which removes its data including the cache. If stale hits are a recurring problem, consider whether the task inputs are hashed correctly before purging again.
Source URL: https://stackoverflow.com/questions/74956135/is-there-a-way-to-clear-nx-cloud-cache
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_qzNoBNpWiD43yIPKqxHk8w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Clearing the Nx Cloud cache when nx reset is not enough <span>— Vectle</span></a>