You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/07/08 18:09:00 UTC

[jira] [Updated] (SPARK-58045) Verify the linked JIRA matches the PR in merge_spark_pr.py

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

ASF GitHub Bot updated SPARK-58045:
-----------------------------------
    Labels: pull-request-available  (was: )

> Verify the linked JIRA matches the PR in merge_spark_pr.py
> ----------------------------------------------------------
>
>                 Key: SPARK-58045
>                 URL: https://issues.apache.org/jira/browse/SPARK-58045
>             Project: Spark
>          Issue Type: Improvement
>          Components: Project Infra
>    Affects Versions: 5.0.0
>            Reporter: Gengliang Wang
>            Priority: Major
>              Labels: pull-request-available
>
> merge_spark_pr.py fetches and prints each linked JIRA's summary after the committer enters the PR number, but nothing forces the committer to confirm that the ticket actually matches the PR. As a result a PR can be merged against the wrong ticket - for example when a GitHub PR number in the body ("Closes #NNNNN") is mistaken for a SPARK JIRA id - which resolves an unrelated, possibly already-Resolved ticket on merge.
> This adds a verification step right after the PR number is entered: for each linked JIRA it shows the PR title next to the ticket's summary, status, and type, prints a red warning when the ticket is already Resolved/Closed (a fresh merge should target an open ticket), and requires an explicit y/N confirmation. Answering anything other than "y" aborts the merge and asks the committer to fix the PR title.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org