feat(agentplugins): support comma-separated targets - #50
Conversation
|
Warning Review limit reached
Next review available in: 53 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe ChangesMulti-target lifecycle commands
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant AgentpluginsCLI
participant runForTargets
participant LifecycleCommand
AgentpluginsCLI->>runForTargets: Submit validated target list
runForTargets->>LifecycleCommand: Execute operation for each target
LifecycleCommand-->>runForTargets: Return per-target output or error
runForTargets-->>AgentpluginsCLI: Return aggregate results and status
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
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 `@cli/plugin-kit-ai/internal/agentpluginscli/lifecycle.go`:
- Around line 44-46: Reuse a single buffered input reader across the complete
repair batch: in lifecycle.go lines 44-46, create the reader before
runForTargets and pass it into every runRepair invocation instead of letting
runRepair create one per target. In cli_test.go lines 104-179, add an
interactive multi-target repair test supplying distinct confirmations for both
targets to verify the shared reader behavior.
🪄 Autofix
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: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 9fe31f2f-d65b-495f-ae23-b476b15f5deb
📒 Files selected for processing (8)
CHANGELOG.mdREADME.mdcli/plugin-kit-ai/internal/agentpluginscli/add.gocli/plugin-kit-ai/internal/agentpluginscli/cli_test.gocli/plugin-kit-ai/internal/agentpluginscli/lifecycle.gocli/plugin-kit-ai/internal/agentpluginscli/root.gocli/plugin-kit-ai/internal/agentpluginscli/target_batch.gonpm/agentplugins/README.md
Summary
--target codex,cursorVerification
go test ./...incli/plugin-kit-aiSummary by CodeRabbit
New Features
Documentation