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): make WASM optional in SEA builds with graceful fallback
Apply progressive enhancement pattern to build-sea workflow to match
runtime graceful fallback behavior. The CLI runtime already handles
missing WASM gracefully via onnx-runtime-stub.mts and falls back to
baseline features (compromise library). The build workflow should do
the same instead of hard-failing.
Changes:
- Convert Windows WASM cache check from error to warning
- Skip WASM compilation on Windows (use baseline features only)
- Make Python/Emscripten setup non-Windows only
- Convert WASM verification from hard-fail to warning
- Document progressive enhancement tiers in build output
Progressive enhancement tiers:
Tier 1 (Baseline): Pure JS with compromise - always available
Tier 2 (Enhanced): MiniLM + ONNX Runtime - requires WASM
Tier 3 (Full): CodeT5 - requires WASM + models
Benefits:
- Windows builds no longer blocked by missing WASM cache
- Faster builds when WASM not needed
- Consistent with runtime fallback behavior
- CLI works on all platforms with baseline features
0 commit comments