From ee03ef74d51a8ca0c2eda33955c25a47ec84a518 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 12 Mar 2026 08:08:59 +0000 Subject: [PATCH] fix(ci): add explicit prisma generate before proxy unit tests The litellm_proxy_unit_testing_part1 and part2 CI jobs rely on docker/entrypoint.sh to run prisma generate, but this runs under set +e which silently suppresses failures. Add explicit 'prisma generate' in the test run command to ensure Prisma binaries are available. This matches the pattern used by litellm_mapped_tests_proxy_part1/part2 which successfully run prisma generate before pytest. Co-authored-by: yuneng-jiang --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 81b8b12c49b..cb3b9943986 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1076,6 +1076,7 @@ jobs: command: | pwd ls + prisma generate # Run auth tests with parallel execution (test_key_generate_prisma moved to separate job to avoid event loop issues) python -m pytest tests/proxy_unit_tests/test_auth_checks.py tests/proxy_unit_tests/test_user_api_key_auth.py --cov=litellm --cov-report=xml --junitxml=test-results/junit-part1.xml --durations=10 -n 8 --timeout=300 -vv --log-cli-level=INFO no_output_timeout: 120m @@ -1183,6 +1184,7 @@ jobs: command: | pwd ls + prisma generate python -m pytest tests/proxy_unit_tests --ignore=tests/proxy_unit_tests/test_key_generate_prisma.py --ignore=tests/proxy_unit_tests/test_auth_checks.py --ignore=tests/proxy_unit_tests/test_user_api_key_auth.py --cov=litellm --cov-report=xml --junitxml=test-results/junit-part2.xml --durations=10 -n 4 --timeout=300 -vv --log-cli-level=INFO no_output_timeout: 120m - run: