Dashboardopencode-loreORT WASM artifact sync

ORT WASM artifact sync

Category: gotcha
Confidence: 1.00
ID: 01a0a0da-08ec-7557-a66c-de2d8dbfe70c
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1awq7naDXSYC7XtOs
Created: 2026-09-14 16:57:18
Updated: 2026-09-14 16:57:18

Content

Trap: changing the ONNX Runtime Web artifact list only in bundle.ts looks sufficient because bundling may still succeed, but runtime lookup or npm packaging can omit the required local WASM variant and fall back to the wrong CDN asset. Fix: keep bundle.ts copies, packages/gateway/package.json files, and embedding-worker.ts sibling-path configuration synchronized for both ort-wasm-simd-threaded.mjs and .wasm.

Move to: