Gengliang Wang created SPARK-61502:
--------------------------------------
Summary: Wait for GitHub to compute whether a PR is mergeable in
merge_spark_pr.py
Key: SPARK-61502
URL: https://issues.apache.org/jira/browse/SPARK-61502
Project: Spark
Issue Type: Bug
Components: Project Infra
Affects Versions: 5.0.0
Reporter: Gengliang Wang
{{dev/merge_spark_pr.py}} reads the {{mergeable}} field of the PR once and
treats any value but {{true}} as a conflict. GitHub reports {{mergeable}} as
{{null}} until a background job has computed it, e.g. right after a push to the
PR or to its base branch. So right after a push to master, the script prints
"Pull request N is not mergeable in its current form." and asks the committer
to continue as an expert, for a PR that GitHub reports as mergeable a few
seconds later (seen with #59961).
The script should read an open PR again while {{mergeable}} is {{null}}, and
say so if GitHub has still not computed it.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]