refactor(onboard): run initial phases through FSM slice#4499
Conversation
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
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 |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
| } | ||
| session = initialContext.session; | ||
| const sandboxGpuConfig = initialContext.sandboxGpuConfig; | ||
| const { resumeHasResolvedGpuIntent, requestedGpuPassthrough, gpuPassthrough } = initialContext; |
| } | ||
| session = initialContext.session; | ||
| const sandboxGpuConfig = initialContext.sandboxGpuConfig; | ||
| const { resumeHasResolvedGpuIntent, requestedGpuPassthrough, gpuPassthrough } = initialContext; |
| } | ||
| session = initialContext.session; | ||
| const sandboxGpuConfig = initialContext.sandboxGpuConfig; | ||
| const { resumeHasResolvedGpuIntent, requestedGpuPassthrough, gpuPassthrough } = initialContext; |
PR Review AdvisorFindings: 0 needs attention, 1 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
Move the fresh-run preflight/gateway live call site onto the initial FSM flow slice. Resume remains on the compatibility path for now so preflight and gateway backstops still run even when saved machine state is already ahead.
Changes
OnboardFlowContextinsrc/lib/onboard.tsfor preflight/gateway state.runInitialOnboardFlowSequence(...)for fresh runs that start atpreflight.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com