Skip to content

[Ci] Windows Cv1 lane Shared setup - #40168

Merged
kubaflo merged 5 commits into
dotnet:mainfrom
Ahamed-Ali:windowscv1laneshared
Nov 12, 2026
Merged

kubaflo merged 5 commits into
dotnet:mainfrom
Ahamed-Ali:windowscv1laneshared

Conversation

@Ahamed-Ali

Copy link
Copy Markdown
Contributor

Description of Change

This pull request introduces improvements that the Windows UI test pipeline to run CollectionView tests in a more flexible and granular way.

Windows UI Test Pipeline Improvements:

  • Updated the UI test pipeline to run CollectionView tests with UseWindowsCollectionView2Handler=false for each category group, using a matrix strategy to enable more granular test execution (ui-tests.yml).
  • Changed the test filter in the pipeline to use the current CATEGORYGROUP from the matrix, allowing each job to target a specific test group (ui-tests.yml).

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 40168

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40168"

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Nov 12, 2026
@azure-pipelines

This comment has been minimized.

MykhailoDav and others added 2 commits November 12, 2026 13:46
### Description of Change

`Shell.FlyoutBackgroundColor` set from a `Style`, implicit or explicit,
was ignored. Only a value set directly on the `Shell` worked, and
`FlyoutBackground` worked from a `Style`.

**Root cause**

The `Shell` constructor binds `FlyoutBackgroundColor` to an
`AppThemeBinding` for the default white/black colors. It uses the public
`SetBinding`, which applies the binding with
`SetterSpecificity.FromBinding`, and a binding outranks every `Style`
setter; only a value set directly on the element is higher. So the
default always won over a `Style`.

**Fix**

The default binding is applied with the lowest specificity, `new
SetterSpecificity()`, through the same internal overload `Setter` uses
for bindings in styles. A `Style` setter or a value set directly on the
`Shell` now wins over it, and when nothing else sets the property the
theme colors still apply, including when the theme changes. The Material
3 path on Android, which doesn't create this binding, is unchanged.

**Tests**

In `AppThemeTests`:
- `StyleSetsShellFlyoutBackgroundColor`: an implicit `Shell` style sets
the color, and it stays after a theme change.
- `ShellFlyoutBackgroundColorFollowsTheThemeWithoutAStyle`: without a
style the default is still white in light and black in dark.

| | Without fix | With fix |
|---|---|---|
| `main` (4c74701) | First test fails: White instead of Red | Both
pass; Controls.Core.UnitTests 6735 passed |

### Issues Fixed

Fixes dotnet#9736

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reuse the seven existing CollectionView category shards for Windows CV1 to avoid running the full suite in a single job. Preserve the legacy handler configuration.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This reverts commit c14cab3 to keep the Windows CV1 PR scoped to its pipeline change.

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

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

@kubaflo

kubaflo commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

/rebase

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 12, 2026
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@MauiBot

MauiBot commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@Ahamed-Ali — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 12, 2026

@github-actions github-actions Bot 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.

Expert Review — 0 findings

Reviewed commit c20b2df.

@sheiksyedm
sheiksyedm marked this pull request as ready for review November 12, 2026 11:48
@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 12, 2026
@MauiBot

MauiBot commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@Ahamed-Ali — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 12, 2026

@github-actions github-actions Bot 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.

Expert Review — 0 findings

Reviewed commit c20b2df.

@kubaflo
kubaflo changed the base branch from net11 to main November 12, 2026 13:11
@kubaflo
kubaflo enabled auto-merge (squash) November 12, 2026 13:12
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 13:18
@kubaflo
kubaflo disabled auto-merge November 12, 2026 13:19
@kubaflo
kubaflo merged commit c37d5bf into dotnet:main Nov 12, 2026
4 of 14 checks passed

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

No active review issues were identified for the Windows CV1 CollectionView matrix and per-category filtering changes.

No open issues 🎉

What changed in this PR

This PR updates the Windows CV1 UI test lane to run CollectionView category groups as separate matrix jobs while retaining the legacy handler configuration.

Changes:

  • Creates matrix entries for configured category groups whose names start with CollectionView.
  • Uses each job’s CATEGORYGROUP as its test filter instead of the broad CollectionView filter.
File Description
eng/​pipelines/​common/​ui-tests.yml Adds category-based matrix execution and per-group filtering to the Windows CV1 test lane.

Review effort: Balanced

SuthiYuvaraj pushed a commit to SuthiYuvaraj/maui that referenced this pull request Nov 13, 2026
### Description of Change

This pull request introduces improvements that the Windows UI test
pipeline to run CollectionView tests in a more flexible and granular
way.


**Windows UI Test Pipeline Improvements:**

- Updated the UI test pipeline to run CollectionView tests with
`UseWindowsCollectionView2Handler=false` for each category group, using
a matrix strategy to enable more granular test execution
(`ui-tests.yml`).
- Changed the test filter in the pipeline to use the current
`CATEGORYGROUP` from the matrix, allowing each job to target a specific
test group (`ui-tests.yml`).

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 24, 2026
KarthikRajaKalaimani pushed a commit to KarthikRajaKalaimani/maui that referenced this pull request Nov 26, 2026
### Description of Change

This pull request introduces improvements that the Windows UI test
pipeline to run CollectionView tests in a more flexible and granular
way.


**Windows UI Test Pipeline Improvements:**

- Updated the UI test pipeline to run CollectionView tests with
`UseWindowsCollectionView2Handler=false` for each category group, using
a matrix strategy to enable more granular test execution
(`ui-tests.yml`).
- Changed the test filter in the pipeline to use the current
`CATEGORYGROUP` from the matrix, allowing each job to target a specific
test group (`ui-tests.yml`).

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants