Move Wasm.Build.Tests into a dedicated WasmBuildTests pipeline stage#130773
Closed
pavelsavara with Copilot wants to merge 1 commit into
Closed
Move Wasm.Build.Tests into a dedicated WasmBuildTests pipeline stage#130773pavelsavara with Copilot wants to merge 1 commit into
pavelsavara with Copilot wants to merge 1 commit into
Conversation
Co-authored-by: pavelsavara <271576+pavelsavara@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pavelsavara
July 15, 2026 11:30
View session
|
Azure Pipelines: Successfully started running 5 pipeline(s). 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 13:30 — with
GitHub Actions
Inactive
Contributor
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 13:30 — with
GitHub Actions
Inactive
Member
|
This is actually slower |
This was referenced Jul 15, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #118938
Wasm.Build.Tests (WBT) jobs were inlined in the
Buildstage of every pipeline that runs them. This moves WBT into a dedicatedWasmBuildTestsstage across all such pipelines (runtime.yml,runtime-wasm.yml,runtime-wasm-non-libtests.yml), keeping the build-only producer jobs inBuild.Consumer templates
browser-wasm-build-tests.ymlandbrowser-wasm-coreclr-build-tests.ymlgain aseparateStageparam (defaultfalse). Whentrue, the cross-stage job-leveldependsOnon the*_BuildOnly/*_CoreCLRproducers is dropped — job dependencies are stage-scoped in AzDO. Producer artifacts are still pulled via the existingDownloadBuildArtifacts@0(buildType: current), which resolves across stages.runtime.ymlBuildinto a new sibling- stage: WasmBuildTests.Extra-platforms path
extra-platforms/runtime-extra-platforms-wasm-build-tests.ymlemits theWasmBuildTestsstage (browser Mono + wasi), reusing the same compile-time guard so it never produces an empty stage.runtime-extra-platforms-wasm.ymljobs fragment; producers andwasm-runtime-testsstay inBuild.runtime-wasm.ymlandruntime-wasm-non-libtests.yml— the only two extra-platforms wrappers where WBT actually runs — include the new stage template.Stage dependencies
The new stage depends on
BuildandEvaluatePaths(on PRs). WBT job conditions consumexplat-setupvariables (shouldRunWasmBuildTestsOnDefaultPipeline, etc.) derived from$[ stageDependencies.EvaluatePaths… ]; without theEvaluatePathsdependency they would silently evaluate to empty.Note
Full AzDO template semantics (cross-stage artifact availability,
stageDependenciesresolution, skip propagation) can only be confirmed by running the pipelines on Azure DevOps. Local validation covered YAML parsing and stage topology.