github-actions[bot] commented on code in PR #62528:
URL: https://github.com/apache/doris/pull/62528#discussion_r3086596930


##########
.github/workflows/opencode-review-runner.yml:
##########
@@ -90,6 +93,7 @@ jobs:
               - Build a JSON array of comments like: [{ "path": "<file>", 
"position": <diff_position>, "body": "..." }]
               - Submit via: gh api 
repos/PLACEHOLDER_REPO/pulls/PLACEHOLDER_PR_NUMBER/reviews --input <json_file>
               - The JSON file should contain: 
{"event":"REQUEST_CHANGES","body":"<summary>","comments":[...]}
+          - A complete and detailed review of the entire PR must be conducted, 
identifying all potential issues and submitting corresponding comments. Only 
then can the review work be considered finished. If this standard is not 
strictly met, the review of the remaining parts must continue.
           PROMPT
           sed -i "s|PLACEHOLDER_REPO|${REPO}|g" /tmp/review_prompt.txt

Review Comment:
   This new requirement is not actually enforced by the workflow. The job still 
treats any zero-exit `opencode run` as success and never verifies that the 
agent really created a PR review/comment. If the model only prints a summary to 
stdout, this workflow still goes green, which defeats the purpose of tightening 
the review contract.
   
   Please add a post-run verification step that checks the PR for a newly 
created review/comment from this run and fails if none was submitted.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to