From ca3457b091c9de8f8bdc05f917e49853ebe27c84 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Fri, 27 Mar 2026 11:25:03 -0700 Subject: [PATCH] Pin nodejs-wheel-binaries in CI workflows running prisma generate prisma generate internally runs `npm install prisma@5.4.2` against the npm registry at runtime. Without a bundled Node.js, this causes ECONNRESET failures on flaky GitHub Actions network and leaves the npm transitive dependency tree unpinned. Pre-install nodejs-wheel-binaries==24.13.1 (matching the Dockerfiles) so prisma uses the bundled Node/npm instead of fetching from the registry. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/test-litellm-matrix.yml | 3 +++ .github/workflows/test-proxy-e2e-azure-batches.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml index c354df565a2..860d25636c5 100644 --- a/.github/workflows/test-litellm-matrix.yml +++ b/.github/workflows/test-litellm-matrix.yml @@ -156,7 +156,10 @@ jobs: poetry run pip install --force-reinstall --no-deps -e enterprise/ - name: Generate Prisma client + env: + PRISMA_BINARY_CACHE_DIR: ${{ runner.temp }}/prisma-cache run: | + poetry run pip install nodejs-wheel-binaries==24.13.1 poetry run prisma generate --schema litellm/proxy/schema.prisma - name: Run tests - ${{ matrix.test-group.name }} diff --git a/.github/workflows/test-proxy-e2e-azure-batches.yml b/.github/workflows/test-proxy-e2e-azure-batches.yml index d5130b07f13..7cbbe0b338f 100644 --- a/.github/workflows/test-proxy-e2e-azure-batches.yml +++ b/.github/workflows/test-proxy-e2e-azure-batches.yml @@ -68,7 +68,10 @@ jobs: poetry run pip install --force-reinstall --no-deps -e enterprise/ - name: Generate Prisma client + env: + PRISMA_BINARY_CACHE_DIR: ${{ runner.temp }}/prisma-cache run: | + poetry run pip install nodejs-wheel-binaries==24.13.1 poetry run prisma generate --schema litellm/proxy/schema.prisma - name: Run Prisma migrations