Uh oh!
There was an error while loading. Please reload this page.
[wasm] asset loading for workers - #73484
Conversation
- split logging code into separate file `logging.ts` - add `dotnet.wasm` and `dotnet-crypto-worker.js` to mono-config.json - moved `readSymbolMapFile()` call to `startup.ts` - fixed bug in `setup_proxy_console()` which didn't really copy the original `log` and `error` functions of the console and caused recursion on error. - moved `init_crypto` after `mono_wasm_load_config` in `mono_wasm_pre_init_essential_async` - added new resource type `js-module-crypto` and `js-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.
ghost
commented
Aug 5, 2022
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
pavelsavara
commented
Aug 5, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
# Conflicts: # src/mono/wasm/runtime/crypto-worker.ts # src/mono/wasm/runtime/workers/dotnet-crypto-worker.js
Co-authored-by: Marek Fišera <mara@neptuo.com>
pavelsavara
commented
Aug 6, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Aug 6, 2022
Unfortunately the deadlock is still with us. Log |
radical
commented
Aug 6, 2022
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. |
# Conflicts: # src/mono/wasm/runtime/debug.ts
pavelsavara
commented
Aug 8, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Aug 9, 2022
/azp run runtime-wasm |
|
Pull request contains merge conflicts. |
# Conflicts: # src/mono/wasm/runtime/startup.ts
pavelsavara
commented
Aug 9, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Aug 9, 2022
|
radical
commented
Aug 9, 2022
The wasm/debugger test failures are unrelated, and will be fixed by #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. |
assets.tslogging.tsdotnet.wasmanddotnet-crypto-worker.jsto mono-config.json viaWasmAppBuilderreadSymbolMapFile()call tostartup.tssetup_proxy_console()which didn't really copy the originalloganderrorfunctions of the console and caused recursion on error.init_cryptoaftermono_wasm_load_configinmono_wasm_pre_init_essential_asyncjs-module-cryptoandjs-module-threadsMost of this changes were moved from #73073 where is log of discussions about it
Together with dotnet/aspnetcore#43049