feat(review): skip auto-review when a configured label is present via review.auto_review.skip_labels - #3686
Conversation
Add review.auto_review.skip_labels so PRs carrying matching labels bypass AI review, with case-insensitive matching and manifest round-trip. Fixes JSONbored#2062
Add queue integration, wiring, and round-trip tests so label-based auto-review skips are exercised end-to-end. Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise empty-config/non-matching label paths, non-string parse warnings, omitted labels defaults, and undefined pr.labels wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-06 03:59:20 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 6 non-blocking
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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3686 +/- ##
=======================================
Coverage 93.34% 93.35%
=======================================
Files 315 315
Lines 32129 32157 +28
Branches 11780 11791 +11
=======================================
+ Hits 29991 30019 +28
Misses 1507 1507
Partials 631 631
🚀 New features to boost your workflow:
|
Summary
review.auto_review.skip_labelsto the focus manifest so maintainers can skip AI auto-review when a PR carries a matching label (case-insensitive).evaluateAutoReviewSkipReason/resolvePullRequestAutoReviewSkipReasonand the queue processor, emittingreview skipped (label)audit events.pr.labels.Fixes #2062
Test plan
npx tsc -p tsconfig.json --noEmitfocus-manifestparse/evaluate/round-trip tests forskip_labelsauto-review-wiringtests for resolver defaults andresolveAutoReviewSkipForPullRequestqueue.test.tsintegration test for label-based skip + audit detailMade with Cursor