Commit 513b9cd
Fix scheduled WASM extra-platforms job selection (#134613)
## Problem
The scheduled `runtime-extra-platforms` pipeline includes this child
template only for rolling builds, but since #133068 the child has
repeated that check through `variables.isRollingBuild`. That ambient
variable is unavailable during nested compile-time expansion, so it
expands empty and the child selects the WASM-specific branches instead.
Build 1610154 consequently omitted `LibraryTestsCoreCLR_R2R` and
`TestWasmReadyToRun` while adding `SingleThreaded_BuildOnly` and
non-extra browser CoreCLR jobs.
## Fix
Use the explicit `isExtraPlatformsBuild` parameter to select the
scheduled extra-platforms branch and its inverse for WASM-specific
pipeline invocations. Use the explicit `isWasmOnlyBuild` parameter for
WASI smoke `alwaysRun` behavior.
## Validation
- parsed
`eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml`
successfully as YAML
- authenticated Azure DevOps definition 154 preview against the PR merge
ref includes `LibraryTestsCoreCLR_R2R` and `TestWasmReadyToRun`
- preview includes both browser smoke AOT jobs, both WASI AOT jobs, and
both browser high-resource AOT jobs
- preview contains no `SingleThreaded_BuildOnly` references and no
non-extra browser CoreCLR build-only jobs
- no pipeline run was queued; validation used the preview API only
`/azp run runtime-extra-platforms` cannot validate this scheduled path
on a PR: PR runs set `Build.Reason` to `PullRequest`, which makes the
root `isRollingBuild` gate omit the WASM child template entirely. The
preview API expands definition 154 against the PR merge ref in the
required rolling context without queuing a build. The next daily
scheduled run after merge will provide the end-to-end confirmation.
> [!NOTE]
> This pull request description was generated with GitHub Copilot.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 541a2c0a-365a-40d8-adfc-20e687d223b81 parent 1613046 commit 513b9cd
1 file changed
Lines changed: 7 additions & 7 deletions
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
0 commit comments