You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): remove CLI build from build-deps job in SEA workflow
Root cause: build-deps job was trying to build CLI package before WASM
assets were available, causing yoga.wasm not found error.
Issue flow:
1. build-deps job runs first
- Builds bootstrap, socket, CLI packages
- CLI build requires yoga.wasm (not available yet!)
- ERROR: yoga.wasm not found
2. build-sea job runs second
- Restores WASM caches (yoga.wasm NOW available)
- But build-deps already failed!
Fix:
- Remove CLI build from build-deps job
- CLI is built in build-sea job AFTER WASM caches restored
- Update cache key to build-deps-sea (only bootstrap/socket)
- Remove CLI from artifact paths
Flow after fix:
1. build-deps: Build bootstrap + socket only (no WASM needed)
2. build-sea: Restore WASM caches, THEN build CLI + SEA binary
This ensures CLI build happens when all dependencies are available.
find bootstrap socket cli -maxdepth 3 -type f -name "*.js" -o -name "*.mjs" 2>/dev/null | head -20 || echo "No files found at root"
150
-
find packages/bootstrap packages/socket packages/cli -maxdepth 3 -type f -name "*.js" -o -name "*.mjs" 2>/dev/null | head -20 || echo "No files found in packages/"
141
+
find bootstrap socket -maxdepth 3 -type f -name "*.js" -o -name "*.mjs" 2>/dev/null | head -20 || echo "No files found at root"
142
+
find packages/bootstrap packages/socket -maxdepth 3 -type f -name "*.js" -o -name "*.mjs" 2>/dev/null | head -20 || echo "No files found in packages/"
151
143
152
144
# Check both possible locations and move if needed
153
145
if [ -f bootstrap/dist/bootstrap-npm.js ]; then
154
146
echo "✓ Artifacts found at root level, moving to packages/"
0 commit comments