CI: AI review workflow improvements#6
Open
xingbowang wants to merge 4 commits into
Open
Conversation
Summary: - Bump Claude reviewer to claude-opus-4-7; recovery + classifier to claude-sonnet-4-6. - Add Sonnet complexity classifier step that picks MAX_THINKING_TOKENS for the main reviewer (16000 for simple, 32000 for complex; defaults to complex on parse failure). workflow_dispatch exposes a manual thinking_budget override. - Auto-review comment marker now includes the short commit SHA, so each new commit gets its own comment instead of overwriting the prior review. - Review prompt enforces a fixed output structure: HIGH-finding summary at the top, full review wrapped in <details> so PR pages stay scrollable. Recovery prompt mirrors the same structure for partial reviews. - Add early-trigger gate: listen on check_run.completed and start the review as soon as >= 50% of registered check runs have succeeded with 0 failures, with a denominator floor of 10 checks to avoid races during check registration. Existing workflow_run trigger remains as a fallback. - Add Codex-based review workflows (codex-review.yml, codex-review-comment.yml, parse-codex-review.js) and a shared build-ai-review-comment.js helper.
Owner
Author
|
/claude-review |
Owner
Author
|
/codex-review |
Owner
Author
|
/codex-review rerun after support checkout fix |
Owner
Author
|
/claude-review rerun after support checkout fix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork-only test PR for workflow validation of facebook/rocksdb PR 14659.
Base branch
pr-14659-baseis pinned to the merge base so this PR contains only the workflow changes.