Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 13, 2025

What changes were proposed in this pull request?

This PR aims to improve merge_spark_pr.py to stop early in case of the closed PRs.

Why are the changes needed?

To help committers by removing the useless interactions.

BEFORE

$ dev/merge_spark_pr.py
git rev-parse --abbrev-ref HEAD
Which pull request would you like to merge? (e.g. 34): 1
I've re-written the title as follows to match the standard format:
Original: Removed reference to incubation in README.md.
Modified: Removed reference to incubation in README.md
Would you like to use the modified title? (y/N):
...

AFTER

$ dev/merge_spark_pr.py
git rev-parse --abbrev-ref HEAD
Which pull request would you like to merge? (e.g. 34): 1
#1 is closed already.
Restoring head pointer to SPARK-53277
git checkout SPARK-53277
Already on 'SPARK-53277'
git branch

Does this PR introduce any user-facing change?

No, this is used by committers only.

How was this patch tested?

Manually check.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the INFRA label Aug 13, 2025
@dongjoon-hyun
Copy link
Member Author

cc @yaooqinn

@dongjoon-hyun
Copy link
Member Author

Thank you again, @HyukjinKwon . Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-53277 branch August 14, 2025 00:41
@yaooqinn
Copy link
Member

Hi @dongjoon-hyun

Merging closed PR is a valid case for backporting

https://github.com/apache/spark/blob/master/dev/merge_spark_pr.py#L687

@dongjoon-hyun
Copy link
Member Author

Oh, sorry for missing that. I reverted this PR. Thank you, @yaooqinn .

@yaooqinn
Copy link
Member

Thank you for reverting @dongjoon-hyun

mzhang pushed a commit to mzhang/spark that referenced this pull request Aug 21, 2025
…e of the closed PRs

### What changes were proposed in this pull request?

This PR aims to improve `merge_spark_pr.py` to stop early in case of the closed PRs.

### Why are the changes needed?

To help committers by removing the useless interactions.

**BEFORE**

```
$ dev/merge_spark_pr.py
git rev-parse --abbrev-ref HEAD
Which pull request would you like to merge? (e.g. 34): 1
I've re-written the title as follows to match the standard format:
Original: Removed reference to incubation in README.md.
Modified: Removed reference to incubation in README.md
Would you like to use the modified title? (y/N):
...
```

**AFTER**

```
$ dev/merge_spark_pr.py
git rev-parse --abbrev-ref HEAD
Which pull request would you like to merge? (e.g. 34): 1
apache#1 is closed already.
Restoring head pointer to SPARK-53277
git checkout SPARK-53277
Already on 'SPARK-53277'
git branch
```

### Does this PR introduce _any_ user-facing change?

No, this is used by committers only.

### How was this patch tested?

Manually check.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#52019 from dongjoon-hyun/SPARK-53277.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants