Skip to content

Remove redundant rolling build pipeline parameter - #133068

Merged
akoeplinger merged 1 commit into
mainfrom
remove-redundant-isrollingbuild-parameter
Sep 3, 2026
Merged

akoeplinger merged 1 commit into
mainfrom
remove-redundant-isrollingbuild-parameter

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Use the common isRollingBuild variable directly in the extra-platform WASM template and remove the unused parameter from extra-platform templates and their callers.

Noticed in #133002

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Use the common isRollingBuild variable directly in the extra-platform WASM template and remove the unused parameter from extra-platform templates and their callers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 537135b4-f893-4193-b5d6-cd1d99d6c44e
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change cleanly removes redundant parameter wiring and all current callers already import the common variables template that defines isRollingBuild.

Pull request overview

Removes the redundant isRollingBuild parameter plumbing from extra-platform pipeline wrappers and templates by relying on the shared variables.isRollingBuild value defined in eng/pipelines/common/variables.yml.

Changes:

  • Stop passing isRollingBuild from wrapper pipelines into extra-platform templates.
  • Remove the unused isRollingBuild parameter from extra-platform templates; update the WASM extra-platform template to use variables.isRollingBuild directly.
File summaries
File Description
eng/pipelines/runtime-wasm.yml Removes isRollingBuild parameter pass-through to the WASM extra-platform template.
eng/pipelines/runtime-wasm-optional.yml Removes isRollingBuild parameter pass-through to the WASM extra-platform template.
eng/pipelines/runtime-wasm-non-libtests.yml Removes isRollingBuild parameter pass-through to the WASM extra-platform template.
eng/pipelines/runtime-wasm-libtests.yml Removes isRollingBuild parameter pass-through to the WASM extra-platform template.
eng/pipelines/runtime-wasm-dbgtests.yml Removes isRollingBuild parameter pass-through to the WASM extra-platform template.
eng/pipelines/runtime-maccatalyst.yml Removes isRollingBuild parameter pass-through to the Mac Catalyst extra-platform template.
eng/pipelines/runtime-linuxbionic.yml Removes isRollingBuild parameter pass-through to the Linux Bionic extra-platform template.
eng/pipelines/runtime-ioslikesimulator.yml Removes isRollingBuild parameter pass-through to the iOS-like simulator extra-platform template.
eng/pipelines/runtime-ioslike.yml Removes isRollingBuild parameter pass-through to the iOS-like extra-platform template.
eng/pipelines/runtime-extra-platforms.yml Removes isRollingBuild parameter pass-through from the extra-platforms pipeline to its component templates.
eng/pipelines/runtime-androidemulator.yml Removes isRollingBuild parameter pass-through to the Android emulator extra-platform template.
eng/pipelines/runtime-android.yml Removes isRollingBuild parameter pass-through to the Android extra-platform template.
eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml Drops isRollingBuild parameter and switches conditional logic to variables.isRollingBuild.
eng/pipelines/extra-platforms/runtime-extra-platforms-maccatalyst.yml Drops unused isRollingBuild parameter from template parameters.
eng/pipelines/extra-platforms/runtime-extra-platforms-linuxbionic.yml Drops unused isRollingBuild parameter from template parameters.
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslikesimulator.yml Drops unused isRollingBuild parameter from template parameters.
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml Drops unused isRollingBuild parameter from template parameters.
eng/pipelines/extra-platforms/runtime-extra-platforms-androidemulator.yml Drops unused isRollingBuild parameter from template parameters.
eng/pipelines/extra-platforms/runtime-extra-platforms-android.yml Drops unused isRollingBuild parameter from template parameters.
Review details
  • Files reviewed: 19/19 changed files
  • Comments generated: 0
  • Review effort level: Lite

@akoeplinger
akoeplinger requested a review from maraf September 2, 2026 09:52
@akoeplinger
akoeplinger merged commit 547a7af into main Sep 3, 2026
194 of 196 checks passed
@akoeplinger
akoeplinger deleted the remove-redundant-isrollingbuild-parameter branch September 3, 2026 10:18
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 4, 2026
radekdoulik added a commit that referenced this pull request Sep 25, 2026
## 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-20e687d223b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants