fix(onboard): mention 'none selected skips' in the messaging-channels prompt (#3471)#4026
Conversation
… prompt (#3471) The messaging-channels step lists pre-selected channels (the marker shows ●), and pressing Enter starts the per-channel token prompt loop for every selected entry. A user who wants to skip messaging entirely has to discover the implicit "press <number> to deselect everything, then Enter" path; the empty-token escape route is documented only after they hit the first token prompt. Surface the skip path in the selection prompt itself so the escape route is visible before the user commits to a selection. Supersedes #3480 (WuKongAI-CMU): same intent, applied to the current prompt shape (main has refactored `MESSAGING_CHANNELS.length` to `availableChannels.length`). No test: the change is a user-facing prompt-text update; the original PR's source-text assertion is the shape this repo's `source-shape-test-budget` hook rejects (budget: 0). A meaningful behavior test would need to mock process.stderr + stdin for a single string of UX copy — outsized for this scope. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThe messaging channels onboarding prompt now explicitly clarifies that pressing Enter without selecting any channels will skip the messaging-channel setup step, removing ambiguity about the escape path. ChangesMessaging Channel Skip Clarification
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
…point budget The previous commit reformatted the prompt write across three lines, which the `onboard-entrypoint-budget` CI check rejects (`src/lib/onboard.ts` is held net-neutral). Collapse back to a single line — same string, zero net line delta. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
PR Review AdvisorFindings: 0 needs attention, 2 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
Selective E2E Results — ❌ Some jobs failedRun: 26261117406
|
Selective E2E Results — ❌ Some jobs failedRun: 26295296393
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
<!-- markdownlint-disable MD041 --> ## Summary <!-- 1-3 sentences: what this PR does and why. --> Restore the missing “none selected skips” hint in the interactive messaging channel picker. The skip behavior already worked; this makes the prompt discoverable again for users. The hit was originally added in #4026 and was removed in later refactor PR. ## Related Issue <!-- Fixes #NNN or Closes #NNN. Remove this section if none. --> Fixes #4427 ## Changes <!-- Bullet list of key changes. --> Updated the messaging channel picker prompt to include `(none selected skips)`. ## Type of Change - [√ ] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Verification <!-- Check each item you ran and confirmed. Leave unchecked items you skipped. Doc-only changes do not require npm test unless you ran it. --> - [√ ] `npx prek run --all-files` passes - [ √] `npm test` passes - [ ] Tests added or updated for new or changed behavior - [ √] No secrets, API keys, or credentials committed - [ ] Docs updated for user-facing behavior changes - [ ] `npm run docs` builds without warnings (doc changes only) - [ ] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) --- <!-- DCO sign-off required by CI. Run: git config user.name && git config user.email --> Signed-off-by: rluo8 <ruluo@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the messaging channels selection prompt text in the onboarding flow to clarify that leaving no channels selected and pressing Enter will skip that step. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/NVIDIA/NemoClaw/pull/4526?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
Surface the implicit skip path in the messaging-channels selection prompt. Reporter pointed out that pre-selected channels force the user into the token prompt loop with no documented escape (the actual escape — pressing the digit to deselect, then Enter — only becomes obvious after entering an empty token at the next step).
Related Issue
Fixes #3471. Supersedes #3480 (WuKongAI-CMU), which carries the same intent but is blocked on (a) commit-verification failure (
no_user) and (b) a stale-fork base-image build failure unrelated to the diff.Changes
src/lib/onboard.ts: append "(none selected skips)" to the messaging selection prompt. Applied to the current prompt shape (main has refactoredMESSAGING_CHANNELS.lengthtoavailableChannels.length).Type of Change
Verification
npm run build:cliclean.On tests: the change is a one-line user-facing prompt text update. The original PR (#3480) added a source-text assertion that would be rejected by this repo's
source-shape-test-budgethook (budget: 0). A meaningful behavior test would need to mockprocess.stderr+process.stdin(with raw mode) for a single string of UX copy — outsized for this scope.--no-verify(user-authorized): the pre-commitTest (CLI)hook hits unrelated timeout flakes on this macOS workstation (Defender/Spotlight contention). CI on Linux runners is the authoritative gate.🤖 Generated with Claude Code
Summary by CodeRabbit