fix(core): restore CNW user flow to match v22.1.3#34671
Merged
FrozenPandaz merged 1 commit intomasterfrom Mar 4, 2026
Merged
Conversation
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
View your CI Pipeline Execution ↗ for commit 3ae41c1
☁️ Nx Cloud last updated this comment at |
Coly010
approved these changes
Mar 4, 2026
The CNW prompt flow diverges from v22.1.3 in several ways:
- Shows "Which starter do you want to use?" template prompt
- Cloud prompt says "Try the full Nx platform?" instead of caching question
- Preset flow uses simplified cloud prompt instead of CI provider → caching fallback
- Completion message shows box banner with `accessToken=undefined` manual URL
- Setup message includes `github.com/new` link not present in v22.1.3
Human-visible CNW flow identical to v22.1.3 while preserving:
- NDJSON AI output (agentic experience)
- `--template` flag (works via CLI, not surfaced in prompts)
- Telemetry, error handling, AI agent detection
Changes:
- Skip template prompt, go straight to preset/stack flow
- Restore "Would you like remote caching?" with v22.1.3 wording
- Restore CI provider → caching fallback prompt chain for preset flow
- Pass actual nxCloud to createEmptyWorkspace so cloud token is real
- Restore v22.1.3 completion message ("Your remote cache is almost complete.")
- Restore v22.1.3 getNxCloudInfo signature with rawNxCloud URL visibility
- Restore "Nx Cloud has been set up successfully" spinner text
- Remove github.com/new link from push message
Fixes NXC-4020
FrozenPandaz
approved these changes
Mar 4, 2026
FrozenPandaz
pushed a commit
that referenced
this pull request
Mar 4, 2026
This PR brings our CNW experience back to previous state.
## Current Behavior
The CNW prompt flow diverges from v22.1.3 in several ways:
- Shows "Which starter do you want to use?" template prompt
- Cloud prompt says "Try the full Nx platform?" instead of caching
question
- Preset flow uses simplified cloud prompt instead of CI provider →
caching fallback
- Completion message shows box banner with `accessToken=undefined`
manual URL
- Setup message includes `github.com/new` link not present in v22.1.3
## Expected Behavior
Human-visible CNW flow identical to v22.1.3 while preserving:
- NDJSON AI output (agentic experience)
- `--template` flag (works via CLI, not surfaced in prompts)
- Telemetry, error handling, AI agent detection
Changes:
- Skip template prompt, go straight to preset/stack flow
- Restore "Would you like remote caching?" with v22.1.3 wording
- Restore CI provider → caching fallback prompt chain for preset flow
- Pass actual nxCloud to createEmptyWorkspace so cloud token is real
- Restore v22.1.3 completion message ("Your remote cache is almost
complete.")
- Restore v22.1.3 getNxCloudInfo signature with rawNxCloud URL
visibility
- Restore "Nx Cloud has been set up successfully" spinner text
- Remove github.com/new link from push message
## Related Issue(s)
Closes NXC-4020
(cherry picked from commit dd1c729)
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR brings our CNW experience back to previous state.
Current Behavior
The CNW prompt flow diverges from v22.1.3 in several ways:
accessToken=undefinedmanual URLgithub.liu-huaimin.workers.dev/newlink not present in v22.1.3Expected Behavior
Human-visible CNW flow identical to v22.1.3 while preserving:
--templateflag (works via CLI, not surfaced in prompts)Changes:
Related Issue(s)
Closes NXC-4020