Skip to content

fix(extension): resolve transformer wasm runtime fetch failures#25

Merged
osolmaz merged 7 commits intomainfrom
fix/transformer-wasm-runtime-url
Feb 15, 2026
Merged

fix(extension): resolve transformer wasm runtime fetch failures#25
osolmaz merged 7 commits intomainfrom
fix/transformer-wasm-runtime-url

Conversation

@janitrbob
Copy link
Copy Markdown
Contributor

@janitrbob janitrbob bot commented Feb 15, 2026

Summary

  • restore ORT wasm runtime path resolution to Hugging Face runtime assets for builtin and downloaded HF runs
  • persist per-run runtime_wasm_base_url and reuse it during inference
  • improve transformer fetch/session errors to include failing URL/label and configured wasmPaths

Why

The extension package does not include the ORT wasm binary, so forcing local wasm paths causes runtime "Failed to fetch" during transformer inference.

Validation

  • npm run extension:typecheck
  • npm run format:check
  • npx playwright test extension/tests/transformer-smoke.spec.ts --reporter=line (skips in no-DISPLAY env)

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Feb 15, 2026

Deploying janitr with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8bf1d36
Status: ✅  Deploy successful!
Preview URL: https://acaaa477.janitr.pages.dev
Branch Preview URL: https://fix-transformer-wasm-runtime.janitr.pages.dev

View logs

@osolmaz osolmaz merged commit 21885a0 into main Feb 15, 2026
3 checks passed
osolmaz pushed a commit that referenced this pull request Feb 15, 2026
@osolmaz osolmaz deleted the fix/transformer-wasm-runtime-url branch February 15, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants