Repository navigation
ci: add DeepSeek, Gemini and Grok AI reviewers and bump lambdaclass/actions - #763
Conversation
…ctions lambdaclass/actions v1 now ships DeepSeek, Gemini and Grok reviewers, a /review command that triggers every reviewer, and a Claude reviewer that is one Messages API call instead of an agent run. Pin all six to the commit v1 points at, as the rest of our actions are pinned. Each job now starts on a comment only when it begins with its own command or /review, so an ordinary PR comment no longer spawns one skipped run per reviewer. The token is narrowed to contents: read and pull-requests: write, which is all the called workflows use; the repo default grants write to everything. DeepSeek, Gemini and Grok need DEEPSEEK_API_KEY, GEMINI_API_KEY and XAI_API_KEY; until those secrets exist, each comments and fails its check.
🤖 Gemini Code ReviewAutomated review by Gemini |
🤖 Grok Code ReviewAutomated review by Grok (xAI) |
🤖 DeepSeek Code ReviewAutomated review by DeepSeek |
🤖 Claude Code ReviewReview: PR 763 — Add DeepSeek, Gemini, and Grok AI reviewersThis PR only changes CI. No Rust or consensus code is touched, so the consensus-specific checklist doesn't apply. The changes are an improvement overall: comment-based triggers are now filtered at the caller level instead of running every job on every comment. A few things to tighten: Security / correctness
Behavior / noise
Nits
Automated review by Claude · claude-opus-5-5 · custom prompt |
🤖 Codex Code ReviewNo actionable findings in the provided diff. This PR only changes the AI review workflow; it does not touch Rust or consensus logic. The reusable workflows are pinned to a commit, but network restrictions prevented inspecting that commit. Their authorization checks, secret handling, and execution behavior remain unverified. Automated review by OpenAI Codex · gpt-6.1-sol · custom prompt |
🤖 Kimi Code Review
The full-commit SHA pinning and narrowly scoped token permissions are good security practices. Automated review by Kimi (Moonshot AI) · kimi-k3.1-pro · custom prompt |
Brings in #751 (bump rustls, quick-xml, zstd-sys, ruint and quinn-proto past RustSec advisories, and drop libp2p's unused transports), #763 (the DeepSeek, Gemini and Grok AI reviewers) and #766 (the Telegram links). #746 is main's version of a PR nightly already carries as squash 2b0f720. Its reference test sits elsewhere in fork_choice.rs on main, so the merge added a second, identical copy; that copy is dropped, which leaves fork_choice.rs exactly as nightly had it. Claude-Session: https://claude.ai/code/session_011vghNmndKPkZinHRkVTwVB
🗒️ Description / Motivation
lambdaclass/actionsv1has moved on since our pin (2127455, Sep 1). It now ships three more reviewers (DeepSeek, Gemini, Grok), a/reviewcommand that triggers every reviewer a repo calls, and a Claude reviewer that is a single Messages API call instead of a Claude Code agent run. This PR brings us up to date and adds the new reviewers.What Changed
.github/workflows/ai-review.ymlonly:2127455→ad22254(whatv1points at today), still SHA-pinned as in #713ai-review-deepseek.yml,ai-review-gemini.yml,ai-review-grok.yml/kimi,/codex,/claude,/deepseek,/gemini,/grok) or/review. Before, every PR comment spawned one run per reviewer that then skipped inside the called workflowpermissions:contents: read+pull-requests: write, which is all the called workflows declare; the repo default grants write to everythingCorrectness / Behavior Guarantees
How a review triggers:
Behavior changes reviewers should know about:
DEEPSEEK_API_KEY,GEMINI_API_KEYandXAI_API_KEY, which this repo does not have yet. Until they are added, each of those reviewers posts a "secret is not set" comment and fails its check on every PR.claude-opus-5-5ateffort: high. We passed none of the removed inputs (max_turns,allowed_tools), so nowith:changes are needed.kimi-k3.1-pro, Codexgpt-6.1-sol.Tests Added / Run
actionlint -ignore SC2086 -ignore 'specifying action "\$/' .github/workflows/ai-review.yml(same flags aspr_lint_gha.yaml): cleangh actions-lock --verify(same asverify-lockfile.yml): all 13 workflows valid; reusable workflows are not tracked inactions.lock, so it needs no updateRelated Issues / PRs
lambdaclass/actions)✅ Verification Checklist
make fmt: n/a, no Rust changesmake lint: n/a, no Rust changesmake test: n/a, no Rust changes