GH#1648: Recommend AI plugins in setup wizard - #1649
Conversation
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe setup wizard now recommends Superdav AI Language Packs and Superdav AI Agent. Language Packs are selected by default for non-English locales, while AI Agent remains unselected. Tests cover locale handling, selection states, and descriptions. ChangesAI Plugin Recommendations
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SetupWizard
participant Recommended_Plugins_Installer
participant WordPressLocale
SetupWizard->>Recommended_Plugins_Installer: request recommended plugin steps
Recommended_Plugins_Installer->>WordPressLocale: determine current locale
WordPressLocale-->>Recommended_Plugins_Installer: return locale
Recommended_Plugins_Installer-->>SetupWizard: return locale-aware plugin steps
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/WP_Ultimo/Installers/Recommended_Plugins_Installer_Test.php`:
- Around line 23-36: Update get_steps_for_locale to register the same
locale_filter for both the locale and determine_locale hooks before calling
Recommended_Plugins_Installer::get_instance()->get_steps(), and remove both
hooks in the finally block so the mocked locale is consistently applied and
fully restored.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 711246d6-f066-42fc-b393-04fe1e68c11b
📒 Files selected for processing (2)
inc/installers/class-recommended-plugins-installer.phptests/WP_Ultimo/Installers/Recommended_Plugins_Installer_Test.php
Updated titles and descriptions for AI Language Packs and AI Agent to be more concise and informative.
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
aidevops.sh v3.32.159 plugin for OpenCode v1.18.4 with gpt-5.6-terra spent 35s and 15,086 tokens on this with the user in an interactive session. |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
Summary
Verification
Resolves #1648
aidevops.sh v3.32.148 plugin for OpenCode v1.18.3 with gpt-5.6-terra spent 10m and 144,595 tokens on this with the user in an interactive session.
Summary by CodeRabbit