Skip to content

fix(review): demote AI review nits into the collapsible Nits section, not the headline#1577

Merged
JSONbored merged 1 commit into
mainfrom
fix/review-comment-nits-dropdown
Jun 27, 2026
Merged

fix(review): demote AI review nits into the collapsible Nits section, not the headline#1577
JSONbored merged 1 commit into
mainfrom
fix/review-comment-nits-dropdown

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

The composed advisory notes baked the AI's **Nits (N)** bullets into the prominent assessment blob, so non-blocking nits rendered like top-line findings. splitAiReviewNits now peels the trailing nits off the notes — the assessment keeps the prose + any **Blockers** (real problems stay headline), and the AI nits fold into the same collapsible Nits section as the gate warnings. Nits are never blockers.

… not the headline

The composed advisory notes baked the AI's `**Nits (N)**` bullets straight into the prominent assessment blob, so
non-blocking nits read like top-line findings. Split them out (splitAiReviewNits): the assessment keeps the prose +
any `**Blockers**` (real problems stay headline), and the AI nits fold into the SAME collapsible Nits section as the
gate warnings. Nits are never blockers.
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 27, 2026
@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.45%. Comparing base (2446a04) to head (abb572a).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1577   +/-   ##
=======================================
  Coverage   95.45%   95.45%           
=======================================
  Files         202      202           
  Lines       21766    21776   +10     
  Branches     7864     7865    +1     
=======================================
+ Hits        20776    20786   +10     
  Misses        414      414           
  Partials      576      576           
Files with missing lines Coverage Δ
src/review/unified-comment-bridge.ts 95.65% <100.00%> (+0.53%) ⬆️
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JSONbored JSONbored merged commit b284304 into main Jun 27, 2026
18 checks passed
@JSONbored JSONbored deleted the fix/review-comment-nits-dropdown branch June 27, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant