Repository navigation
[wasm][coreclr] Enable ReadyToRun by default for browser publishing - #137495
radekdoulik wants to merge 5 commits into
Conversation
|
Azure Pipelines: Successfully started running 6 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run runtime-coreclr outerloop, runtime-libraries-coreclr outerloop Note Requested with GitHub Copilot. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
/azp run runtime-coreclr outerloop Note Requested with GitHub Copilot. |
|
/azp run runtime-libraries-coreclr outerloop Note Requested with GitHub Copilot. |
|
No pipelines are associated with this pull request. |
1 similar comment
|
No pipelines are associated with this pull request. |
Preserve build selection, explicit opt-outs, and separate interpreter and R2R library CI coverage. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 519ad6c4-3702-45c6-bb99-0e2ad8573d04
Use SDK 12.0.100-alpha.1.26565.104 or newer for workload build tests. Keep newer dependency SDKs, explicit overrides, and the build/bootstrap pins unchanged. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 519ad6c4-3702-45c6-bb99-0e2ad8573d04
Keep native-only nested publishes from requesting publish boot configuration before publish assembly assets are available. Cover ordinary and native-nested preload scheduling. Prepared with GitHub Copilot. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 519ad6c4-3702-45c6-bb99-0e2ad8573d04
9a14f3a to
0838d82
Compare
| <_DotnetSdkVersion>$(MicrosoftDotNetGenAPITaskPackageVersion)</_DotnetSdkVersion> | ||
| <SdkVersionForWorkloadTesting Condition="$([System.String]::Compare('$(_GlobalJsonSdkVersion)', '$(_DotnetSdkVersion)')) <= 0">$(_DotnetSdkVersion)</SdkVersionForWorkloadTesting> | ||
| <SdkVersionForWorkloadTesting Condition="'$(SdkVersionForWorkloadTesting)' == ''">$(_GlobalJsonSdkVersion)</SdkVersionForWorkloadTesting> | ||
| <!-- Minimum SDK for the CoreCLR browser R2R restore default. --> |
There was a problem hiding this comment.
Could you please explain this ? Why there are also lines 30,31 ?
I see the usage in WorkloadTesting.Core.targets would that survive after Mono is gone ?
There was a problem hiding this comment.
Lines 30-31 choose the newer bootstrap/VMR SDK. That still selects 12.0.100-alpha.1.26561.116; we need 12.0.100-alpha.1.26565.104 for the Crossgen2 restore fix. The minimum changes only the test SDK. CoreCLR also uses these provisioning targets, including its no-workload SDK, so they are not Mono-only. Added comments locally in 9ecc5f6.
Drafted with Copilot.
There was a problem hiding this comment.
We should trigger the darc subscription instead
There was a problem hiding this comment.
Yes, that would be cleaner. @akoeplinger @maraf do you have the cmd to do it at hand?
There was a problem hiding this comment.
The change is already in VMR so we need backflow to runtime repo.
Assert ReadyToRun defaults and the actual Crossgen2 package request from app-scoped binlog evaluations instead of injected failures and assets JSON. Clarify the test SDK floor and independent nested-publish preload hooks. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 519ad6c4-3702-45c6-bb99-0e2ad8573d04
The existing CoreCLR workload publish tests already caught the premature boot generation. Keep the nested-publish guard and remove the synthetic no-workload probe. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 519ad6c4-3702-45c6-bb99-0e2ad8573d04
[wasm][coreclr] Enable ReadyToRun by default for browser publishing
Default
PublishReadyToRuntotruefor CoreCLR browser apps. Keep the compositedefault and explicit opt-outs. Mono, WASI and native-platform defaults are unchanged.
Normal builds still skip per-app crossgen2: Debug stages prebuilt framework R2R;
Release stays IL-only unless explicitly opted in. Interpreter and R2R library CI
jobs remain separate, with explicit mode selection during build and Helix submission.
Depends on dotnet/sdk#57099.
That fix is merged and included in WBT's new minimum SDK,
12.0.100-alpha.1.26565.104. Newer dependency SDKs and explicit overrides remainsupported; the build/bootstrap SDK pins are unchanged.
Publishing can take longer and increase download size.
Projects with
WasmEnableWebcil=falsemust enable WebCIL or setPublishReadyToRun=false.Validation
Local browser validation used the built SDK
12.0.100-devwith the workloadresolver disabled; library tests used in-tree compiler/tasks. CI results with the
published SDK are pending. Local installed-workload execution and performance
benchmarks were not run.
Related: #132466.
Note
Prepared with GitHub Copilot.