runtime
runtime copied to clipboard
[wasm] asset loading for workers
- move asset related logic to separate file
assets.ts - split logging code into separate file
logging.ts - add
dotnet.wasmanddotnet-crypto-worker.jsto mono-config.json viaWasmAppBuilder - moved
readSymbolMapFile()call tostartup.ts - fixed bug in
setup_proxy_console()which didn't really copy the originalloganderrorfunctions of the console and caused recursion on error. - moved
init_cryptoaftermono_wasm_load_configinmono_wasm_pre_init_essential_async - added new resource type
js-module-cryptoandjs-module-threads - changed the detection of blazor startup sequence to not be disabled by presence of config, but only by config.assets having some assembly in it.
Most of this changes were moved from https://github.com/dotnet/runtime/pull/73073 where is log of discussions about it
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Issue Details
- move asset related logic to separate file
assets.ts - split logging code into separate file
logging.ts - add
dotnet.wasmanddotnet-crypto-worker.jsto mono-config.json viaWasmAppBuilder - moved
readSymbolMapFile()call tostartup.ts - fixed bug in
setup_proxy_console()which didn't really copy the originalloganderrorfunctions of the console and caused recursion on error. - moved
init_cryptoaftermono_wasm_load_configinmono_wasm_pre_init_essential_async - added new resource type
js-module-cryptoandjs-module-threads - changed the detection of blazor startup sequence to not be disabled by presence of config, but only by config.assets having some assembly in it.
| Author: | pavelsavara |
|---|---|
| Assignees: | pavelsavara |
| Labels: |
|
| Milestone: | 7.0.0 |
/azp run runtime-wasm
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-wasm
Azure Pipelines successfully started running 1 pipeline(s).
Unfortunately the deadlock is still with us. Log
You can run the tests a good bunch(30?) of times on helix, which can be done in one shot as we had discussed offline. It is helpful in finding similar issues.
I wonder if we should always do that for tests that depend on workers, on CI.
/azp run runtime-wasm
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-wasm
Pull request contains merge conflicts.
/azp run runtime-wasm
Azure Pipelines successfully started running 1 pipeline(s).
The wasm/debugger test failures are unrelated, and will be fixed by https://github.com/dotnet/runtime/pull/73524 .
We should queue up the crypto deadlock fix right after this. If this happens to cause any issue with crypto, then it can be fixed in that PR.