t4733: quality-feedback-helper.sh: add --include-positive flag to scan-merged#4742
t4733: quality-feedback-helper.sh: add --include-positive flag to scan-merged#4742marcusquinn wants to merge 1 commit intomainfrom
Conversation
…H#4733) Add --include-positive flag to quality-feedback-helper.sh scan-merged to allow debugging the positive-review filter. When passed, bypasses both the summary-only bot filter (0 inline comments + COMMENTED state) and the approval-only body filter (LGTM, 'no further comments', etc.). The positive-review filtering itself was already implemented; this PR adds the missing --include-positive override flag from the acceptance criteria, plus 7 new tests covering: - Gemini summary-only COMMENTED review with 0 inline comments (skipped) - Gemini COMMENTED review with inline comments (kept) - Human COMMENTED review with 0 inline comments (kept — humans not filtered) - --include-positive bypasses LGTM filter - --include-positive bypasses 'no further comments' filter - --include-positive bypasses summary-only bot filter - Gemini positive confirmation body has no actionable language Closes #4733
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Merge conflict detected after base branch updates. Worker for issue #4733 needs to rebase this branch before merge. |
Summary
--include-positiveflag toscan-mergedto override the positive-review filter for debuggingCOMMENTEDstate) and the approval-only body filter (LGTM,no further comments, etc.)Changes
quality-feedback-helper.shcmd_scan_merged: parse--include-positiveflag, pass to_scan_single_pr_scan_single_pr: accept$4 include_positiveparam; pass as--argjsonto both jq filters;$summary_onlyand$approval_onlyfilters are bypassed whentrue--include-positivedocs and exampletests/test-quality-feedback-main-verification.sh_test_approval_filter: accepts$4 include_positiveparam_test_summary_only_filterhelper for testing the bot summary-only filterTest results
Acceptance criteria
scan-mergeddoes not generate issues for reviews with 0 inline comments and positive-only body text (already implemented; tests confirm)--include-positiveflag to override the filter for debuggingCloses #4733