Skip to content

Fix web_Release build_onnxruntime_web failure by correcting browser test bundle resolution - #31639

Draft
mirounga with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-web-release-build-onnxruntime-web
Draft

Fix web_Release build_onnxruntime_web failure by correcting browser test bundle resolution#31639
mirounga with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-web-release-build-onnxruntime-web

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

This PR addresses the failing web_Release / build_onnxruntime_web GitHub Actions job by fixing how the web browser test run resolves and loads the generated ORT web bundle in CI.
The failure was caused by a mismatch between expected test entry/bundle inputs and the artifact path/format used by the Karma invocation in the release workflow.

  • CI web test path alignment
    • Updated web test/build wiring so Karma consumes the correct generated bundle artifact for release validation.
  • Release bundle format consistency
    • Ensured the browser test entry and bundle format expectations are consistent with the release output used in build_onnxruntime_web.
  • Minimal scope
    • Limited to the web release test/build integration path tied to the failing job.

Example of the failing invocation path this change targets:

npx karma start --single-run --browsers Chrome_default \
  --ort-main=ort.bundle.min.mjs \
  --test-main=./browser-test-wasm.js \
  --format=iife

Motivation and Context

web_Release / build_onnxruntime_web was failing in GitHub Actions due to incorrect bundle resolution/compatibility during browser test execution.
This change aligns the release test inputs with the actual produced artifact so the CI job validates the intended web release output.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job web_Release / build_onnxruntime_web Fix web_Release build_onnxruntime_web failure by correcting browser test bundle resolution Aug 4, 2026
Copilot AI requested a review from mirounga August 4, 2026 20:58
Copilot stopped work on behalf of mirounga due to an error August 4, 2026 21:03
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