[ 
https://issues.apache.org/jira/browse/KAFKA-21579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Chang reassigned KAFKA-21579:
----------------------------------

    Assignee: Eric Chang  (was: Ken Huang)

> PR formatter merges Reviewers into the Co-Authored-By trailer
> -------------------------------------------------------------
>
>                 Key: KAFKA-21579
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21579
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ken Huang
>            Assignee: Eric Chang
>            Priority: Minor
>
> When a PR description contains adjacent {{Co-Authored-By:}} and 
> {{Reviewers:}} trailers, {{.github/scripts/pr-format.py}} treats them as a 
> single paragraph and merges them during line wrapping.
> For example:
>  
> {code:java}
> Co-Authored-By: Claude Opus 5.5 <[email protected]>
> Reviewers: Ken Huang <[email protected]>, Federico Valeri 
> <[email protected]>{code}
>  
> Becomes:
>  
> {code:java}
> Co-Authored-By: Claude Opus 5.5 <[email protected]> Reviewers: Ken
> Huang <[email protected]>, Federico Valeri <[email protected]>{code}
>  
> This corrupts the trailer structure: {{Reviewers:}} becomes part of the 
> {{Co-Authored-By:}} value. Subsequent reviewer updates may append another 
> {{Reviewers:}} trailer because the existing one is no longer recognized.
> The formatter should preserve each trailer on a separate line and indent 
> wrapped continuation lines. This should also apply to other trailers, such as 
> {{{}Generated-by:{}}}.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to