feat(config): add review.max_findings caps for blockers/nits (#2049) - #3759
feat(config): add review.max_findings caps for blockers/nits (#2049)#3759bohdansolovie wants to merge 1 commit into
Conversation
Configurable per-repo limits on how many blockers/nits render in the unified comment, with a +N more footer. Display-only — gate decisions unchanged. Absent config keeps the legacy 12-item cap (byte-identical). Fixes JSONbored#2049 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-06 07:55:12 UTC
🛑 Suggested Action - Reject/Close
Review summary Nits — 5 non-blocking
Why this is blocked
CI checks failing
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-code); Linked issue overlaps another open PR; duplicate of another open PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
review.max_findings: { blockers?, nits? }to the focus manifest — non-negative integer display caps parsed with warn+ignore on invalid values+N morefooter; gate decisions are unchanged (display-only)Fixes #2049
Test plan
focus-manifest.test.ts— parse, round-trip, invalid warns,resolveReviewPromptOverridesmax-findings-display.test.ts— truncate helper, renderer caps, gate-invariant, bridge wiringconfig-templates.test.ts— documentsmax_findingsin example yml filesnpx tsc -p tsconfig.json --noEmitpasses locallyMade with Cursor