szehon-ho opened a new pull request, #56443: URL: https://github.com/apache/spark/pull/56443
### What changes were proposed in this pull request? In `dev/merge_spark_pr.py`, the `choose_jira_assignee` prompt now defaults to the JIRA reporter when one exists. The reporter is placed at index `[0]` in the candidate list, and the prompt uses the standard `[default]` convention used by the other prompts in the script, e.g.: ``` Enter number of user, or userid, to assign to [Reporter Name]: ``` Pressing enter (blank) assigns the reporter. When there is no reporter, the prompt keeps the previous wording and a blank entry still leaves the issue unassigned: ``` Enter number of user, or userid, to assign to (blank to leave unassigned): ``` ### Why are the changes needed? Previously a blank entry left the issue unassigned, with no default offered. The reporter is by far the most common assignee, so defaulting to it on blank input saves a step and makes the prompt consistent with the other `[default]`-style prompts in the script (e.g. branch name and fix versions). ### Does this PR introduce _any_ user-facing change? No. This only affects the committer-facing merge tooling (`dev/merge_spark_pr.py`). ### How was this patch tested? Exercised `choose_jira_assignee` directly with a stubbed input function and a fake issue object (no real merge or JIRA connection), covering three cases: - reporter present + blank input -> assigns the reporter (index `[0]`) - reporter present + numeric pick -> assigns the selected commentator - no reporter + blank input -> returns unassigned, no assign call ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Cursor -- 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]
