feat(query): CodeClimate and badge CI output formats#172
Conversation
GitLab Code Quality ingestion and README/CI issue-count summaries are output modes on existing recipe rows — flat minor severity and codemap-badge/v1 per plan F.7/F.8.
|
Warning Review limit reached
More reviews will be available in 13 minutes and 11 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (21)
✨ 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 |
🦋 Changeset detectedLatest commit: c9e08af The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hoist noLocatableFindingsWarning for CLI/MCP/HTTP; extend consumer surfaces (README, agent-content, MCP descriptions); add HTTP/MCP/formatter tests; reject badge_style without format=badge on all transports.
Sync architecture/glossary ToolResult and HTTP Content-Type; extend agent-content and alias help; remove shipped roadmap item; mark plan shipped pending merge.
File-level recipe rows (e.g. boundary-violations) default begin to 1 when line_start is absent; clarify README format comment.
Distinct same-file boundary violations no longer collide under GitLab dedup; document codeclimate on boundary-violations recipe.
Lift lives in architecture.md, glossary.md, README, and agent-content; roadmap item already removed.
Fingerprint hashes use the same line as location.lines.begin (default 1). Add MCP/CLI/handler regression tests for warnings, combo guards, and happy paths.
Summary
--format codeclimatefor GitLab Code Quality JSON (flatminorseverity, stable fingerprints;lines.begindefaults to1withoutline_start).--format badgewith markdown default (codemap: N issues/codemap: clean) and--badge-style jsonforcodemap-badge/v1.query/query_recipe, and HTTP tool dispatch; lift toarchitecture.md,glossary.md, README, and agent-content. Plan deleted per Rule 3.Test plan
bun test src/application/output-formatters.test.ts src/application/tool-handlers.test.ts src/cli/cmd-query.test.ts src/application/http-server.test.ts src/application/mcp-server.test.tsbun run typecheckbun src/index.ts query --recipe boundary-violations --format codeclimatebun src/index.ts query --recipe boundary-violations --format badgebun src/index.ts query --recipe boundary-violations --format badge --badge-style json