The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
ci: Switch from 96 to 32 core runner for test
Maciej Lisiewskifcdf5f7e7f54
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 8cd30569268..ea3e6154012 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -14,14 +14,7 @@ concurrency:jobs:test:name: Run tests- # One 96-core runner for the whole suite. There is no slicing. Slicing- # existed to spread the suite over 4-core runners. It cost a matrix job, a- # duration cache, a per-slice artifact and a merge job to do it.- #- # 96 cores clear the floor that the slowest single test file sets (about- # 82s). A second slice divides work that is already at that floor, and- # adds a second setup.- runs-on: ubuntu-latest-96-core+ runs-on: ubuntu-latest-32-coretimeout-minutes: 30steps:- name: Checkout code@@ -84,30 +77,7 @@ jobs:run: |scripts/run_tests.shenv:- # This is the maximum number of test FILES that run together.- # run_tests_parallel.py starts one pytest subprocess for each file- # from a single ThreadPoolExecutor, so this value IS the limit. The- # default is cpu_count*2, which is 192 here.- #- # Measured on this runner (96-core EPYC 7763, 377GB). Whole suite,- # two repetitions for each value. See run 32549672063:- #- # workers x cores mean- # 48 0.5x 138s- # 96 1.0x 126s <- fastest- # 144 1.5x 132s- # 192 2.0x 132s- # 240 2.5x 140s- # 288 3.0x 142s- #- # One worker for each core wins. The curve is shallow: 126s to 142s- # across a 6x range. The suite has sufficient concurrency at this- # size. The remaining time is the slowest files plus the setup.- # Workers above the core count only add contention.- HERMES_TEST_WORKERS: 96- # A healthy 44-test compression file takes ~197s alone and can exceed- # the 300s default under 96-worker load before its duration is cached.- # Match the runner's 3x known-slow headroom on the first PR run too.+ HERMES_TEST_WORKERS: 32HERMES_TEST_FILE_TIMEOUT: 600# Ensure tests don't accidentally call real APIsOPENROUTER_API_KEY: ""