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
|
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