Skip to content

Commit f13dea2

Browse files
craig[bot]ajstorm
andcommitted
Merge #156004
156004: dev-inf: Add feedback labels to AI review comments r=rickystewart a=ajstorm When the AI review detects potential bugs, the comment now includes instructions for reviewers to tag the PR based on whether the finding was helpful: - `O-AI-Review-Real-Issue-Found`: Issue was real or helpful - `O-AI-Review-Not-Helpful`: Issue was not helpful This feedback will help improve the AI review system by tracking the accuracy and usefulness of detected issues. **Example comment output:** > ## Potential Bug(s) Detected > > The three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation. > > **Next Steps:** > Please review the detailed findings in the workflow run. > > After you review the findings, please tag the issue as follows: > - If the detected issue is real or was helpful in any way, please tag the issue with `O-AI-Review-Real-Issue-Found` > - If the detected issue was not helpful in any way, please tag the issue with `O-AI-Review-Not-Helpful` Release note: none Epic: None Co-authored-by: Adam Storm <storm@cockroachlabs.com>
2 parents 7bc8809 + 98520af commit f13dea2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr-analyzer-threestage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ jobs:
235235
The three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation.
236236
237237
**Next Steps:**
238-
Please review the detailed findings in the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
238+
Please review the detailed findings in the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}).
239+
240+
After you review the findings, please tag the issue as follows:
241+
- If the detected issue is real or was helpful in any way, please tag the issue with \`O-AI-Review-Real-Issue-Found\`
242+
- If the detected issue was not helpful in any way, please tag the issue with \`O-AI-Review-Not-Helpful\`"
239243
240244
gh pr edit ${{ github.event.pull_request.number }} --add-label "o-AI-Review-Potential-Issue-Detected"

0 commit comments

Comments
 (0)