This is an automated email from the ASF dual-hosted git repository.

zhengruifeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a69d21a0a1f [SPARK-58463][INFRA][FOLLOWUP] Restore merge summary 
comment spacing
5a69d21a0a1f is described below

commit 5a69d21a0a1f2231da2b0e1cd0e2ff6e0510b499
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Tue Aug 4 07:53:41 2026 +0800

    [SPARK-58463][INFRA][FOLLOWUP] Restore merge summary comment spacing
    
    ### What changes were proposed in this pull request?
    
    This follow-up to SPARK-58463 restores the two newlines between the 
merge-summary block and its attribution in the PR comment. The terminal output 
formatting remains unchanged.
    
    ### Why are the changes needed?
    
    The merge-summary comment should retain its original readable Markdown 
spacing. This change limits the earlier formatting work to stdout and stderr.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Ran git diff --check. No automated test was added because this is a 
one-line string-formatting correction.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Codex (GPT-5)
    
    Closes #57731 from zhengruifeng/merge-comment-log-only-dev4.
    
    Authored-by: Ruifeng Zheng <[email protected]>
    Signed-off-by: Ruifeng Zheng <[email protected]>
---
 dev/merge_spark_pr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/merge_spark_pr.py b/dev/merge_spark_pr.py
index 86fa3d115cf3..454e390d2c01 100755
--- a/dev/merge_spark_pr.py
+++ b/dev/merge_spark_pr.py
@@ -460,7 +460,7 @@ def post_merge_comment(pr_num, merged_commits):
     ]
     summary = "**Merge Summary:**\n" + "\n".join(lines)
     attribution = "*Posted by `merge_spark_pr.py`*"
-    body = "%s\n%s" % (summary, attribution)
+    body = "%s\n\n%s" % (summary, attribution)
     print(
         "\n%s\n\n%s\n%s"
         % (bold("Posting merge comment on PR #%s:" % pr_num), bold(summary), 
attribution)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to