From 267e1efbde04a6caba8a75df5d1188e116002517 Mon Sep 17 00:00:00 2001 From: weiqingy Date: Thu, 9 Jul 2026 23:57:56 -0700 Subject: [PATCH] [ci] Bound the runtime of the integration-test jobs The integration-test jobs set no timeout-minutes, so a hung test runs until GitHub's six-hour job ceiling before it is killed. A recent run consumed six hours on a stalled it-python job whose result was knowable in minutes. Bound the three jobs that install and exercise a local Ollama server. The limits are roughly two to three times each job's slowest observed run over recent green builds on main: it-python 26.2m, cross-language 24.8m, and it-java 14.0m. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 463be4c99..164ede2ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,6 +153,7 @@ jobs: python_it_tests: name: it-python [${{ matrix.os }}] [java-17] [python-${{ matrix.python-version}}] [flink-${{ matrix.flink-version}}] runs-on: ${{ matrix.os }} + timeout-minutes: 60 env: SKIP_SPOTLESS_CHECK: true strategy: @@ -201,6 +202,7 @@ jobs: java_it_tests: name: it-java [${{ matrix.os }}] [java-${{ matrix.java-version}}] [flink-${{ matrix.flink-version}}] runs-on: ${{ matrix.os }} + timeout-minutes: 40 env: SKIP_SPOTLESS_CHECK: true strategy: @@ -241,6 +243,7 @@ jobs: cross_language_tests: name: cross-language [${{ matrix.os }}] [python-${{ matrix.python-version}}] [java-${{ matrix.java-version}}] runs-on: ${{ matrix.os }} + timeout-minutes: 60 env: SKIP_SPOTLESS_CHECK: true strategy: