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-connect-rust.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b17fc6  [SPARK-58995][INFRA] Cancel superseded CI runs with a 
concurrency group
3b17fc6 is described below

commit 3b17fc6ea0087e8287572f7c33e6d7c62ad830ef
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Tue Aug 25 19:23:26 2026 +0900

    [SPARK-58995][INFRA] Cancel superseded CI runs with a concurrency group
    
    ## Summary
    
    CI workflows keep running to completion even after a newer commit 
supersedes them, so stale runs pile up in the Actions queue. Add a 
`concurrency` group keyed on the workflow and ref with `cancel-in-progress: 
true` so a new run cancels the older, superseded one.
    
    Applied to `rust.yml`, `lint.yml`, and `build_python_connect.yml`. 
`release.yml` is intentionally left out (releases must not be cancelled), and 
`docs.yml` already has this.
    
    ```yaml
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    ```
    
    JIRA: https://issues.apache.org/jira/browse/SPARK-58995
    
    This pull request and its description were written by Isaac.
    
    Closes #56 from HyukjinKwon/ci-concurrency.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 .github/workflows/build_python_connect.yml | 5 +++++
 .github/workflows/lint.yml                 | 5 +++++
 .github/workflows/rust.yml                 | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/.github/workflows/build_python_connect.yml 
b/.github/workflows/build_python_connect.yml
index e8fe9c8..f6c5cd9 100644
--- a/.github/workflows/build_python_connect.yml
+++ b/.github/workflows/build_python_connect.yml
@@ -19,6 +19,11 @@
 
 name: Python Connect Parity (Spark 4.2.0)
 
+# Cancel an in-progress run when a newer commit supersedes it (per workflow + 
ref).
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 # Mirrors Apache Spark's build_python_connect.yml approach, adapted for the
 # Rust-backed client: download the Spark 4.2.0 Connect server, start it, pull 
the
 # official v4.2.0 connect test files, and run them BOTH with the reference 
pyspark
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ea0949a..c54657f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,6 +19,11 @@
 
 name: Lint
 
+# Cancel an in-progress run when a newer commit supersedes it (per workflow + 
ref).
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 on:
   push:
     branches: [master]
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 70538ce..8b4f37b 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -19,6 +19,11 @@
 
 name: Rust CI
 
+# Cancel an in-progress run when a newer commit supersedes it (per workflow + 
ref).
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 on:
   push:
     branches: [master]


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

Reply via email to