- Notifications
You must be signed in to change notification settings - Fork5.2k
[wasm] Build static components; include hot_reload in runtime#54568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedJun 22, 2021
lambdageek commentedJun 22, 2021
/cc@lateralusX |
Uh oh!
There was an error while loading.Please reload this page.
lambdageek commentedJun 22, 2021
This also needs to go into .NET 6 Preview 6 |
radical commentedJun 22, 2021
Does this enable, or fix something? |
lambdageek commentedJun 22, 2021
Yea it fixes hot reload on .NET 6 P6 |
radical commentedJun 22, 2021
Is there a test that we can enable with this, so we get validation too? |
Workaround untildotnet#54565 is fixedBuild the runtime always with support for hot_reload, and without diagnostics_tracing
b243253 tobe8a1e8CompareJust check that the capabilities are non-empty which is a good proxy for hotreload being enabled in the runtime.
74ad995 to5da0bdeComparelambdageek commentedJun 22, 2021
@radical I added a new functional test for the browser. didn't try very hard to override all the build lane stuff, but at least for a default |
radical commentedJun 23, 2021
wasm failure is#53957 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
303e48e to5a084cfCompare
radical left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good, just nits, whatever bits I could review. The env vars stuff should be doable in the project file itself, but nothing to block this PR over.
...ssembly/Browser/HotReload/ApplyUpdateReferencedAssembly/ApplyUpdateReferencedAssembly.csproj OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
| Condition="'$(TargetOS)' == 'Browser'"> | ||
| <ItemGroup> | ||
| <!-- FIXME: this belongs in eng/testing/tests.wasm.targets --> | ||
| <!-- FIXME: Can we do something on the Content items in the referenced projects themselves to get this for free? --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
soon ;)
...ests/FunctionalTests/WebAssembly/Browser/HotReload/WebAssembly.Browser.HotReload.Test.csprojShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/tests/FunctionalTests/WebAssembly/Browser/HotReload/Program.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
lambdageek commentedJun 23, 2021
/backport to release/6.0-preview6 |
Started backporting to release/6.0-preview6:https://github.com/dotnet/runtime/actions/runs/965256876 |
…bugger2* origin/main: (107 commits) Disable MacCatalyst arm64 PR test runs on staging pipeline (dotnet#54678) [WASM] Fix async/await in config loading (dotnet#54652) Fix for heap_use_after_free flagged by sanitizer (dotnet#54679) [wasm] Bump emscripten to 2.0.23 (dotnet#53603) Fix compiler references when building inside VS (dotnet#54614) process more TLS frames at one when available (dotnet#50815) Add PeriodicTimer (dotnet#53899) UdpClient with span support (dotnet#53429) exclude fragile tests (dotnet#54671) get last error before calling a method that might fail as well (dotnet#54667) [FileStream] add tests for device and UNC paths (dotnet#54545) Fix sporadic double fd close (dotnet#54660) Remove Version.Clone from AssemblyName.Clone (dotnet#54621) [wasm] Enable fixed libraries tests (dotnet#54641) [wasm] Fix blazor/aot builds (dotnet#54651) [mono][wasm] Fix compilation error on wasm (dotnet#54659) Fix telemetry for Socket connects to Dns endpoints (dotnet#54071) [wasm] Build static components; include hot_reload in runtime (dotnet#54568) [wasm][debugger] Reuse debugger-agent on wasm debugger (dotnet#52300) Put Crossgen2 in sync withdotnet#54235 (dotnet#54438) ...
Workaround until#54565 is fixed
Build the runtime always with support for hot_reload, and without diagnostics_tracing