From 6a21adcdd47c38e0b1e9a9cc67a0b730de75936c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:46:57 +0000 Subject: [PATCH] fix(ci): increase quick test job timeout to 15 minutes for CI runner headroom Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- docs/CIWorkflow.md | 2 +- tests/README_INTEGRATION_TESTS.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19c33e14..9d020930 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,7 +115,7 @@ jobs: test-quick: name: Quick Tests runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 15 needs: [lint, html-lint, dependency-scan] services: redis: diff --git a/docs/CIWorkflow.md b/docs/CIWorkflow.md index 7692a3ff..6f62ce52 100644 --- a/docs/CIWorkflow.md +++ b/docs/CIWorkflow.md @@ -35,7 +35,7 @@ The pipeline follows a **fail-early** strategy: fast linters and quick tests run ### Quick Tests (`test-quick`) -- **Timeout:** 10 minutes (job), 120 seconds (per test via `pytest-timeout`) +- **Timeout:** 15 minutes (job), 120 seconds (per test via `pytest-timeout`) - Runs the majority of tests (~2,790 unit + basic integration tests) - Excludes tests marked `e2e`, `requires_docker`, `requires_external`, or `slow` - Uses a Redis service container for tests that need it diff --git a/tests/README_INTEGRATION_TESTS.md b/tests/README_INTEGRATION_TESTS.md index 7a6bec15..3ecd3ca9 100644 --- a/tests/README_INTEGRATION_TESTS.md +++ b/tests/README_INTEGRATION_TESTS.md @@ -368,7 +368,7 @@ The DocuElevate CI pipeline (`.github/workflows/ci.yml`) uses a **two-stage test 2. **Integration Tests** (`test-integration`) — Runs ~28 Docker-based and external service tests. Only starts after quick tests pass. Uses testcontainers for WebDAV, OAuth, etc. Both stages use `pytest-timeout` to prevent individual tests from hanging: -- Quick tests: 120 seconds per test, 10-minute job timeout +- Quick tests: 120 seconds per test, 15-minute job timeout - Integration tests: 300 seconds per test, 20-minute job timeout ```yaml