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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git


The following commit(s) were added to refs/heads/main by this push:
     new c18c448  [SPARK-52473] Limit GHA job execution time to up to 20 minutes
c18c448 is described below

commit c18c4484d7e45c7b81d967ffdc95ba25b29e1816
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Jun 13 21:14:41 2025 -0700

    [SPARK-52473] Limit GHA job execution time to up to 20 minutes
    
    ### What changes were proposed in this pull request?
    
    This PR aims to limit GHA job execution time to up to 20 minutes.
    
    ### Why are the changes needed?
    
    `setup-swift` took almost 3 hours. We had better restart in order to avoid 
resource waste.
    
    - 
https://github.com/apache/spark-connect-swift/actions/runs/15644408864/job/44078987620
    
    <img width="729" alt="Screenshot 2025-06-13 at 17 22 36" 
src="https://github.com/user-attachments/assets/21847cc8-c6c2-4f97-9865-807b78871ac4";
 />
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is a infra-only change.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #199 from dongjoon-hyun/SPARK-52473.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index f555faf..73ff802 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -29,6 +29,7 @@ jobs:
   license-check:
     name: "License Check"
     runs-on: ubuntu-latest
+    timeout-minutes: 20
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4
@@ -41,6 +42,7 @@ jobs:
 
   build-macos-15-swift60:
     runs-on: macos-15
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
@@ -51,6 +53,7 @@ jobs:
 
   build-macos-15-swift61:
     runs-on: macos-15
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
@@ -61,6 +64,7 @@ jobs:
 
   build-ubuntu-latest:
     runs-on: ubuntu-latest
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - name: Build
@@ -71,6 +75,7 @@ jobs:
   # setup-swift doesn't support ARM linux yet.
   build-ubuntu-arm:
     runs-on: ubuntu-24.04-arm
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - name: Build
@@ -80,6 +85,7 @@ jobs:
 
   integration-test-mac:
     runs-on: macos-15
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
@@ -97,6 +103,7 @@ jobs:
 
   integration-test-token:
     runs-on: macos-15
+    timeout-minutes: 20
     env:
       SPARK_CONNECT_AUTHENTICATE_TOKEN: ${{ github.run_id }}-${{ 
github.run_attempt }}
     steps:
@@ -116,6 +123,7 @@ jobs:
 
   integration-test-mac-spark3:
     runs-on: macos-15
+    timeout-minutes: 20
     steps:
     - uses: actions/checkout@v4
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
@@ -138,6 +146,7 @@ jobs:
 
   integration-test-mac-iceberg:
     runs-on: macos-15
+    timeout-minutes: 20
     env:
       SPARK_ICEBERG_TEST_ENABLED: "true"
     steps:
@@ -163,6 +172,7 @@ jobs:
 
   linter:
     runs-on: ubuntu-latest
+    timeout-minutes: 20
     steps:
     - name: Checkout repository
       uses: actions/checkout@v4


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

Reply via email to