feat(review): title-cased category labels on inline comments (#2149) - #3936
Conversation
…ed#2149) Extract pure inline-comment label formatting and render enabled categories as `Blocker · Security` instead of parenthetical tags. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-07 07:22:10 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 3 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 #3936 +/- ##
=======================================
Coverage 93.66% 93.66%
=======================================
Files 372 373 +1
Lines 34856 34860 +4
Branches 12743 12744 +1
=======================================
+ Hits 32649 32653 +4
Misses 1588 1588
Partials 619 619
🚀 New features to boost your workflow:
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Summary
inline-comment-label.tsto format inline severity labels with an optional title-cased category (Blocker · Security)formatInlineBodyto use the new label style whenreview.finding_categoriesis enabled; default-off path stays severity-onlyclassifyFindingCategoryfallback when the model omits a categoryFixes #2149
Test plan
inline-comment-label.test.ts— title-case helper, enabled/disabled labels, classifier fallbackinline-comments.test.ts— updated category-tag expectations + e2e wiringqueue.test.ts— inline comment integration expectsNit · Securitylabelnpx tsc -p tsconfig.json --noEmitpasses locallyMade with Cursor