Skip to content

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

Merged
AgentEnder merged 1 commit intomasterfrom
fix/core/reset-should-kill-cloud-client
May 2, 2025
Merged

fix(core): reset should clear cloud light client#31021
AgentEnder merged 1 commit intomasterfrom
fix/core/reset-should-kill-cloud-client

Conversation

@AgentEnder
Copy link
Copy Markdown
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
@vercel
Copy link
Copy Markdown

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

@nx-cloud
Copy link
Copy Markdown
Contributor

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
if (all || args.onlyCloud) {
try {
await resetCloudClient();
if (cloudEnabled) {
Copy link
Copy Markdown
Contributor

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
@github-actions
Copy link
Copy Markdown
Contributor

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