[#2048] Do not show Starter in update mode in installer.#2111
Conversation
WalkthroughAdds conditional execution control to the Starter handler and PromptManager. A new Changes
Sequence Diagram(s)sequenceDiagram
participant PM as PromptManager
participant S as Starter Handler
participant User as User/CLI
rect rgb(200, 220, 255)
Note over PM,S: Interactive Mode Flow
PM->>S: Check shouldRun(responses)
alt Installer not installed
S-->>PM: true
PM->>User: Display Starter prompt
User-->>PM: Provide response
else Installer already installed
S-->>PM: false
PM->>PM: Skip Starter prompt
Note over PM: Proceed to next handler
end
end
rect rgb(220, 240, 220)
Note over PM,S: Update/No-Interaction Mode Flow
PM->>PM: Check if Starter in responses
alt Starter response missing & Vortex project
PM->>PM: Auto-populate Starter = LOAD_DATABASE_DEMO
Note over PM: Default assigned
else Starter response provided
PM->>PM: Use provided response
end
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code graph analysis (3).vortex/installer/src/Prompts/PromptManager.php (3)
.vortex/installer/tests/Unit/Handlers/StarterPromptManagerTest.php (3)
.vortex/installer/src/Prompts/Handlers/Starter.php (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
🔇 Additional comments (5)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2111 +/- ##
===========================================
+ Coverage 70.34% 70.38% +0.04%
===========================================
Files 98 98
Lines 4974 4981 +7
Branches 44 44
===========================================
+ Hits 3499 3506 +7
Misses 1475 1475 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Closes #2048
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.