Skip to content

fix(pr-review-toolkit): qualify agent type constants with plugin prefix#56

Merged
cblecker merged 1 commit into
mainfrom
fix/pr-review-toolkit-agent-type-prefix
Jun 24, 2026
Merged

fix(pr-review-toolkit): qualify agent type constants with plugin prefix#56
cblecker merged 1 commit into
mainfrom
fix/pr-review-toolkit-agent-type-prefix

Conversation

@cblecker

Copy link
Copy Markdown
Owner

Summary

  • Prefix GITHUB_COLLECTOR_AGENT_TYPE and ANALYSIS_AGENT_TYPE constants with pr-review-toolkit: so the runtime can resolve them
  • Bump plugin version to 1.6.1

Test plan

  • Run /review on a PR and confirm the workflow no longer errors with "agent type not found"
  • Validate plugin: claude plugin validate ./pr-review-toolkit

The workflow agent type constants used unqualified names, causing
"agent type not found" errors at runtime since the harness expects
the fully-qualified pr-review-toolkit: prefix.

Assisted-by: Claude:claude-opus-4-6
Copilot AI review requested due to automatic review settings June 24, 2026 19:06
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@cblecker, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 59 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 credits.

🚦 How do rate 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 see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 57939f4f-0e54-4a05-a8b2-e18747402d63

📥 Commits

Reviewing files that changed from the base of the PR and between b1736b7 and 8df4086.

📒 Files selected for processing (2)
  • pr-review-toolkit/.claude-plugin/plugin.json
  • pr-review-toolkit/skills/review-pr/review-pr.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pr-review-toolkit-agent-type-prefix

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cblecker cblecker merged commit 702a43d into main Jun 24, 2026
12 checks passed
@cblecker cblecker deleted the fix/pr-review-toolkit-agent-type-prefix branch June 24, 2026 19:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a runtime resolution error in the pr-review-toolkit plugin. The workflow's agent() calls reference phase-specific agent types via two constants, but these were unqualified agent names that the runtime could not resolve (failing with "agent type not found"). The fix namespaces both constants with the pr-review-toolkit: plugin prefix so they resolve correctly, and bumps the plugin patch version accordingly.

Changes:

  • Prefix GITHUB_COLLECTOR_AGENT_TYPE and ANALYSIS_AGENT_TYPE with pr-review-toolkit: to match the plugin's agent namespace.
  • Bump the plugin version from 1.6.0 to 1.6.1.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pr-review-toolkit/skills/review-pr/review-pr.js Qualifies the two agent-type constants with the pr-review-toolkit: plugin prefix so spawned agents resolve correctly.
pr-review-toolkit/.claude-plugin/plugin.json Bumps the plugin version to 1.6.1 to reflect the fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants