Skip to content

fix: Adjust assembly filtering for vfs loading - #1051

Merged
jeromelaban merged 10 commits into
mainfrom
dev/jela/vfs-loading
Mar 2, 2026
Merged

jeromelaban merged 10 commits into
mainfrom
dev/jela/vfs-loading

Conversation

@jeromelaban

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates Uno WASM VFS assembly-load redirection/cleanup logic (notably for WebCIL/.wasm assets) and replaces the prior RayTracer-based validation with a dedicated VFS test app + Puppeteer runtime checks.

Changes:

  • Add a dedicated Uno.Wasm.Tests.VfsAssemblyLoad.App and ...Library to prove a non-BCL assembly is loaded via VFS.
  • Expand the Puppeteer runtime validation to check redirect counts, cleanup behavior, and absence of key runtime assertions.
  • Update Bootstrapper.ts VFS redirect logic (array-based resources) and cleanup hook (wrap FS.close).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Uno.Wasm.Tests.VfsAssemblyLoad/validate-vfs-runtime.js Strengthens headless runtime validation (redirect, cleanup, assertion checks).
src/Uno.Wasm.Tests.VfsAssemblyLoad/test-vfs-assembly-load.sh Publishes the new VFS test app and runs Puppeteer validation.
src/Uno.Wasm.Tests.VfsAssemblyLoad.Library/VfsTestHelper.cs Adds a non-BCL entry point used to prove VFS-loaded assembly resolution.
src/Uno.Wasm.Tests.VfsAssemblyLoad.Library/Uno.Wasm.Tests.VfsAssemblyLoad.Library.csproj New library project for the VFS assembly-load test.
src/Uno.Wasm.Tests.VfsAssemblyLoad.App/Uno.Wasm.Tests.VfsAssemblyLoad.App.csproj New WASM app project with VFS feature flags enabled.
src/Uno.Wasm.Tests.VfsAssemblyLoad.App/Program.cs Writes #results output and includes a [JSExport] to exercise binding paths.
src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts Adjusts VFS cleanup mechanism and redirects assemblies/resources to VFS for .NET 10+ format.
src/Uno.Wasm.Bootstrap.sln Adds the new VFS test app/library projects to the solution.
build/ci/stage-build-linux-tests.yml Updates CI step description to reference the new test app.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown

@jeromelaban

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jeromelaban

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jeromelaban
jeromelaban merged commit 8e025db into main Mar 2, 2026
11 checks passed
@jeromelaban
jeromelaban deleted the dev/jela/vfs-loading branch March 2, 2026 12:40
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