Skip to content

chore(#6228): add qodo pr-agent config to disable stale Go test rules - #6230

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6228-disable-stale-qodo-rules
Open

chore(#6228): add qodo pr-agent config to disable stale Go test rules#6230
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6228-disable-stale-qodo-rules

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Add a .pr_agent.toml repo-level configuration file to disable qodo-code-review convention pack rules TC-001 and TC-002, which mandate stdlib-only Go testing (no testify). The project uses testify/assert and testify/require in 72% of test files, making these rules a standing source of false-positive findings on Go test PRs.

Related Issue

Closes #6228

Changes

  • Add .pr_agent.toml with [pr_reviewer] and [pr_code_suggestions] sections
  • Both sections include extra_instructions telling qodo to skip TC-001/TC-002 enforcement and not suggest replacing testify with stdlib assertions
  • Configuration follows qodo's repo-level config format, overriding only the relevant settings

Testing

  • TOML syntax validated (Python tomllib)
  • Secret scan passed
  • Verify on next Go test PR: qodo-code-review should produce zero TC-001/TC-002 findings

Checklist

  • PR title follows Conventional Commits (correct type, ! for breaking changes)
  • Commits are signed off (DCO) — human and human-directed agent sessions only
  • I wrote this contribution myself and can explain all changes in it

Note: pre-commit could not run in the sandbox (network restriction on git fetch for hook environment setup). The post-script runs pre-commit authoritatively on the runner.


Closes #6228

Post-script verification

  • Branch is not main/master (agent/6228-disable-stale-qodo-rules)
  • Secret scan passed (gitleaks — b5314d3b59172d150587d159903642319b28d1d1..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

The qodo-code-review Go convention pack rules TC-001 and TC-002
mandate stdlib-only testing (no testify). This project uses
testify/assert and testify/require in 72% of test files (156/216),
so these rules produce false positives on idiomatic project test
code.

Add a .pr_agent.toml repo-level configuration file with
extra_instructions telling qodo's reviewer and code-suggestions
tools to skip TC-001/TC-002 enforcement and not suggest replacing
testify with stdlib assertions.

Closes #6228
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner August 14, 2026 16:06
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 14, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 14, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:07 PM UTC · Completed 4:18 PM UTC

Commit: f341790 · View workflow run →

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review

Copy link
Copy Markdown

Looks good to me


Labels: PR adds tooling configuration for the qodo code review bot (CI pipeline component)

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge type/chore Maintenance and housekeeping tasks component/ci CI pipelines and checks labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/ci CI pipelines and checks ready-for-merge All reviewers approved — ready to merge ready-for-review Agent PR ready for human review type/chore Maintenance and housekeeping tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update qodo-code-review Go convention pack to remove stale testify rules (TC-001/TC-002)

1 participant