Skip to content

fix(core): reset should clear cloud light client #31021

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

AgentEnder
Copy link
Member

Current Behavior

Calling nx reset doesn't remove the currently installed cloud light client bundle. Additionally, it creates a .nx/cache/cloud directory even if it doesn't have cloud installed.

Expected Behavior

Calling nx reset doesn't remove the currently installed cloud light client bundle

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner May 2, 2025 21:17
@AgentEnder AgentEnder requested a review from Cammisuli May 2, 2025 21:17
Copy link

vercel bot commented May 2, 2025

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 2, 2025 9:25pm

Copy link

nx-cloud bot commented May 2, 2025

View your CI Pipeline Execution ↗ for commit 137a43c.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 35m 23s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 18s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 53s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-02 22:01:18 UTC

@AgentEnder AgentEnder force-pushed the fix/core/reset-should-kill-cloud-client branch from ecb5f4f to 137a43c Compare May 2, 2025 21:20
@@ -70,7 +80,10 @@ export async function resetHandler(args: ResetCommandOptions) {
}
if (all || args.onlyCloud) {
try {
await resetCloudClient();
if (cloudEnabled) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move into the above condition?

@AgentEnder AgentEnder merged commit 32ec0ae into master May 2, 2025
6 checks passed
@AgentEnder AgentEnder deleted the fix/core/reset-should-kill-cloud-client branch May 2, 2025 22:01
Copy link

github-actions bot commented May 8, 2025

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 May 8, 2025
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.

2 participants