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

HyukjinKwon 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 1ad4fa420cd7 [SPARK-35158][INFRA] Add guidance to retrigger forked 
workflow runs
1ad4fa420cd7 is described below

commit 1ad4fa420cd76252b408b223426e11f8fa1ca3b5
Author: Minh Vu <[email protected]>
AuthorDate: Tue May 19 07:26:54 2026 +0900

    [SPARK-35158][INFRA] Add guidance to retrigger forked workflow runs
    
    ### What changes were proposed in this pull request?
    
    This PR updates the `Test results` check summary in 
`notify_test_workflow.yml` to guide pull request authors on what to do after 
checking the forked workflow run.
    
    ### Why are the changes needed?
    
    SPARK-35158 notes that only pull request authors can rerun workflow runs in 
their forks. The check summary currently links to the test results, but does 
not tell authors to rerun unrelated failures or push follow-up changes for 
related failures.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually verified with:
    
    ```bash
    ruby -ryaml -e 
'YAML.load_file(".github/workflows/notify_test_workflow.yml"); puts "YAML OK"'
    node --check <(ruby -ryaml -e 'script = 
YAML.load_file(".github/workflows/notify_test_workflow.yml").dig("jobs", 
"notify", "steps", 0, "with", "script"); puts "async function __check() {"; 
puts script; puts "}"')
    git diff --check
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: GPT-5
    
    Closes #55960 from fallintoplace/SPARK-35158-retrigger-workflow-guidance.
    
    Authored-by: Minh Vu <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 .github/workflows/notify_test_workflow.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/notify_test_workflow.yml 
b/.github/workflows/notify_test_workflow.yml
index 53a9fd19cd09..b2d0578e7b6c 100644
--- a/.github/workflows/notify_test_workflow.yml
+++ b/.github/workflows/notify_test_workflow.yml
@@ -156,7 +156,11 @@ jobs:
                 status: status,
                 output: {
                   title: 'Test results',
-                  summary: '[See test results](' + check_run_url + ')',
+                  summary: '[See test results](' + check_run_url + ')\n\n'
+                    + 'If the tests fail for reasons unrelated to this pull 
request, '
+                    + 'please rerun the workflow in your forked repository.\n'
+                    + 'If the failures are related to this pull request, '
+                    + 'please investigate them and push follow-up changes.',
                   text: JSON.stringify({
                     owner: context.payload.pull_request.head.repo.owner.login,
                     repo: context.payload.pull_request.head.repo.name,


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

Reply via email to