From d1f37788492b98b19974d981fff0498a5e090f64 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Sat, 22 Aug 2026 22:58:26 -0700 Subject: [PATCH] perf(ci): give the two longest unit shards the runner's spare cores (#37804) proxy-endpoints and proxy-infra are the unit tier's critical path at 358s and 325s of pytest, measured on staging 2026-08-21, and both run two xdist workers on a four-vCPU runner. proxy-server already runs four. This is the cheaper half of splitting them: no second job, so no second setup to pay for. --- .github/workflows/test-unit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 1370a05181a..a7c67f2b35d 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -168,7 +168,7 @@ jobs: tests/test_litellm/proxy/ui_crud_endpoints tests/test_litellm/proxy/config_resolvers tests/test_litellm/proxy/utils - workers: 2 + workers: 4 reruns: 2 timeout-minutes: 20 job-timeout-minutes: 60 @@ -195,7 +195,7 @@ jobs: tests/test_litellm/proxy/types_utils tests/test_litellm/proxy/logging_endpoints tests/test_litellm/proxy/test_*.py - workers: 2 + workers: 4 reruns: 2 timeout-minutes: 20 job-timeout-minutes: 60