Skip to content

[improvement](ai-review) decouple review status from approval permission - #66402

Open
wzz6423 wants to merge 2 commits into
apache:masterfrom
wzz6423:fix/ai-review-status-without-approval
Open

[improvement](ai-review) decouple review status from approval permission#66402
wzz6423 wants to merge 2 commits into
apache:masterfrom
wzz6423:fix/ai-review-status-without-approval

Conversation

@wzz6423

@wzz6423 wzz6423 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: N/A

Related PR: #66376

Problem Summary:
The AI reviewer cannot submit a GitHub approval. This change makes the reviewer always submit a COMMENTED review and record a strict PASS or FAIL decision. The workflow verifies the decision and its own comment on the current PR head, then updates the code-review commit status: PASS is success; FAIL, missing/invalid decision, or an execution error is failure.

Release note

The AI reviewer now always submits a COMMENTED review and writes a strict PASS or FAIL decision before posting it. The workflow verifies both the decision and the bot comment on the current head, then sets the code-review commit status to success for PASS or failure for FAIL and execution errors. Subsequent PR sync events preserve these terminal success and failure states.

Check List (For Author)

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants