Repository navigation
Description
Description
src\tests\FunctionalTests\WebAssembly\Browser\HotReload\WebAssembly.Browser.HotReload.Test.csproj is built and archived by the Windows browser library-test job, but its archive is not selected for execution on Helix.
The intended browseronly archive destination is overwritten by a parent props import, placing the test under runonly. The Helix selectors only pick up matching .Sample.zip files from runonly, not this .Test.zip file. As a result, CI can successfully build this test and submit the other tests without exercising its Hot Reload checks.
Reproduction Steps
-
Inspect scheduled runtime build 1639485 / 20261018.1, source
ec0059c08c077e839c6eb8827c846530a891d7e2, specifically the successful browser-wasm windows Release LibraryTests job. -
Its Build product log records compilation of the exact test, generation of both delta revisions, and this archive operation at
2026-10-18T09:21:53.5051589Z:Zipping directory "...\artifacts\bin\WebAssembly.Browser.HotReload.Test\net11.0\browser-wasm\wwwroot\" to "...\artifacts\helix\runonly\browser.AnyCPU.Release\WebAssembly.Browser.HotReload.Test.zip". -
Its Send to Helix log records
WasmTestOnChrome, a normal archive wildcard ofartifacts\helix\tests\**\*.zip, and submission of Helix jobfce0feae-fabc-47c4-b8ef-53e6fce3eec1. -
Inspect the complete Helix work-item inventory. None of its 205 work items contains
WebAssembly.Browser.HotReload.TestorHotReload.
The incorrect archive path is also reproducible by evaluating the project on Windows, without building it:
.\.dotnet\dotnet.exe msbuild .\src\tests\FunctionalTests\WebAssembly\Browser\HotReload\WebAssembly.Browser.HotReload.Test.csproj -p:TargetOS=browser -p:TargetArchitecture=wasm -p:RuntimeFlavor=Mono -p:Configuration=Release -p:ContinuousIntegrationBuild=true -p:ArchiveTests=true -getProperty:TestArchiveTestsRoot,TestArchiveTestsDir,IgnoreForCI,Scenario,ExpectedExitCodeAt 8ab789d9e8a0dcda46c77ffbe86fc006b5dcba67, this reports runonly\browser.AnyCPU.Release as the effective archive directory, an empty IgnoreForCI, Scenario=WasmTestOnChrome, and ExpectedExitCode=42. The implicated routing props, test sources, and submission selectors are unchanged between this revision and the inspected CI revision.
Expected behavior
The supported Windows browser CI route should submit and execute the exact HotReload functional test. Its result should confirm both delta updates and the checked sequence OLD STRING → NEW STRING → NEWEST STRING, with browser exit code 42 and successful XHarness completion.
The existing non-Windows CI exclusion should remain a separate concern.
Actual behavior
The test ZIP is created under artifacts\helix\runonly\browser.AnyCPU.Release, but no selector includes it in the inspected Helix job. There is no execution result for this test; its status is not run / N/A, not passed. Aggregate Helix success does not establish a result for an omitted test.
This was directly verified for the route/build above, not for every historical build or pipeline.
Regression?
Unknown when this began. No earlier known-good CI execution was established. The routing problem is present in both source revisions listed above.
Known Workarounds
The exact test is still operational locally. On Windows, using the repository SDK and locally built Mono/browser Release runtime, the following baseline and exact-project commands succeeded at 8ab789d9e8a0dcda46c77ffbe86fc006b5dcba67:
.\build.cmd mono+libs -os browser -c Release -restore
.\build.cmd mono+libs -os browser -c Release -build
.\.dotnet\dotnet.exe restore .\src\tests\FunctionalTests\WebAssembly\Browser\HotReload\WebAssembly.Browser.HotReload.Test.csproj -p:TargetOS=browser -p:TargetArchitecture=wasm -p:RuntimeFlavor=Mono -p:Configuration=Release -p:InstallChromeForTests=true
.\.dotnet\dotnet.exe build --no-restore .\src\tests\FunctionalTests\WebAssembly\Browser\HotReload\WebAssembly.Browser.HotReload.Test.csproj /t:Test -p:TargetOS=browser -p:TargetArchitecture=wasm -p:RuntimeFlavor=Mono -p:Configuration=Release -p:InstallChromeForTests=trueThe initial machine-specific PATH problem was resolved with a short process-local PATH. Baseline restore used the equivalent eng\build.ps1 entry point through an explicit Windows PowerShell executable. No repository source changes were needed.
Actual headless Chrome/XHarness output:
Apply Delta Update for ApplyUpdateReferencedAssembly.dll, revision 1
Apply Delta Update for ApplyUpdateReferencedAssembly.dll, revision 2
ret: 42
WASM EXIT 42
XHarness exit code: 0
Configuration
- CI: scheduled
runtimepipeline, definition 129,main, Windows host, browser-wasm, Mono, Release,WasmTestOnChrome. - Inspected CI build:
1639485, queued October 18, 2026. The Windows LibraryTests job succeeded; the overall build failed elsewhere. - Local confirmation: Windows x64 host, browser-wasm Mono interpreter, Release, headless Chromium 155.0.8059.85, repository SDK
11.0.100-rc.1.26420.103.
Other information
Cause: archive-property import order plus selection mismatch.
src\libraries\tests.projincludes the WebAssembly*.Test.csprojprojects when archiving the full browser test set.WebAssembly\Directory.Build.propsassignsTestArchiveTestsRootandTestArchiveTestsDirtobrowseronlybefore importing its parent props.- The parent functional-test props sets
IsFunctionalTest=trueand importssrc\libraries\Directory.Build.props. That import replaces the root withrunonlyfor functional tests and recomputes the directory. sendtohelix-browser.targetsincludesbrowseronly\**\*.zipfor browser scenarios, but promotes onlyrunonly\**\*.Browser.*.Sample.zipfor Chrome orrunonly\**\*.Console.V8.*.Sample.zipfor V8.WebAssembly.Browser.HotReload.Test.zipmatches neither. The normal selector coverstests\**\*.zip.
Suggested remedy: Move the existing TestArchiveTestsRoot and TestArchiveTestsDir assignments in WebAssembly\Directory.Build.props to after the parent import. This should restore the intended browseronly destination, which the browser submission selector already handles. This change has not been applied or validated; verification should check the effective archive path, inclusion of the exact work item, and its actual browser result.
Related but distinct: #114526 tracks the intentional Linux exclusion for deadlocks; #118442 concerns HotReload in the separate Wasm.Build.Tests suite.
Note
This issue was prepared and filed with GitHub Copilot assistance.
Activity
dotnet-policy-service commentedon Oct 20, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
[browser] Restore HotReload functional test execution in CI (dotnet#1…