Skip to content

Commit 9e66521

Browse files
committed
cache grpcio
1 parent dcb2ad1 commit 9e66521

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ jobs:
119119
key: ${{ runner.os }}-uv-wheels-3.15-${{ hashFiles('packages/**/testing/constraints*.txt') }}
120120
restore-keys: |
121121
${{ runner.os }}-uv-wheels-3.15-
122+
# Pre-cache heavy dependencies sequentially before running parallel tests
123+
- name: Pre-cache heavy dependencies (grpcio)
124+
if: matrix.python == '3.15'
125+
run: |
126+
# Download and compile grpcio sequentially so that parallel test workers
127+
# immediately hit the warm cache instead of deadlocking on compilation.
128+
uv pip install --system grpcio --find-links .uv-wheel-cache
122129
- name: Run unit tests for ${{ matrix.package_shard.description }}
123130
env:
124131
BUILD_TYPE: presubmit

0 commit comments

Comments
 (0)