-
-
Notifications
You must be signed in to change notification settings - Fork 28
Fixed installer issues and added tests. #1794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis update expands discovery logic for module prefixes and project names, refines prompt management in the installer, and significantly enhances the unit test coverage for prompt handlers. It also updates a development dependency version in the composer configuration and incorporates the new Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PromptManager
participant PromptHandler
participant Env/Composer/FS
User->>PromptManager: Initiate prompts
PromptManager->>PromptHandler: Build prompt form
PromptHandler->>Env/Composer/FS: Attempt discovery (dotenv, composer.json, FS)
Env/Composer/FS-->>PromptHandler: Return discovered value or null
PromptHandler-->>PromptManager: Return prompt value
PromptManager->>PromptManager: Submit form, filter responses
PromptManager-->>User: Return processed responses
Possibly related PRs
Suggested labels
Poem
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. 🔧 phpcs (3.7.2).vortex/installer/src/Prompts/Handlers/ModulePrefix.phpERROR: Referenced sniff "Drupal" does not exist Run "phpcs --help" for usage information .vortex/installer/src/Prompts/Handlers/Name.phpERROR: Referenced sniff "Drupal" does not exist Run "phpcs --help" for usage information .vortex/installer/src/Prompts/PromptManager.phpERROR: Referenced sniff "Drupal" does not exist Run "phpcs --help" for usage information
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings.vortex/installer/composer.json (2)🧬 Code Graph Analysis (2).vortex/installer/src/Prompts/Handlers/ModulePrefix.php (1)
.vortex/installer/src/Prompts/PromptManager.php (3)
⏰ 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). (9)
🔇 Additional comments (9)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1794 +/- ##
===========================================
+ Coverage 72.27% 72.32% +0.05%
===========================================
Files 83 83
Lines 4685 4694 +9
Branches 35 35
===========================================
+ Hits 3386 3395 +9
Misses 1299 1299 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
Bug Fixes
Refactor
Tests
Chores