Dashboardopencode-loreshouldRequestWasmRespawn classification

shouldRequestWasmRespawn classification

Category: gotcha
Confidence: 1.00
ID: 01a0ad05-9a15-77dc-88bc-86ca1856d7ab
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0IlNEZeIJziYPH1rR
Created: 2026-09-16 09:44:04
Updated: 2026-09-17 01:40:20

Content

Trap: classifying native ONNX Runtime failures from Error.message alone looks sufficient, but Node often stores ERR_DLOPEN_FAILED only in error.code; common wrong ELF class, missing GLIBC_*, Windows %1 is not a valid Win32 application, and versioned Darwin Library not loaded forms then bypass WASM fallback. Fix: classify the error object, requiring a native ORT artifact plus a loader code/message, and permit exactly one fresh forced-WASM worker; unrelated or repeated failures remain terminal.

Move to: