From efa30731e91d49c0ee609774e1a171ac9d0f861b Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 3 Apr 2026 02:21:49 +1300 Subject: [PATCH] (fix): reduce ParaTest processes from nproc to 3 to reduce CI contention With $(nproc) (typically 4-6), parallel test processes overwhelm Redis and the attribute worker, causing cascading failures from resource contention. 3 processes reduces contention while maintaining reasonable test throughput. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f44d5eedf3..489a35bdcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -492,7 +492,7 @@ jobs: docker compose exec -T \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) $FUNCTIONAL_FLAG "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes 3 $FUNCTIONAL_FLAG "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure()