Skip to content

Commit 3d0ffcc

Browse files
committed
fix(ci): disable pip cache in build-wasm to prevent cache failures
Disabled setup-python pip caching that was causing persistent 400 errors on every workflow run. Root cause: Large ML packages (torch ~700MB-2GB, transformers ~500MB-1GB, optimum, onnxruntime) create a 2-4GB pip cache that consistently fails GitHub's cache service with 400 errors and service unavailability. Impact: - Removes cache service errors from workflow annotations - Adds ~2-3 minutes to build time for pip install - AI models output is still cached (no change to overall build time) The AI models themselves are cached separately via actions/cache, so the overall build time impact is minimal. Pip dependencies are fast to download compared to the 10-15 minute model conversion process.
1 parent 50458c3 commit 3d0ffcc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-wasm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,11 @@ jobs:
153153
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
154154
with:
155155
python-version: '3.11'
156-
cache: 'pip'
157-
cache-dependency-path: 'packages/socketbin-cli-ai/requirements.txt'
156+
# Disabled pip cache - large ML packages (torch, transformers) cause
157+
# cache service failures (400 errors) on every run. Build time impact
158+
# is minimal (~2-3 minutes) since AI models are cached separately.
159+
# cache: 'pip'
160+
# cache-dependency-path: 'packages/socketbin-cli-ai/requirements.txt'
158161

159162
- name: Install Python dependencies
160163
run: |

0 commit comments

Comments
 (0)