feat(ci): add comprehensive Qodo PR-Agent review rules#780
Merged
qin-ctx merged 1 commit intovolcengine:mainfrom Mar 19, 2026
Merged
feat(ci): add comprehensive Qodo PR-Agent review rules#780qin-ctx merged 1 commit intovolcengine:mainfrom
qin-ctx merged 1 commit intovolcengine:mainfrom
Conversation
- Add .pr_agent.toml with 15 repo-specific review rules derived from real bug history (PRs volcengine#505, volcengine#728, volcengine#749, volcengine#740/volcengine#745, volcengine#754, volcengine#735, volcengine#767) - Rules structured as WHEN/THEN/BECAUSE for deterministic enforcement - Add 8 custom labels (memory-pipeline, async-change, api-breaking, etc.) - Add ignore patterns for lock files, third_party, build artifacts - Enable score review, TODO scan, split-PR detection, security audit - Configure improve tool with quality threshold and extended mode - Configure describe tool with PR diagrams and semantic file types - Update workflow: ark-code-latest model, checkout step for .pr_agent.toml, move all config from inline YAML to .pr_agent.toml (single source of truth)
qin-ctx
approved these changes
Mar 19, 2026
Collaborator
|
/review |
|
Preparing review... |
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.
Summary
.pr_agent.tomlwith 15 repo-specific review rules derived from real bug history, replacing inlineextra_instructionsin the workflow YAMLpr-review.ymlto useark-code-latestmodel, add checkout step so PR-Agent reads.pr_agent.toml, and enable auto-describe.pr_agent.toml, not scattered across YAML env varsWhat's in
.pr_agent.toml15 Review Rules (WHEN/THEN/BECAUSE format)
8 Custom Labels
memory-pipeline,async-change,embedding-vectorization,plugin-bot,api-breaking,multi-tenant,retrieval,rust-cliIgnore Patterns
Lock files,
third_party/**,target/**,db_test_*/**,.worktrees/**,build_support/**Enabled Features (off by default in Qodo)
Workflow Changes
ark-code-latestviahttps://ark.cn-beijing.volces.com/api/coding/v3actions/checkout@v4so.pr_agent.tomlis readableauto_describeextra_instructions(now in.pr_agent.toml)Test plan
.pr_agent.tomland applies rulesark-code-latest) responds correctly