shuke987 opened a new pull request, #71038:
URL: https://github.com/apache/doris/pull/71038

   ### Background
   
   Doris maintainers request an automated review by commenting on a pull 
request. The review workflow freezes the PR head and base before submitting the 
request. The cloud publisher records the GitHub review and a durable 
commit-status receipt, which feeds the existing merge gate.
   
   ### What problem does this PR solve?
   
   Issue Number: None  
   Related PR: #71030 (routed the default command to FC), #70983 (added cloud 
gate receipts)  
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   The debug comment and manual dispatch still expose paths from the rollout, 
and a repository variable can route reviews back to the Actions model runner. 
Keep one command, `/review` with an optional focus, and route every authorized 
new request through FC. Most deletions are the retired executor, its workflow 
steps and their tests.
   
   ### Details
   
   - **Change map:** Workflow and helper code +36/−2144 lines, tests +94/−3087, 
diagnostics documentation +7/−15, generated files 0. The dispatcher retains 
snapshot and focus authorization. The removed suites exercised the old model 
process, credential pool and shell steps. The publisher, merge-gate resolver 
and reviewer-assignment workflow keep their own tests.
   - **Affected:** The default-branch Code Review Runner workflow and the 
offline reviewer-assignment checks. The workflow path and signed approval job 
name stay stable for the deployed FC verifier.
   - **Behavior change:** Maintainers use `/review` or `/review <focus>` on an 
open PR. The old debug comment, manual dispatch and runner canary are retired.
   - **Developer and release impact:** Jobs already executing their original 
workflow revision can finish. Product builds and releases use their existing 
paths.
   - **License and third-party:** None.
   - **Rollback:** Revert this commit to restore both entry paths and the 
repository-variable switch. The previous workflow uses FC when 
`DORIS_REVIEW_BACKEND=fc`.
   - **CI permissions and secrets:** The workflow defaults to empty 
permissions. The dispatch job reads the PR, writes pending statuses and 
requests a GitHub OIDC token. Publication remains with the cloud service. The 
retired executor's OSS credentials disappear from this workflow.
   
   ### Testing
   
   Ran all 347 Python workflow/helper tests locally on macOS with Python 3.12 
and `RUN_GH_HTTP_TESTS=1`, including the loopback GitHub HTTP tests. Added 
coverage for rejecting the retired command before any API or FC call, accepting 
an optional multiline focus, and requiring a verified publisher receipt. The 
reviewer-routing configuration check and `git diff --check` passed.
   
   ### Release note
   
   None.
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (see Details)
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex
   - Generated: Workflow changes, helper and test updates, documentation and 
this PR description.
   - Human review: Pending community review.
   


-- 
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