Skip to content

Add code review agent for GitHub Copilot#162

Open
eerxuan wants to merge 1 commit intodocumentdb:mainfrom
eerxuan:pr/code-review-agent
Open

Add code review agent for GitHub Copilot#162
eerxuan wants to merge 1 commit intodocumentdb:mainfrom
eerxuan:pr/code-review-agent

Conversation

@eerxuan
Copy link
Copy Markdown
Collaborator

@eerxuan eerxuan commented May 5, 2026

Add a code review agent configuration at .github/agents/code-review-agent.md that provides automated review guidance based on project conventions.

The agent enforces:

  • TEST_FORMAT.md, TEST_COVERAGE.md, and FOLDER_STRUCTURE.md rules
  • Strict BSON numeric types in assertions
  • Feature ownership (tests in the feature's own folder)
  • No cleanup leaks
  • Flakiness prevention (ignore_doc_order, no_parallel, replica, engine_xfail markers)
  • Documentation update requirements

Signed-off-by: Yunxuan Shi yunxuan@amazon.com

@eerxuan eerxuan requested a review from a team as a code owner May 5, 2026 00:01
Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>
@eerxuan eerxuan force-pushed the pr/code-review-agent branch from c3daddf to a56a120 Compare May 5, 2026 00:03
@documentdb-triage-tool documentdb-triage-tool Bot added documentation Improvements or additions to documentation enhancement New feature or request labels May 5, 2026
@documentdb-triage-tool
Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: documentation, enhancement
Project fields suggested: Component docs · Priority P3 · Effort M · Status Needs Review
Confidence: 0.75 (mixed)

Reasoning

component from path globs (docs); effort from diff stats (129+0 LOC, 1 files); LLM: Adds a single GitHub Copilot code-review agent config file under .github/ — a nice-to-have automation enhancement with no functional code changes.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant