test: add plugin routing tests for bundled notion-cli plugin#345
test: add plugin routing tests for bundled notion-cli plugin#345javimosch wants to merge 3 commits into
Conversation
Covers the notion namespace wrappers (version, search, db list, page list) and the binary dependency doctor check for the notion-cli plugin introduced for #298, guarding against regressions in its plugin.json command routing.
Covers slim namespace wrappers (version, image xray, dockerfile lint) and the binary dependency doctor check, guarding the slim plugin.json command routing against regressions.
Covers diun namespace wrappers (version, check-config) and the binary dependency doctor check, guarding the diun plugin.json command routing against regressions.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
FAIL — the diff adds new test files for "diun" and "notion-cli" plugins, which is unrelated to the stated objective of not overlapping the two in-flight PRs (that objective describes constraints, no The verification gate passed, but this change may not address the stated objective. Review before merging. |
|
Warning Review limit reached
Next review available in: 6 minutes 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 (3)
✨ 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 |
|
🏛️ Automaintainer architecture review: VIOLATION The change adds new test files under The change passed verification, but it violates this repo's architecture rules. The PR was set to draft and auto-merge is held — review before marking it ready. |
|
Automaintainer Review Verdict: APPROVED — Pure test additions (269 lines, 0 deletions) covering command routing and doctor checks for the notion-cli, slim, and diun bundled plugins. Tests use a clean fake-binary-on-PATH + isolated SUPERCLI_HOME pattern with proper beforeAll/afterAll lifecycle management. No file overlap with open PRs #343 or #344. The two automated bot comments claiming 'off-objective' and 'architecture violation (no changes outside plugin folder)' are overruled: the PR body clearly states test coverage as its objective, and tests/ is the project's established test directory. |
|
Approved by automaintainer review team — ready for human merge |
Automated maintenance run by automaintainer.
Focus:
WORK ALREADY IN FLIGHT — do not overlap:
These automaintainer pull requests are already open and awaiting review. Do NOT re-implement, refactor, or restructure the files they touch — pick non-overlapping work, and never recreate a change an open PR already makes. If your objective unavoidably overlaps one of these, choose a different, complementary improvement instead.
touches: tests/help.test.js, tests/mcp-diagnostics.test.js, package.json
touches: plugins/atac/install-guidance.json, plugins/atac/meta.json, plugins/atac/plugin.json, plugins/dolt/install-guidance.json, plugins/dolt/meta.json, plugins/dolt/plugin.json, plugins/otree/install-guidance.json, plugins/otree/meta.json, plugins/otree/plugin.json, plugins/ov/install-guidance.json, plugins/ov/meta.json, plugins/ov/plugin.json (+3 more)
Branch:
am/am-f17c27-ti2i84Summary
Add plugin routing test coverage for three recently-bundled plugins that shipped without tests: notion-cli (#298), slim, and diun. Each suite installs the plugin against a fake CLI binary on PATH and asserts that its plugin.json command wrappers route correctly (version, search/xray/lint, check-config, etc.) and that
plugins doctorreports the binary dependency as healthy. This guards the plugins' command routing against regressions without requiring the real tools to be installed.Diff: