Skip to content

chore: add PR size guidance to AGENTS.md - #1331

Open
lym953 wants to merge 1 commit into
mainfrom
docs/agents-pr-size-guidance
Open

chore: add PR size guidance to AGENTS.md#1331
lym953 wants to merge 1 commit into
mainfrom
docs/agents-pr-size-guidance

Conversation

@lym953

@lym953 lym953 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Overview

Adds a line to AGENTS.md asking agents to keep PRs small — usually no more than 1000 changed lines including tests — so reviews stay manageable.

Testing

Docs-only change; no code affected.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Aug 17, 2026

Copy link
Copy Markdown

Pipelines

Unblock PR with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

DataDog/datadog-lambda-extension | e2e-test-status (amd64, fips)   View in Datadog   GitLab

DataDog/datadog-lambda-extension | e2e-test-status (amd64)   View in Datadog   GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f4defc6 | Docs | Datadog PR Page | Give us feedback!

@lym953 lym953 changed the title docs(agents): add PR size guidance to AGENTS.md chore: add PR size guidance to AGENTS.md Aug 17, 2026
@lym953
lym953 marked this pull request as ready for review August 17, 2026 19:20
@lym953
lym953 requested a review from a team as a code owner August 17, 2026 19:20
@lym953
lym953 requested review from shreyamalpani and a lite review from Copilot August 17, 2026 19:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates contributor guidance to encourage smaller pull requests for easier reviews.

Changes:

  • Adds a guideline recommending PRs stay under ~1000 changed lines (including tests).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread AGENTS.md
## Pull Requests

- When creating a PR, follow the PR template at `.github/pull_request_template.md`.
- Try to keep PRs small — usually no more than 1000 changed lines, including tests — to make review easier.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More practically we may want to limit the size of the non-test changes instead of applying a blanket 1k-line limit.

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.

3 participants