Skip to content

CI: AI review workflow improvements#6

Open
xingbowang wants to merge 4 commits into
pr-14659-basefrom
pr-14659
Open

CI: AI review workflow improvements#6
xingbowang wants to merge 4 commits into
pr-14659-basefrom
pr-14659

Conversation

@xingbowang

Copy link
Copy Markdown
Owner

Fork-only test PR for workflow validation of facebook/rocksdb PR 14659.

Base branch pr-14659-base is pinned to the merge base so this PR contains only the workflow changes.

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.
@xingbowang

Copy link
Copy Markdown
Owner Author

/claude-review

@xingbowang

Copy link
Copy Markdown
Owner Author

/codex-review

@xingbowang

Copy link
Copy Markdown
Owner Author

/codex-review rerun after support checkout fix

@xingbowang

Copy link
Copy Markdown
Owner Author

/claude-review rerun after support checkout fix

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.

1 participant