Skip to content

feat(core): auto-open browser for Cloud setup URL during create-nx-workspace#35014

Merged
jaysoo merged 1 commit into
masterfrom
NXC-4112
Mar 25, 2026
Merged

feat(core): auto-open browser for Cloud setup URL during create-nx-workspace#35014
jaysoo merged 1 commit into
masterfrom
NXC-4112

Conversation

@jaysoo
Copy link
Copy Markdown
Member

@jaysoo jaysoo commented Mar 25, 2026

Current Behavior

When a user selects "yes" to connect to Nx Cloud during create-nx-workspace, the Cloud setup URL is only displayed in the terminal banner. The user must manually click or copy the link to complete onboarding.

Expected Behavior

After displaying the banner, the setup URL is automatically opened in the user's default browser, removing friction at the critical Cloud conversion moment.

  • Skips browser open in CI environments (CI=true, GitHub Actions, etc.)
  • Fails gracefully if the browser cannot be opened (e.g., headless/no display server) — the URL remains visible in the terminal
  • Only triggers when user actually connected to Cloud (not for "Maybe later" / skipCloudConnect)

Related Issue(s)

Fixes NXC-4112

@jaysoo jaysoo requested a review from a team as a code owner March 25, 2026 13:28
@jaysoo jaysoo requested a review from leosvelperez March 25, 2026 13:28
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 25, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit a88aa24
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69c3e46684d7f40008db3e6c
😎 Deploy Preview https://deploy-preview-35014--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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 25, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit a88aa24
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69c3e466a53f6400088ed585
😎 Deploy Preview https://deploy-preview-35014--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.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Mar 25, 2026

View your CI Pipeline Execution ↗ for commit a88aa24

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 21m 42s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 8s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 8s View ↗
nx build workspace-plugin ✅ Succeeded 1m 4s 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-03-25 14:02:01 UTC

…rkspace

## Current Behavior
When a user selects "yes" to connect to Nx Cloud during create-nx-workspace,
the Cloud setup URL is only displayed in the terminal banner, requiring the
user to manually click or copy it.

## Expected Behavior
After displaying the banner, the setup URL is automatically opened in the
user's default browser, reducing friction at the Cloud conversion moment.
Skips in CI environments and fails gracefully if the browser cannot be opened.

## Related Issue(s)
Fixes NXC-4112
@jaysoo jaysoo merged commit 543a8b1 into master Mar 25, 2026
24 checks passed
@jaysoo jaysoo deleted the NXC-4112 branch March 25, 2026 14:46
FrozenPandaz pushed a commit that referenced this pull request Mar 26, 2026
…rkspace (#35014)

## Current Behavior

When a user selects "yes" to connect to Nx Cloud during
`create-nx-workspace`, the Cloud setup URL is only displayed in the
terminal banner. The user must manually click or copy the link to
complete onboarding.

## Expected Behavior

After displaying the banner, the setup URL is automatically opened in
the user's default browser, removing friction at the critical Cloud
conversion moment.

- Skips browser open in CI environments (`CI=true`, GitHub Actions,
etc.)
- Fails gracefully if the browser cannot be opened (e.g., headless/no
display server) — the URL remains visible in the terminal
- Only triggers when user actually connected to Cloud (not for "Maybe
later" / `skipCloudConnect`)

## Related Issue(s)

Fixes NXC-4112

(cherry picked from commit 543a8b1)
@github-actions
Copy link
Copy Markdown
Contributor

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 Mar 31, 2026
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