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

   ### Background
   
   When a committer runs the `doris-repo-review` workflow locally and reaches a 
converged `APPROVE` verdict, the skill posts a machine-readable 
`doris-repo-review/v1` comment on the pull request. 
`.github/workflows/code-review-sync-result.yml` runs 
`.github/scripts/validate_review_pass_comment.py` against that comment and 
marks the `code-review` commit status as successful when the commit, base lag, 
author permission, model, and effort all pass.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #68677 (builds on)
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   Local pipeline-equivalent reviews performed with `gpt-6.2-astra`, 
`gpt-6.2-sol`, `gemini-4-carbon`, or `gemini-4-neon` are rejected by 
`.github/scripts/validate_review_pass_comment.py` with `INVALID: model is not 
allowed`. Extend `ALLOWED_EFFORTS_BY_MODEL` to accept `gpt-6.2-astra` and 
`gpt-6.2-sol` at `xhigh`, `max`, or `ultra`, `gemini-4-carbon` at `high` (its 
highest published reasoning tier), and `gemini-4-neon` at `xhigh`, while 
preserving every existing model and effort decision. Most of the diff adds unit 
tests for the new combinations, per-model effort gates, and unlisted near-miss 
identifiers. Existing pull requests and CI review runs are unaffected.
   
   ### Details
   
   - **Affected:** `.github/scripts/validate_review_pass_comment.py` and 
`.github/scripts/test_validate_review_pass_comment.py` executed by 
`.github/workflows/code-review-sync-result.yml` on Ubuntu GitHub Actions 
runners (Python 3).
   - **Developer and release impact:** Maintainers with `write` or `admin` 
repository permission can satisfy the `code-review` status check using verified 
local review receipts from GPT-6.2 Astra/Sol on Codex and Gemini 4 Carbon 
(`high`) or Gemini 4 Neon (`xhigh`) on Antigravity once the companion 
`apache/doris-skills` sender update lands. No release impact.
   - **License and third-party:** None.
   - **Rollback:** Revert this commit; no workflow permissions, secrets, runner 
images, or caches are changed.
   
   ### Testing
   
   - `python3 -m unittest discover -s .github/scripts -p 
test_validate_review_pass_comment.py -v` locally on macOS: 27 tests passed, 
covering all 29 allowed model/effort pairs, lower and unsupported effort 
rejection (`high` rejected for `gemini-4-neon` and Codex/Claude models; 
`xhigh`, `max`, and `ultra` rejected for `gemini-4-carbon`), retired models, 
and unlisted near-miss identifiers (`gemini-4-carbon-high`, 
`gemini-4-neon-xhigh`, `gemini-pro-orchestrator`, `gpt-6.2`).
   - Cross-repository policy matrix locally against the companion 
`apache/doris-skills` sender policy: 352 model/effort combinations agree with 
zero mismatches (29 accepted, adding only the 8 intended combinations over the 
21-combination baseline), and a mocked `gemini-4-carbon` (`high`) receipt 
rendered by `post-pass-comment.sh --dry-run` passes 
`validate_review_pass_comment.py validate`.
   
   ### Notes for Reviewers
   
   - Merge this receiver update before the companion `apache/doris-skills` 
sender PR so newly posted receipts are accepted immediately on `master`.
   - `gemini-4-carbon` publishes `high` as its maximum reasoning effort tier 
(no `xhigh` variant exists), whereas `gemini-4-neon` publishes `xhigh` (`Extra` 
in the Antigravity UI); unsplit CLI suffixes (`gemini-4-carbon-high`, 
`gemini-4-neon-xhigh`) and `gemini-pro-orchestrator*` identifiers are rejected 
so receipts carry canonical split `model` and `effort` fields from standalone 
runs.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: Antigravity (Gemini 4 Carbon High)
   - Generated: code, tests, this description
   - Human review: not stated
   - Prompts: Asked whether `doris-repo-review` could add Gemini 4 Neon 
(`xhigh`) and Carbon (`high`), then requested companion PRs across 
`apache/doris` and `apache/doris-skills` adding `gemini-4-carbon` (`high`), 
`gemini-4-neon` (`xhigh`), `gpt-6.2-astra`, and `gpt-6.2-sol` while keeping 
existing models and Codex defaults unchanged.
   


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