refactor(cli): reduce onboard shell implementation#3919
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…ort, function or class' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
| } | ||
| return null; | ||
| } | ||
| const { readLiveInference, readRecordedProvider, readRecordedNimContainer, readRecordedModel } = |
| openshellArgv, | ||
| runOpenshell, | ||
| runCaptureOpenshell, | ||
| safeOpenShellArgument, |
| return Boolean(fetchGatewayAuthTokenFromSandbox(sandboxName)); | ||
| } | ||
| const { | ||
| sandboxExistsInGateway, |
✨Related open PRs: Related open issues: |
Summary
Continue the #3802 onboarding FSM cleanup by moving low-risk helper groups out of
src/lib/onboard.tsinto focused onboard modules. This keeps the live onboarding behavior unchanged while makingsrc/lib/onboard.tsmore clearly a CLI shell/orchestration layer.Related Issue
Refs #3802
Stacked on #3883
Changes
src/lib/onboard/model-router.ts.src/lib/onboard/dashboard.ts.src/lib/onboard/.src/lib/onboard.tsby more than 1,300 lines while preserving existing exports and orchestration wiring.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesmake docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com