Repository navigation
feat: Add WebWorker support - #1056
Conversation
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
2 similar comments
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Adds a new WebWorker shell mode to Uno.Wasm.Bootstrap, including generated worker bootstrap output, host-project integration to publish worker assets under a sub-path, plus end-to-end validation (Puppeteer) and documentation.
Changes:
- Add
ShellMode.WebWorkerwith worker bootstrap generation (worker.js+ minimalindex.html) and related build pipeline updates. - Add host integration MSBuild targets to build/publish a worker project and place its assets under
wwwroot/_worker/. - Add samples/tests/docs/CI to validate WebWorker runtime initialization and messaging.
Reviewed changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebWorker/validate-webworker.js | Puppeteer-based runtime validator for host+worker messaging/results. |
| src/Uno.Wasm.Tests.WebWorker/test-webworker.sh | Publish host app, validate outputs, serve with COOP/COEP, run Puppeteer validation. |
| src/Uno.Wasm.Tests.WebWorker/package.json | NPM deps for the WebWorker validation harness. |
| src/Uno.Wasm.Tests.WebWorker/package-lock.json | Locked NPM dependency graph for the validation harness. |
| src/Uno.Wasm.Tests.WebWorker.Host/Uno.Wasm.Tests.WebWorker.Host.csproj | Host app configured to publish/import the worker under _worker/. |
| src/Uno.Wasm.Tests.WebWorker.Host/Program.cs | Host creates Worker('./_worker/worker.js') and displays worker messages. |
| src/Uno.Wasm.Tests.WebWorker.App/Uno.Wasm.Tests.WebWorker.App.csproj | Worker-mode app project (WasmShellMode=WebWorker). |
| src/Uno.Wasm.Tests.WebWorker.App/Program.cs | Worker posts a dotnet-ready message via postMessage. |
| src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj | RayTracer host publishes an accompanying worker project under _worker/. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Uno.Wasm.Sample.RayTracer.Worker.csproj | New RayTracer worker project running benchmark inside WebWorker mode. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Program.cs | Worker executes benchmark and posts logs/result image back to host. |
| src/Uno.Wasm.Sample.RayTracer.Shared/WasmScripts/image.js | Host page JS updated to start the worker and render its output side-by-side. |
| src/Uno.Wasm.Bootstrap/tsconfig.worker.json | TS build for worker bootstrap output (uno-worker-bootstrap.js). |
| src/Uno.Wasm.Bootstrap/tsconfig.json | Excludes worker bootstrap TS from main browser bootstrap compilation. |
| src/Uno.Wasm.Bootstrap/ts/WorkerEntrypoint.ts | Worker bundle entrypoint invoking WorkerBootstrapper.bootstrap(). |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/WorkerBootstrapper.ts | Worker-side .NET runtime bootstrap + profiler messaging helpers. |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/EmscriptenMemoryProfilerSupport.ts | Expose JSON builders usable from worker context (no DOM). |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | Add worker filename property + host/worker publish integration targets. |
| src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj | Include worker tsconfig; embed generated JS with updated logical name. |
| src/Uno.Wasm.Bootstrap/ShellTask.cs | Generate worker.js and minimal host index.html for WebWorker mode; skip SW. |
| src/Uno.Wasm.Bootstrap/ShellMode.cs | Add WebWorker enum value. |
| specs/003-webworker-mode/spec.md | Feature spec for WebWorker shell mode. |
| specs/003-webworker-mode/progress.md | Progress log for the feature. |
| doc/toc.yml | Adds docs navigation entry for WebWorker mode. |
| doc/features-webworker-mode.md | User-facing documentation for configuring/using WebWorker mode and profiling. |
| build/ci/stage-build-linux-tests.yml | Adds a CI job step to run the WebWorker end-to-end test. |
| .gitignore | Ignores a local Claude settings file. |
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
This PR introduces a new WebWorker shell mode to Uno.Wasm.Bootstrap, enabling .NET WASM apps to boot inside a classic Web Worker, plus host-project integration to publish a worker app under a subfolder (e.g. wwwroot/_worker/) with its own _framework/.
Changes:
- Added a worker bootstrap pipeline (TS worker bootstrapper + C# generation of
worker.js/minimalindex.html) and new MSBuild properties/targets for host+worker publishing. - Added end-to-end validation via a new WebWorker test app/host app and Puppeteer-based CI test script.
- Updated RayTracer sample to run the benchmark in both main thread and a Web Worker.
Reviewed changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebWorker/validate-webworker.js | Puppeteer runtime validation for host+worker output |
| src/Uno.Wasm.Tests.WebWorker/test-webworker.sh | Build/publish + serve + run Puppeteer validation script |
| src/Uno.Wasm.Tests.WebWorker/package.json | Adds Puppeteer dependency for the WebWorker test harness |
| src/Uno.Wasm.Tests.WebWorker/package-lock.json | Locks Puppeteer and transitive dependencies |
| src/Uno.Wasm.Tests.WebWorker.Host/Uno.Wasm.Tests.WebWorker.Host.csproj | Host project wiring for worker publish integration properties |
| src/Uno.Wasm.Tests.WebWorker.Host/Program.cs | Host creates worker and renders received messages into DOM |
| src/Uno.Wasm.Tests.WebWorker.App/Uno.Wasm.Tests.WebWorker.App.csproj | Worker-mode test app project definition |
| src/Uno.Wasm.Tests.WebWorker.App/Program.cs | Worker posts a “dotnet-ready” message to host |
| src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj | Adds worker project publish integration to sample host |
| src/Uno.Wasm.Sample.RayTracer.Worker/Uno.Wasm.Sample.RayTracer.Worker.csproj | New worker-mode project for RayTracer benchmark |
| src/Uno.Wasm.Sample.RayTracer.Worker/Program.cs | Runs benchmark in worker and posts results/logs to host |
| src/Uno.Wasm.Sample.RayTracer.Shared/WasmScripts/image.js | Host-side UI and worker message handling for worker-rendered image |
| src/Uno.Wasm.Bootstrap/tsconfig.worker.json | New TS build for worker bootstrap output bundle |
| src/Uno.Wasm.Bootstrap/tsconfig.json | Excludes worker TS sources from main bootstrap bundle |
| src/Uno.Wasm.Bootstrap/ts/WorkerEntrypoint.ts | Worker entrypoint calling WorkerBootstrapper.bootstrap() |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/WorkerBootstrapper.ts | Worker runtime initialization + config loading + profiler hooks |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/EmscriptenMemoryProfilerSupport.ts | Adds worker-friendly JSON builders for profiler export |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | Adds WebWorker MSBuild properties, hot reload/service-worker skips, and host integration targets |
| src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj | Includes tsconfig.worker.json and adjusts embedded resource naming |
| src/Uno.Wasm.Bootstrap/ShellTask.cs | Generates worker.js + minimal host index.html; skips service worker in WebWorker mode |
| src/Uno.Wasm.Bootstrap/ShellMode.cs | Adds WebWorker enum value |
| specs/003-webworker-mode/spec.md | Feature spec for WebWorker shell mode |
| specs/003-webworker-mode/progress.md | Progress/notes and known limitations for the implementation |
| doc/toc.yml | Adds WebWorker mode docs to TOC |
| doc/features-webworker-mode.md | User-facing documentation for WebWorker mode |
| build/ci/stage-build-linux-tests.yml | Adds WebWorker CI validation step and artifact publishing |
| .gitignore | Ignores .claude/settings.local.json |
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Adds a new WebWorker shell mode to Uno.Wasm.Bootstrap, including build-time host↔worker integration, worker bootstrap/runtime initialization, and an end-to-end CI validation harness.
Changes:
- Introduce
ShellMode.WebWorkerand generate a worker bootstrap script (worker.js) + minimal hostindex.html. - Add MSBuild targets to build/publish a worker project and import its static web assets +
_framework/into a host app underWasmShellWorkerBasePath. - Add docs/specs, a RayTracer worker sample integration, and a Puppeteer-based CI test.
Reviewed changes
Copilot reviewed 27 out of 29 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebWorker/validate-webworker.js | Puppeteer-based runtime validation for host+worker. |
| src/Uno.Wasm.Tests.WebWorker/test-webworker.sh | Linux test runner that publishes host, serves output, and runs validation. |
| src/Uno.Wasm.Tests.WebWorker/package.json | Node dependencies for the WebWorker test harness. |
| src/Uno.Wasm.Tests.WebWorker/package-lock.json | Lockfile for Puppeteer and transitive dependencies. |
| src/Uno.Wasm.Tests.WebWorker.Host/Uno.Wasm.Tests.WebWorker.Host.csproj | Host project wiring for worker integration properties. |
| src/Uno.Wasm.Tests.WebWorker.Host/Program.cs | Host-side worker creation + message handling. |
| src/Uno.Wasm.Tests.WebWorker.App/Uno.Wasm.Tests.WebWorker.App.csproj | Worker-mode test app project definition. |
| src/Uno.Wasm.Tests.WebWorker.App/Program.cs | Worker-side “dotnet-ready” postMessage smoke signal. |
| src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj | Enables publishing a worker alongside the RayTracer host sample. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Uno.Wasm.Sample.RayTracer.Worker.csproj | New worker-mode RayTracer project. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Program.cs | Worker-side raytracer execution + postMessage result transport. |
| src/Uno.Wasm.Sample.RayTracer.Shared/WasmScripts/image.js | Host UI updates to render both main-thread and worker results. |
| src/Uno.Wasm.Bootstrap/tsconfig.worker.json | TS build config for worker bootstrap bundle output. |
| src/Uno.Wasm.Bootstrap/tsconfig.json | Excludes worker-only TS sources from the main TS build. |
| src/Uno.Wasm.Bootstrap/ts/WorkerEntrypoint.ts | Worker bootstrap entrypoint invoking WorkerBootstrapper. |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/WorkerBootstrapper.ts | New worker runtime bootstrapper (config load, dotnet init, profiling hooks). |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/EmscriptenMemoryProfilerSupport.ts | Adds worker-friendly JSON builders (no DOM dependency). |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | MSBuild integration for worker filename + host import/publish of worker assets. |
| src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj | Includes worker TS config and adjusts embedded resource naming. |
| src/Uno.Wasm.Bootstrap/ShellTask.cs | Generates worker JS + disables service worker for WebWorker mode. |
| src/Uno.Wasm.Bootstrap/ShellMode.cs | Adds WebWorker to the shell mode enum. |
| specs/003-webworker-mode/spec.md | Feature spec for WebWorker shell mode. |
| specs/003-webworker-mode/progress.md | Implementation progress and known limitations tracking. |
| doc/toc.yml | Adds docs entry for WebWorker mode. |
| doc/features-webworker-mode.md | User-facing documentation for WebWorker mode and host integration. |
| build/scripts/validate-dotnetjs-fingerprint.sh | Avoids selecting worker uno-config.js when validating host output. |
| build/ci/stage-build-linux-tests.yml | Adds a Linux CI job step for the WebWorker end-to-end test. |
| build/ci/cspell.json | Adds WebWorker-related terms to the spelling dictionary. |
| .gitignore | Ignores a local Claude settings file. |
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Adds a new WebWorker shell mode to Uno.Wasm.Bootstrap, plus host-project integration for publishing/serving a worker alongside a browser host, with accompanying CI + test harness + documentation updates.
Changes:
- Introduces
ShellMode.WebWorkerand generatesworker.js(+ minimalindex.html) via the bootstrap pipeline. - Adds MSBuild targets to build/publish a worker project and import/copy its assets under a host-controlled base path (default
_worker/). - Adds new WebWorker host/worker test projects, Puppeteer validation, CI job step, and end-user documentation.
Reviewed changes
Copilot reviewed 28 out of 30 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebWorker/validate-webworker.js | Puppeteer runtime validation for host+worker scenario |
| src/Uno.Wasm.Tests.WebWorker/test-webworker.sh | Publishes host, validates worker output, serves, and runs Puppeteer |
| src/Uno.Wasm.Tests.WebWorker/package.json | Test harness Node dependencies (Puppeteer) |
| src/Uno.Wasm.Tests.WebWorker/package-lock.json | Locked Node dependency graph for the test harness |
| src/Uno.Wasm.Tests.WebWorker.Host/Uno.Wasm.Tests.WebWorker.Host.csproj | Host project wiring via WasmShellWebWorkerProject/WasmShellWorkerBasePath |
| src/Uno.Wasm.Tests.WebWorker.Host/Program.cs | Host creates worker and renders received message to #results |
| src/Uno.Wasm.Tests.WebWorker.App/Uno.Wasm.Tests.WebWorker.App.csproj | Worker project configured for WasmShellMode=WebWorker |
| src/Uno.Wasm.Tests.WebWorker.App/Program.cs | Worker posts a “dotnet-ready” message to the host |
| src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj | Sample host publishes a worker alongside the main app |
| src/Uno.Wasm.Sample.RayTracer.Worker/Uno.Wasm.Sample.RayTracer.Worker.csproj | New RayTracer worker project in WebWorker mode |
| src/Uno.Wasm.Sample.RayTracer.Worker/Program.cs | Worker-side benchmark execution + result messaging |
| src/Uno.Wasm.Sample.RayTracer.Shared/WasmScripts/image.js | UI updated to run/show worker-rendered output side-by-side |
| src/Uno.Wasm.Bootstrap/tsconfig.worker.json | New TS build for worker bootstrap bundle |
| src/Uno.Wasm.Bootstrap/tsconfig.json | Excludes worker TS entrypoints from main bootstrap build |
| src/Uno.Wasm.Bootstrap/ts/WorkerEntrypoint.ts | Worker bootstrap entrypoint invoking WorkerBootstrapper.bootstrap() |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/WorkerBootstrapper.ts | Worker runtime bootstrap implementation (config loading + dotnet init + profiler hooks) |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/EmscriptenMemoryProfilerSupport.ts | Adds worker-friendly JSON builders for memory snapshots |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | MSBuild properties/targets for worker filename + host integration + publish copy |
| src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj | Includes worker TS config + adjusts embedded resource naming |
| src/Uno.Wasm.Bootstrap/ShellTask.cs | Generates worker JS + index; skips service worker in WebWorker mode |
| src/Uno.Wasm.Bootstrap/ShellMode.cs | Adds WebWorker to supported shell modes |
| specs/003-webworker-mode/spec.md | Feature spec for WebWorker shell mode |
| specs/003-webworker-mode/progress.md | Progress tracking and implementation notes |
| doc/toc.yml | Adds docs nav entry for WebWorker mode |
| doc/features-webworker-mode.md | User-facing docs for WebWorker mode setup/integration/profiling |
| build/scripts/validate-dotnetjs-fingerprint.sh | Avoids picking worker uno-config.js when validating host |
| build/scripts/validate-boot-config.sh | Avoids picking worker uno-config.js when validating host |
| build/ci/stage-build-linux-tests.yml | Adds WebWorker CI test execution + artifact publishing |
| build/ci/cspell.json | Adds WebWorker-related terms to dictionary |
| .gitignore | Ignores local .claude/settings.local.json |
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
This PR introduces a new WebWorker shell mode to Uno.Wasm.Bootstrap, enabling .NET WASM apps to run inside a Web Worker with a dedicated bootstrap script, and adds host-project integration to publish/copy worker assets under a configurable base path (e.g. wwwroot/_worker/).
Changes:
- Add
ShellMode.WebWorkerand generateworker.js+ minimalindex.htmlfor standalone worker publishing. - Add MSBuild host integration (
WasmShellWebWorkerProject+WasmShellWorkerBasePath) to build/publish a worker project and surface its assets under the host’s static web assets pipeline. - Add end-to-end validation (bash + Puppeteer), docs/specs, and a RayTracer sample worker integration.
Reviewed changes
Copilot reviewed 30 out of 32 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebWorker/validate-webworker.js | Puppeteer-based runtime validation for host+worker output. |
| src/Uno.Wasm.Tests.WebWorker/test-webworker.sh | Publishes host, validates output layout, serves, runs Puppeteer validation. |
| src/Uno.Wasm.Tests.WebWorker/package.json | Adds npm dependency manifest for the WebWorker validation harness. |
| src/Uno.Wasm.Tests.WebWorker/package-lock.json | Locks Puppeteer dependency tree for repeatable CI runs. |
| src/Uno.Wasm.Tests.WebWorker.Host/Uno.Wasm.Tests.WebWorker.Host.csproj | Host test project wiring worker publish/import via MSBuild properties. |
| src/Uno.Wasm.Tests.WebWorker.Host/Program.cs | Host-side worker creation + message handling for test scenario. |
| src/Uno.Wasm.Tests.WebWorker.App/Uno.Wasm.Tests.WebWorker.App.csproj | Worker test project configured to WasmShellMode=WebWorker. |
| src/Uno.Wasm.Tests.WebWorker.App/Program.cs | Worker posts a dotnet-ready message back to host. |
| src/Uno.Wasm.Sample.RayTracer/Uno.Wasm.Sample.RayTracer.csproj | Sample host configured to publish an accompanying worker. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Uno.Wasm.Sample.RayTracer.Worker.csproj | New sample worker project with WasmShellMode=WebWorker. |
| src/Uno.Wasm.Sample.RayTracer.Worker/Program.cs | Worker-side benchmark execution + result/log postMessage. |
| src/Uno.Wasm.Sample.RayTracer.Shared/WasmScripts/image.js | Sample UI updated to show main-thread vs worker rendering side-by-side. |
| src/Uno.Wasm.LogProfiler/profiler_flush_wasm.c | Native shim intended to restore/bridge log-profiler flushing behavior for .NET 10+. |
| src/Uno.Wasm.LogProfiler/LogProfilerSupport.cs | Exposes profiler helpers via [JSExport] for worker-side invocation. |
| src/Uno.Wasm.Bootstrap/tsconfig.worker.json | New TS build for worker bootstrap bundle output. |
| src/Uno.Wasm.Bootstrap/tsconfig.json | Excludes worker TS from the main bootstrap bundle build. |
| src/Uno.Wasm.Bootstrap/ts/WorkerEntrypoint.ts | Worker bootstrap entrypoint calling worker bootstrapper. |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/WorkerBootstrapper.ts | Implements worker runtime initialization, config loading, and profiler command plumbing. |
| src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/EmscriptenMemoryProfilerSupport.ts | Adds worker-friendly JSON builders for memory profiler export. |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | Adds worker filename property, disables hot reload/service worker for WebWorker, and adds host integration targets. |
| src/Uno.Wasm.Bootstrap/Uno.Wasm.Bootstrap.csproj | Ensures worker tsconfig is included; adjusts embedding of generated JS resources. |
| src/Uno.Wasm.Bootstrap/ShellTask.cs | Adds GenerateWorkerJs() to emit worker bootstrap script + minimal host HTML. |
| src/Uno.Wasm.Bootstrap/ShellMode.cs | Adds new WebWorker enum value. |
| specs/003-webworker-mode/spec.md | Feature specification for the WebWorker shell mode and host integration. |
| specs/003-webworker-mode/progress.md | Progress tracking and design notes for the feature. |
| doc/toc.yml | Adds documentation entry for WebWorker mode. |
| doc/features-webworker-mode.md | User-facing documentation for enabling/using WebWorker mode (including profiling). |
| build/scripts/validate-dotnetjs-fingerprint.sh | Excludes _worker/ when validating host config fingerprint. |
| build/scripts/validate-boot-config.sh | Excludes _worker/ when validating embedded boot config. |
| build/ci/stage-build-linux-tests.yml | Adds CI job step to run the WebWorker mode test and publish artifacts. |
| build/ci/cspell.json | Adds project-specific words for spelling checks. |
| .gitignore | Ignores local .claude/settings.local.json. |
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 33 out of 35 changed files in this pull request and generated 4 comments.
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,43 @@ | |||
| using System; | |||
| using System.Runtime.InteropServices.JavaScript; | |||
| @@ -0,0 +1,18 @@ | |||
| using System; | |||
| using System.Runtime.InteropServices.JavaScript; | |||
| <PropertyGroup> | ||
| <_UnoWorkerPublishWwwroot>$(_UnoWorkerProjectDir)/bin/$(Configuration)/$(_UnoWorkerTargetFramework)/publish/wwwroot/</_UnoWorkerPublishWwwroot> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <_UnoWorkerFrameworkFiles Include="$(_UnoWorkerPublishWwwroot)_framework/**/*" /> | ||
| </ItemGroup> |
| Exclude="$(PublishDir)wwwroot/$(WasmShellWorkerBasePath)/_framework/dotnet.native.*.js;$(PublishDir)wwwroot/$(WasmShellWorkerBasePath)/_framework/dotnet.runtime.*.js" /> | ||
| </ItemGroup> | ||
|
|
||
| <PropertyGroup> |
…nts for imported assets
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
…ashed package folder, ensuring versioned URLs and preventing deployment conflicts
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
…d versioning in host's package folder
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 34 out of 36 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…g.js paths and improve error handling
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
…erprinted and unfingerprinted variants
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 34 out of 36 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- src/Uno.Wasm.Tests.WebWorker/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1056.eastus2.1.azurestaticapps.net |
No description provided.