Skip to content

CI: WebGPU lanes and Linux snapshot tests never run on PRs (scope gate reads Setup output with the stage path) #25087

Open

Description

@MartinZikmund

Current behavior 🐛

The job-level conditions that gate CI lanes on the Setup stage's test scope read the output with the stage-level path:

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.WebGpuTestsRequired'], 'true')))

Inside a job (in another stage) that expression never resolves, so on pull requests these jobs are always skipped, even when determine-test-scope.ps1 asks for them. Affected:

  • Desktop Windows / Desktop macOS / Android / WebAssembly WebGPU runtime-test lanes (WebGpuTestsRequired)
  • the Desktop Linux Snapshot Tests job (ScreenshotsRequired)

Example: build 237860 (PR #25071) logged WebGpuTestsRequired requires tests: true, yet all four gated WebGPU lanes were skipped. The gate was introduced in 80c153d.

Expected behavior 🎯

A job reads another stage's output as stageDependencies.<stage>.<job>.outputs['<step>.<var>'], i.e. stageDependencies.Setup.DetermineScope.outputs['SetScope.WebGpuTestsRequired'], and runs when the scope asks for it. (The stage-level gates in .azure-devops-stages.yml use the stage form and work.)

How to reproduce it (as minimally and precisely as possible) 🔬

Open a PR touching build/ci/tests/ and observe the WebGPU lanes skipped.

Workaround 🛠️

None on PRs; the lanes only run on master.

Affected platforms 📱💻🖥️

Build tasks

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. added
    kind/bug
    area/automation
    7.0
    on Oct 7, 2026
  3. removed
    7.0
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/automationkind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions