Skip to content

Commit 1c94a77

Browse files
ci: add explicit timeout-minutes to prevent resource exhaustion
Without a job-level wall-clock cap a hung setup or install step can consume runner minutes indefinitely. kind-e2e.yaml already limits the test run itself to 90 m via -timeout=90m but has no job ceiling; setting timeout-minutes: 120 gives 30 m of headroom for cluster setup and teardown. knative-downstream.yaml had no timeout at all; timeout-minutes: 60 is a conservative cap for downstream unit tests. Made-with: Cursor
1 parent 7c4c338 commit 1c94a77

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/kind-e2e.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
e2e-tests:
1414
name: e2e tests
1515
runs-on: ubuntu-latest
16+
timeout-minutes: 120
1617
strategy:
1718
fail-fast: false # Keep running if one leg fails.
1819
matrix:

.github/workflows/knative-downstream.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
org: knative-extensions
4141

4242
runs-on: ubuntu-latest
43+
timeout-minutes: 60
4344
env:
4445
GOPATH: ${{ github.workspace }}
4546
steps:

0 commit comments

Comments
 (0)