Skip to content

Comments

fix(misc): prevent nxCloudId from being generated for new workspaces#34532

Merged
jaysoo merged 2 commits intomasterfrom
cnw_custom_fix
Feb 20, 2026
Merged

fix(misc): prevent nxCloudId from being generated for new workspaces#34532
jaysoo merged 2 commits intomasterfrom
cnw_custom_fix

Conversation

@jaysoo
Copy link
Member

@jaysoo jaysoo commented Feb 20, 2026

Current Behavior

When creating a new workspace using create-nx-workspace with the "custom" preset flow, an nxCloudId is generated and added to nx.json. This happens even though the onboarding flow is supposed to handle Cloud setup separately via a short URL.

Expected Behavior

New workspaces created via create-nx-workspace should not have nxCloudId set in nx.json. Instead, a short URL is provided for users to finish Cloud onboarding on their own. The nxCloud: 'skip' option is now passed for the custom flow to prevent the ID from being generated.

E2E tests are updated to verify that nxCloudId is undefined in the generated nx.json across all workspace presets.

Related Issue(s)

N/A - internal fix for workspace creation behavior.

@jaysoo jaysoo requested review from a team, meeroslav and vsavkin as code owners February 20, 2026 17:24
@jaysoo jaysoo requested a review from FrozenPandaz February 20, 2026 17:24
@nx-cloud
Copy link
Contributor

nx-cloud bot commented Feb 20, 2026

View your CI Pipeline Execution ↗ for commit 714a599

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 1h 50s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3m 14s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 7s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-20 19:56:16 UTC

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 714a599
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/6998ad071ad8d600085591dd
😎 Deploy Preview https://deploy-preview-34532--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 714a599
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6998ad0731171d0007457a7a
😎 Deploy Preview https://deploy-preview-34532--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

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

Nx Cloud has identified a flaky task in your failed CI:

🔂 Since the failure was identified as flaky, we triggered a CI rerun by adding an empty commit to this branch.

Nx Cloud View detailed reasoning in Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

@jaysoo jaysoo enabled auto-merge (squash) February 20, 2026 19:25
@jaysoo jaysoo merged commit 221ed88 into master Feb 20, 2026
23 checks passed
@jaysoo jaysoo deleted the cnw_custom_fix branch February 20, 2026 19:57
FrozenPandaz pushed a commit that referenced this pull request Feb 20, 2026
…34532)

## Current Behavior

When creating a new workspace using `create-nx-workspace` with the
"custom" preset flow, an `nxCloudId` is generated and added to
`nx.json`. This happens even though the onboarding flow is supposed to
handle Cloud setup separately via a short URL.

## Expected Behavior

New workspaces created via `create-nx-workspace` should not have
`nxCloudId` set in `nx.json`. Instead, a short URL is provided for users
to finish Cloud onboarding on their own. The `nxCloud: 'skip'` option is
now passed for the custom flow to prevent the ID from being generated.

E2E tests are updated to verify that `nxCloudId` is undefined in the
generated `nx.json` across all workspace presets.

## Related Issue(s)

N/A - internal fix for workspace creation behavior.

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
(cherry picked from commit 221ed88)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants