Skip to content

AGENTS.md: Update PR title and description guidelines#64477

Merged
ti-chi-bot[bot] merged 7 commits into
masterfrom
lance6716-patch-1
Nov 14, 2025
Merged

AGENTS.md: Update PR title and description guidelines#64477
ti-chi-bot[bot] merged 7 commits into
masterfrom
lance6716-patch-1

Conversation

@lance6716

@lance6716 lance6716 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: ref #63847

Problem Summary:

What changed and how does it work?

#64328 (comment) this can let copilot file a PR that directly pass CI test check

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

Clarify PR title and description formatting requirements.
@ti-chi-bot ti-chi-bot Bot added release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 13, 2025
@tiprow

tiprow Bot commented Nov 13, 2025

Copy link
Copy Markdown

Hi @lance6716. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ti-chi-bot ti-chi-bot Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 13, 2025
@lance6716

Copy link
Copy Markdown
Contributor Author

/ok-to-test
/cc @wuhuizuo @hawkingrei @D3Hunter

@ti-chi-bot
ti-chi-bot Bot requested a review from D3Hunter November 13, 2025 13:26
@ti-chi-bot ti-chi-bot Bot added the ok-to-test Indicates a PR is ready to be tested. label Nov 13, 2025
@ti-chi-bot
ti-chi-bot Bot requested review from hawkingrei and wuhuizuo November 13, 2025 13:26
Comment thread AGENTS.md

**Format 2 (Repository-Wide):** `*: what is changed`

The PR description **must** strictly follow the template located at @.github/pull_request_template.md. **Do not remove, alter, or modify** any HTML comments (`<!--`, `-->`) within the template. These elements are essential for CI and removing them will cause processing failures.

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.

Because GitHub uses Copilot, which has its own prompt file.

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.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I want to use copilot write codes, rather than do code review. However I remember there's also a dedicated file for copilot coding agent, I'll take a look tomorrow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ti-chi-bot ti-chi-bot Bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Nov 13, 2025

@lance6716 lance6716 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

/hold

move copilot instrunctions to the separate file.

@ti-chi-bot ti-chi-bot Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2025
@ti-chi-bot ti-chi-bot Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 14, 2025
@hawkingrei
hawkingrei requested a review from Copilot November 14, 2025 03:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the PR title and description guidelines in AGENTS.md to provide clearer instructions for AI agents like Copilot when creating pull requests. The changes improve clarity around formatting requirements and add a new instruction file specifically for Copilot.

  • Restructured PR instructions section with clearer subsection headers
  • Clarified when to use * in PR titles (non-package-specific or too many packages)
  • Simplified PR description requirements to focus on HTML comment preservation
  • Added Copilot-specific instructions for handling issue number references

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
AGENTS.md Reorganizes PR instructions with subsection headers and clarifies PR title/description guidelines
.github/copilot-instructions.md Adds new Copilot-specific instruction about using issue numbers in PR descriptions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread .github/copilot-instructions.md Outdated
lance6716 and others added 2 commits November 14, 2025 12:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ti-chi-bot

ti-chi-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: D3Hunter, hawkingrei

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [D3Hunter,hawkingrei]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 14, 2025
@ti-chi-bot

ti-chi-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2025-11-13 14:52:54.666526466 +0000 UTC m=+973024.109556335: ☑️ agreed by D3Hunter.
  • 2025-11-14 05:28:29.864260032 +0000 UTC m=+1025559.307289911: ☑️ agreed by hawkingrei.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lance6716

Copy link
Copy Markdown
Contributor Author

/retest

@ti-chi-bot
ti-chi-bot Bot merged commit 52f78e9 into master Nov 14, 2025
5 checks passed
@ti-chi-bot
ti-chi-bot Bot deleted the lance6716-patch-1 branch November 14, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants