morningman opened a new pull request, #71469:
URL: https://github.com/apache/doris/pull/71469

   ### Background
   
   `.github/PULL_REQUEST_TEMPLATE.md` lays out every apache/doris PR 
description: fixed headings and line labels, plus HTML comments that tell the 
author what to write and that GitHub doesn't show. The `doris-pr-description` 
skill in apache/doris-skills writes descriptions in the same layout and checks 
them with its `check_pr.py`; this repository pins that skill through its 
`doris-skills` submodule.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: apache/doris-skills#22 (the skill change this follows), #70175 
(introduced this template)
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   apache/doris-skills#22 changes what a description gives reviewers, after the 
first description of #71465 passed the checker yet left a reader unable to say 
what an upgrade changes. Problem Summary now shows the change with a concrete 
example and lists each difference existing users see in a table; a Feature 
lists every name it adds in an `Interface changes` field; and the AI Disclosure 
gains a `Process` line on how the work was done. This PR rewrites the 
template's guidance comments to ask for the same parts, so that a description 
written by hand matches one written with the skill. Only comments change, so 
the visible headings and labels stay as they are.
   
   | Section | The comment asks for | This PR adds |
   |---|---|---|
   | Problem Summary | Two to five sentences | One concrete example with its 
results before and after, and a table of the differences that users who upgrade 
see |
   | Details | The fields of each PR type | `Interface changes` among a 
Feature's fields, and for any PR that adds a name users type, set, or read |
   | Check List | `Yes (see Details)` with a Behavior change field | `Yes (see 
Problem Summary)`, which points to that table |
   | AI Disclosure | Tool, Generated, Human review, and optionally Prompts | 
`Process` when an agent wrote code or tests: Investigated, Weighed (with who 
took each decision), Checked, Not examined |
   
   ### Details
   
   - **Affected:** The guidance that authors see in a new PR's description. 
Only comments change, so tools that read the visible labels, such as the Check 
List lines, see the same layout, and `check_pr.py` strips comments before it 
checks.
   - **Developer and release impact:** Authors who write descriptions by hand 
are asked for the parts that the skill asks for. Nothing changes for builds or 
releases.
   - **License and third-party:** None.
   - **Rollback:** Revert the commit; nothing depends on the comments.
   
   ### Testing
   
   - The old and the new template, with HTML comments stripped, have the same 
visible text.
   - GitHub's Markdown API renders the old and the new template to the same 
HTML, so none of the new guidance shows.
   - The description of #71465, written to this guidance with the skill from 
apache/doris-skills#22, passes that skill's `check_pr.py --pr 71465` with no 
errors or warnings.
   
   ### Notes for Reviewers
   
   - Merge after apache/doris-skills#22, and after this repository's 
`doris-skills` pointer moves past it. Until then the pinned skill doesn't know 
`Interface changes` or `Process`, and its checker would call `Interface 
changes` an unknown field of a Feature.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: Claude Code (Claude Opus 5.5)
   - Generated: the template change and this description
   - Human review: not stated
   - Process:
     - Investigated: the template's history (#70175 introduced it, and #70422 
added the skill recommendation at its top); which of its comments 
apache/doris-skills#22 leaves out of date; and how that skill's `check_pr.py` 
treats HTML comments and an empty `Process` line.
     - Weighed: updating every comment that #22 leaves out of date, rather than 
only the AI Disclosure comment that the author asked about, taken by the agent 
so that the template never asks for less than the skill; and mentioning 
`Process` in the comment, as `Prompts` is, rather than as a visible line that 
would stay empty in descriptions written without AI, also taken by the agent.
     - Checked: the visible layout, GitHub's rendering, and a real description 
that follows the new guidance.
     - Not examined: other tools that might read the comments; none is known.
   - Prompts: After reading the `Process` line drafted for #71465, the author 
asked to publish it and to open a PR that updates the template.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to