From 9ff73b779f84560930b7d2f09e1bce429bcc4592 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Sun, 6 Sep 2026 19:07:14 -0700 Subject: [PATCH] [eric] ci: a hung backend test fails by name after ten minutes (pytest-timeout) instead of burning the 60-minute job nameless, both Mac legs sat at 97% (ENG-486) Co-Authored-By: Claude Fable 5.1 --- .github/workflows/suites-matrix.yml | 3 ++- backend/requirements-dev.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/suites-matrix.yml b/.github/workflows/suites-matrix.yml index 4a42050a..6e9c30a2 100644 --- a/.github/workflows/suites-matrix.yml +++ b/.github/workflows/suites-matrix.yml @@ -47,7 +47,8 @@ jobs: - name: Backend suite shell: bash - run: python -m pytest backend/tests -q -p no:cacheprovider + # A test that hangs fails by NAME after ten minutes and the leg goes on; without this the first macOS run sat at 97% for 54 minutes and was cancelled nameless. + run: python -m pytest backend/tests -q -p no:cacheprovider --timeout 600 - uses: actions/setup-node@v4 if: always() diff --git a/backend/requirements-dev.txt b/backend/requirements-dev.txt index fe153506..5d649c45 100644 --- a/backend/requirements-dev.txt +++ b/backend/requirements-dev.txt @@ -9,6 +9,8 @@ pytest==8.3.4 pytest-asyncio==0.25.2 +# A hung test on a CI runner used to burn the 60-minute job and leave no name (macOS arm64, 2026-09-06, stuck at 97%). +pytest-timeout==2.3.1 # Used by linter/lint.py (the vulture dead-code check). watchfiles, also # needed by lint.py, already comes in transitively via uvicorn[standard].