Skip to content

[mono][wasi] More testing#129098

Draft
pavelsavara wants to merge 4 commits into
dotnet:mainfrom
pavelsavara:wasi-mono-aot
Draft

[mono][wasi] More testing#129098
pavelsavara wants to merge 4 commits into
dotnet:mainfrom
pavelsavara:wasi-mono-aot

Conversation

@pavelsavara
Copy link
Copy Markdown
Member

No description provided.

@pavelsavara pavelsavara added this to the 11.0.0 milestone Jun 7, 2026
@pavelsavara pavelsavara self-assigned this Jun 7, 2026
Copilot AI review requested due to automatic review settings June 7, 2026 16:02
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm labels Jun 7, 2026
@pavelsavara
Copy link
Copy Markdown
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Mono WASI runtime and WASM CI/test configuration to improve coverage and avoid early startup issues when using AOT on WASI.

Changes:

  • Enable lazy loading of assemblies referenced by AOT images during WASI runtime initialization to avoid early-resolution reentrancy.
  • Disable the default EventSourceSupport=true setting for WASI in browser/WASM test targets.
  • Configure the runtime-wasm pipeline wrapper to include optional jobs by setting excludeOptional: false.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/mono/wasi/runtime/driver.c Sets mono_opt_aot_lazy_assembly_load during WASI runtime startup (plus adds an extern declaration).
eng/testing/tests.browser.targets Avoids enabling EventSourceSupport by default when TargetOS is wasi.
eng/pipelines/runtime-wasm.yml Forces optional wasm jobs on by passing excludeOptional: false into the wasm job template.

Comment thread src/mono/wasi/runtime/driver.c
@pavelsavara
Copy link
Copy Markdown
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants