ci: rebalance matrix groups based on actual timings
Split the two slowest groups based on measured wall-clock times: - proxy-unit-b2 (was 7m15s, test_proxy_[s-z]*): → proxy-unit-b2: test_proxy_s*.py (server + setting_guardrails, ~3368 lines) → proxy-unit-b3: test_proxy_[t-z]*.py (utils + token_counter, ~3618 lines) - proxy-unit-b3 (was 4m30s, test_[r-z]*): → proxy-unit-b4: test_[r-t]*.py (response_polling + search + skills + realtime, ~1988 lines) → proxy-unit-b5: test_[u-z]*.py (user_api_key_auth + zero_cost + update_spend + unit_tests, ~2394 lines) proxy-unit-a2 (6m15s) will self-resolve once PR #21679 merges (55 skip markers added to test_key_generate_prisma.py). Matrix grows from 16 → 18 jobs; all groups expected ≤ 3-4m. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1572162fdc
commit
c8ddbd90d1
18
.github/workflows/test-litellm-matrix.yml
vendored
18
.github/workflows/test-litellm-matrix.yml
vendored
@ -84,13 +84,23 @@ jobs:
|
||||
workers: 2
|
||||
reruns: 1
|
||||
- name: "proxy-unit-b2"
|
||||
# heavy server tests: proxy_server (2745) + proxy_utils (2339) + proxy_token_counter (1276)
|
||||
path: "tests/proxy_unit_tests/test_proxy_[s-z]*.py"
|
||||
# test_proxy_s*.py: proxy_server (2750) + proxy_server_* (618) + proxy_setting_guardrails (71)
|
||||
path: "tests/proxy_unit_tests/test_proxy_s*.py"
|
||||
workers: 2
|
||||
reruns: 1
|
||||
- name: "proxy-unit-b3"
|
||||
# test_[r-z]*.py: response_polling (1399) + user_api_key_auth (1136) + zero_cost (590) + rest
|
||||
path: "tests/proxy_unit_tests/test_[r-z]*.py"
|
||||
# test_proxy_[t-z]*.py: proxy_utils (2339) + proxy_token_counter (1279)
|
||||
path: "tests/proxy_unit_tests/test_proxy_[t-z]*.py"
|
||||
workers: 2
|
||||
reruns: 1
|
||||
- name: "proxy-unit-b4"
|
||||
# test_[r-t]*.py: response_polling (1399) + search_api_logging (202) + server_root (64) + skills_db (261) + realtime_cache (62)
|
||||
path: "tests/proxy_unit_tests/test_[r-t]*.py"
|
||||
workers: 2
|
||||
reruns: 1
|
||||
- name: "proxy-unit-b5"
|
||||
# test_[u-z]*.py: user_api_key_auth (1136) + zero_cost (590) + update_spend (305) + unit_test_* (206) + ui_path (157)
|
||||
path: "tests/proxy_unit_tests/test_[u-z]*.py"
|
||||
workers: 2
|
||||
reruns: 1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user