feat(advisor): make PR review comments easier to scan#5584
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthrough
ChangesPR Review Advisor: Record-Based Comment Rendering
Sequence DiagramsequenceDiagram
participant buildComment
participant findingRecords
participant testingFollowups
participant sections
buildComment->>findingRecords: derive from result with PRA-# IDs
buildComment->>testingFollowups: derive from result with PRA-T# IDs
buildComment->>sections: reviewHeadline(recommendation)
buildComment->>sections: reviewPosture(recommendation)
buildComment->>sections: primaryNextAction(records)
buildComment->>sections: compactCount(blocker/warning/suggestion counts)
buildComment->>sections: renderFindingsIndex(findingRecords)
buildComment->>sections: renderFindingsDetails(findingRecords)
buildComment->>sections: renderTestingFollowupsDetails(testingFollowups)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in the branch is 96%. Coverage data for the branch is not yet available. Show a code coverage summary of the most covered files.
TypeScript / code-coverage/cliThe overall coverage in the branch is 46%. Coverage data for the branch is not yet available. Show a code coverage summary of the most covered files.
Updated |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: None Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
PR Review AdvisorReview posture: No blocking advisor findings This is an automated, non-binding review; it still expects maintainers and agents to respond to each finding. A human maintainer must make the final merge decision. |
Summary
This PR restructures the PR Review Advisor sticky comment so humans and agents can identify merge posture, next actions, finding IDs, and verification criteria more quickly. It keeps required findings visible while moving lower-priority details into scannable sections.
Changes
PRA-*) and test follow-ups (PRA-T*).Type of Change
Verification
Verifiedin GitHubnpx prek run --from-ref main --to-ref HEADpassesnpm testpasses (broad runtime changes only)npm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit