Repository navigation
Fix blank horizontal Grid CollectionView with four rows on iOS and Mac Catalyst - #40519
devanathan-vaithiyanathan wants to merge 787 commits into
Conversation
…0049) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Make PR routing discoverable before contributors or agents start work, and repair trusted release preparation after dotnet#39913. This coordinated infrastructure/documentation follow-up targets `main`, where the release tooling is deployed. It contains the publication repair plus the user-directed routing and protected-housekeeping follow-up, in one PR. **Contributor and agent routing** Expose `main` for new features, API changes and .NET 12 work, including .NET 12 fixes; use literal `net11` for initial .NET 11 servicing review. Add visible guidance to README, the contribution guide and PR template, add root `AGENTS.md`, and correct the contradictory SDK/branch guidance in Copilot instructions. Resolve current roles from `eng/release-rollover.json`, not the highest retained `netN.0` branch or a copied inflight SR number. The selected branch's `global.json` remains authoritative for its actual SDK. After .NET 11 review, only a maintainer retargets to the active inflight lane and merges after CI validates that final base. Agents must not retarget or merge PRs; individual fixes do not land directly in `net11`. Older servicing and coordinated release/infrastructure/documentation changes retain their designated targets. **Protected post-cut housekeeping** Replace the direct protected-net11 ref update with a draft normalization PR from `automation/normalization/<band>-srN`, containing the pinned next-cycle CI child. Preserve the exact create-once release cut while waiting for human review and required CI. The normalizer requires **Create a merge commit**, not squash/rebase, so the pinned child remains in the integration ancestry. While approval is pending, report `waiting-for-normalization-approval`, keep the current tracking SR, set `nextLanesReady=false`, and withhold next-lane activation and forward-flow preparation. The trusted same-repository normalization-merge trigger resumes reconciliation; recovery verifies the pinned source/ancestry and refuses duplicate, mismatched or unmanaged PR routes. Reuse the existing post-cut PR helper for legacy servicing and normalization without granting a bypass, changing protections or auto-merging. Update the related release documentation and the existing business fixture for the literal housekeeping base. **Publication startup repair** The [first publication run](https://github.com/dotnet/maui/actions/runs/42472795988), at `9fb91b464aabc5d77c87b8c02a98aafe4492d045`, concluded `startup_failure` with zero jobs and zero check runs. Its YAML passes actionlint, but the live repository selected-action policy excludes `azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6`. It was the only excluded action in the deployed workflow. The existing [Azure dispatch documentation](https://github.com/dotnet/maui/blob/9fb91b464aabc5d77c87b8c02a98aafe4492d045/.github/docs/trigger-azdo-pipeline-setup.md) documents this same pre-job restriction; no credential or signing failure was established by the run. Remove the blocked action and exchange GitHub OIDC directly inside the trusted dispatcher, following the existing CI-fix dispatch pattern. Reuse `AZDO_TRIGGER_CLIENT_ID` and `AZDO_TRIGGER_TENANT_ID`, mask the temporary tokens, and keep them in-process rather than in an Azure CLI cache or workflow output. Authentication remains lazy: an empty sweep or `-PlanOnly` does not authenticate or queue builds. Trusted `main` checkout, exact human-approved source and internal-mirror checks, create-once dispatch intents, `pushPackages=false`, and public approval gates are unchanged. The related release documentation now distinguishes workflow activation from federation and signing acceptance. **Validation** - `actionlint -oneline .github/workflows/release-tracking-prs.yml .github/workflows/release-publishing.yml` -- passed. - `git diff --check HEAD~2 HEAD` -- passed. - Combined existing NextLanes and Publishing business tests using the command below -- **25/25 passed**, with no skipped or unrun tests. No pipeline/YAML tests were added. - PowerShell AST parsing of both dispatchers, `MauiReleaseConfiguration.psm1` and both business fixtures -- passed. - Comparing the exact deployed and repaired YAML against the live selected-action policy -- the baseline excludes only `azure/login`; the repair has no excluded actions. - Running `Sync-ReleasePublishing.ps1` with `-PlanOnly` and a local session-artifact output directory -- passed, returning `releases=[]` and `publicPublicationRequested=false`. ```powershell pwsh -NoProfile -Command 'Import-Module Pester -RequiredVersion 5.9.0; $configuration=New-PesterConfiguration; $configuration.Run.Path=@(".github/scripts/ReleaseNextLanes.Tests.ps1", ".github/scripts/ReleasePublishing.Tests.ps1"); $configuration.Run.Exit=$true; $configuration.TestResult.Enabled=$false; $configuration.Output.Verbosity="Detailed"; Invoke-Pester -Configuration $configuration' ``` **Hosted CI is not fully green** The [current-head Pester run](https://github.com/dotnet/maui/actions/runs/42481235105) reports 2,669 passed and two failed. Both release business fixtures pass there. The failures are the existing Catalyst screenshot-cropping source/patch checks; both reproduce when running those unchanged fixtures against files archived from exact `main` baseline `9fb91b464aabc5d77c87b8c02a98aafe4492d045`. This PR changes neither that test, the harness nor its patch. The [current-head spellcheck run](https://github.com/dotnet/maui/actions/runs/42481235125) reports the same seven unknown words in three unchanged documents as the [exact-main baseline run](https://github.com/dotnet/maui/actions/runs/42472696861). No unrelated spelling or harness changes are included. Other required CI remains separate from the local validation and release-deployment gates. **External prerequisites are not certified by this fix** Read-only inspection confirmed both secret names and the default GitHub OIDC subject settings. The actual federation record and the secret-bound identity's internal membership, mirror-read access and queue permissions remain unverified; secret values were not read. A successful public validator that skipped dispatch is not authentication evidence. Existing internal signing definition1095 and canonical preparation definition1445 match the expected MAUI mirror and YAML paths. Internal `main` was at public commit `1c4f8b1f68c4a85699be7ce7324725faa451e3f6`; its pinned publisher YAML matches the reviewed source and retains no-push and approval gates. Neither the public nor internal SR1 release ref, nor a production release-lane receipt, existed during inspection, so there is no approved cut whose exact mirroring can yet be certified. Hosted activation remains pending integration. No production release workflow was dispatched because it could mutate release refs or queue signed work. Validation did not synchronize mirrors, change protections or canonical release state, cut release refs, queue signed/preparation builds, or publish/promote packages. The expanded PR includes the protected-housekeeping correction, but executing its production route remains an owner-controlled deployment/acceptance gate. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A -- coordinated contributor-routing and release-infrastructure follow-up, including the evidenced workflow startup failure linked above. Relates to dotnet#39913. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> ---------
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> **User-directed policy: tags remain manual.** Maintainers create tags when releasing. Configured servicing progress does not create, move, require, infer shipping from, retire on, or advance because of tags. The automatic-tag proposal was withdrawn before publication and is not included. `main` is the designated trusted source of this release/reporting infrastructure. **Changes:** - Discover the configured current servicing cycle and preceding cut from canonical state and release/candidate branch snapshots, without consulting the tag catalog. Do not advertise a tag-based shipped watermark. Historical/unconfigured and Preview/RC tag diagnostics remain separate. - SR1 inventories against the first GA branch `release/11.0.1xx`; later SRs use the preceding `release/<band>-srN`. Validate the source major/patch range and pin content and baseline to full SHAs. Missing, newly created or unrelated/moved tags cannot replace these bounds or hide progress. - A genuinely missing preceding branch produces an incomplete **UNKNOWN / NOT RUN** inventory diagnostic, not a missing-tag blocker or zero findings. Invalid explicit revisions and wrong versions still fail. Remove stale inventory exports when no inventory ran. - Honor human tracker closure for each exact source/baseline snapshot using existing create-once/race-compensation machinery. New snapshots can produce new generations, but tags cannot mark them shipped or reopen them. Include snapshot identity in the semantic hash to preserve idempotent reporting. - Ignore automatic stable tag-push milestone processing for the configured train. Preserve explicit manual tag diagnostics and historical/Preview/RC behavior separately. - Keep inventory execution refs pinned while preserving readable branch coordinates in handoffs. Update related documentation. No tag-automation credentials, workflow permissions, cut-tag configuration or YAML snapshot tests are added. **Strict merge failure is preserved:** dotnet#40040 remains the rejected squash at `net11` `c175df854f99aba8f12a60536c019b06377fea0d`. The exact two-parent candidate-integration guard is unchanged. This PR does not reset `net11`, recover that merge, create replacement SR PRs, cut a release, create/move/delete tags, rotate live lanes or publish packages. **Retained earlier request:** the canonical-state helper prepares a draft PR advancing only `currentSr` after verified cut, reviewed normalization and both replacement lanes. It preserves `nightlyMode`, never directly writes protected branches or auto-merges, and retains the owner-reviewed signed-nightly deployment gate. No canonical state is changed by this PR. **Validation:** - `pwsh -NoProfile -File .github/skills/release-readiness/tests/Test-ReleaseBranchRoles.ps1` — 109 passed, 0 failed. Real-Git fixtures cover missing/unrelated/manual tags, pinned branch inventories, rotation, invalid source versions and historical behavior. - `pwsh -NoProfile -File .github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1 -SkipE2E` — 2,358 passed, 0 failed. - `pwsh -NoProfile -File .github/skills/release-readiness/tests/Test-ReleaseHandoff.ps1` — 94 passed, 0 failed. - Existing ReleaseNextLanes, ReleasePublishing and Fix-MilestoneDrift suites using CI-pinned Pester 5.9.0 — 250 passed, 0 failed. The installed Pester 6 legacy operator-registration errors were avoided by using the repository's existing CI version, not by changing unrelated tests. - Exact pushed head `8bd14f7e009445c4dca495e2dfc2f6f3e6d6c9ed` was live-verified against GitHub. At post-push verification, remote tag `11.0.0` was absent: the report still used candidate `4c3fdf39` and GA-branch snapshot `4e6582f7`, with **409 reported commits matching the raw Git range exactly**. No tag was recreated and no protected branch changed. - Local snapshot-lifecycle rehearsal honors an exact human-closed generation with no API writes or tag queries. Configured `11.0.0` tag-push handling is a logged no-op. The actual dotnet#40040 source remains rejected before release writes. - PowerShell/Bash syntax, actionlint, `git diff --check`, and cSpell on both changed `docs/` files — passed. **Hosted checks at this head:** [Release Readiness validation](https://github.com/dotnet/maui/actions/runs/42520765649) succeeded, including unit tests, tracker discovery and actual `net11-sr1` smoke-report generation. Pester reports 2,669 passed / two unchanged Catalyst Retina failures; those inputs were independently reproduced on exact base `caa07471` earlier in this investigation. Documentation reports the same seven spelling findings in three byte-identical base files; the changed docs pass. No whole-CI-green, native/signed-build or public-publication certification is claimed. Maintainer review and merge remain separate. A successful progress report is not shipping certification. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Relates to dotnet#39988 and dotnet#40040; follows dotnet#40049. Does not close adoption or unblock the deliberately rejected candidate integration. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2ad2e0a-35c0-4eaf-b76d-b4f9608b71ec Copilot-Session: 15d039f6-e8d8-44a3-be20-cf81720619c7
…#40059) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Prerequisite found while preparing the user-requested SR1/SR2 replay after dotnet#40057 merged. This is a small trusted release-infrastructure correction, **not** either release integration PR and **not** permission to reset protected refs. **Root cause:** `Get-ApprovedCandidateMerge` counts every historical prepared managed PR for the same candidate route, even when an explicitly authorized reset removes its merge from live `net11` history. With dotnet#40040 retained as historical evidence, resetting the branch still selects that old integration; a subsequent proper two-parent integration then fails the duplicate-cycle guard. The deployed source at `a509fca2` reproduced both failures in a real-Git, no-write rehearsal. **Fix:** pin and fetch the live integration tip, fetch each candidate's head/merge SHAs, and count only unrecorded integrations that are ancestors of that tip. Log excluded historical integrations explicitly. Treat Git verification errors and a missing integration branch as hard failures. Update the workflow documentation. **Unchanged safety rules:** - A squash merge still in live history remains discoverable and rejected by the exact two-parent candidate guard. dotnet#40040 is not accepted or rewritten. - Two prepared candidate integrations both present in live history still fail as ambiguous. - Recorded receipt proofs are not silently filtered; their existing validation and ancestry checks remain. - Tags remain manual and independent of configured progress. No release refs, tags, receipts, canonical state, protection rules, internal mirror, or publication approvals are changed by this PR. **Validation:** - `pwsh -NoProfile -Command 'Import-Module Pester -RequiredVersion 5.9.0; $r = Invoke-Pester -Path .github/scripts/ReleaseNextLanes.Tests.ps1,.github/scripts/ReleasePublishing.Tests.ps1 -PassThru -Output Minimal; if ($r.FailedCount -gt 0) { exit 1 }'` — **25 passed, 0 failed**. - Local real-Git rehearsal using the deployed and patched discovery functions — **10 passed scenarios**, including deployed failure, fresh exact merge after reset, unchanged live-squash rejection, live duplicate rejection, preserved receipt proof, missing-branch refusal, and deterministic next-lane replay. External API writes were prohibited by the rehearsal adapter. - Prepared replay retains the exact original candidate/inflight metadata bytes and all lane ancestry, with current `main` as an ancestor. Five actual workload-project MSBuild evaluations passed: net11/candidate patch10 CI, inflight patch20 CI, stable SR1 release context, and explicit non-stable override. These refs were prepared locally only. - PowerShell syntax and `git diff --check` — passed. No new pipeline/YAML tests or workflow permission changes were added. Native/signed-build acceptance and a real release replay have **not** run. **Replay remains gated:** protected `net11` is still at rejected squash `c175df85`. The one-time exact-ref reset/publication exception was not approved while the user was unavailable, so no protected ref or rule was changed. Merge this correction through normal human review before testing a fresh candidate integration. The reset and SR1/SR2 tracking PR creation remain separate pending actions. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Relates to dotnet#39988 and dotnet#40040; follows dotnet#40057. Does not close the release adoption issue or certify a successful production cut. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> ---------
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Prototype version-matched, text-only Agent Skills in `Microsoft.Maui.Controls` to help application upgrades to MAUI 11, with a reusable, separately maintained grounding/evaluation instrument. - Pack the stable `skills/microsoft-maui-controls-upgrade-to-11/SKILL.md` entry and supporting version-alignment, Android Shell and mobile-runtime-property references. Explicit destination file paths prevent duplicated `RecursiveDir` paths. - Cover the breaking change tracked in [dotnet/docs#56477](dotnet/docs#56477): inventory Android/Apple Mono properties and the `AndroidAotProfile` item; remove them from CoreCLR targets or preserve existing settings only for .NET 10; explain the `AndroidEnableMarshalMethods`/ReadyToRun incompatibility (`XA1049`); require performance/memory retesting. Marshal methods are not labeled Mono-specific or universally invalid. The reference distinguishes an evolving documentation issue from final, version-matched SDK evidence. - Document opt-in discovery, installation, refresh and release placement in the Controls README and contributor documentation. - Add an actual Controls archive regression checking package identity/version, exact paths, source text (allowing only CRLF/LF differences), frontmatter and linked references. - Retain `grounding/microsoft-maui-controls/` for pinned public consumer staging, Android build/APK/runtime controls, sealed-candidate grading, Vally specifications/result classification and experimental local build isolation. Python, evaluator code and results are **not packaged**. Downloaded samples, build outputs, caches and runtime evidence remain external. This main-branch change is a **MAUI 10 pre-upgrade bridge prototype**, not a published MAUI 11 release. The Shell reference identifies exact RC1 applicability (`11.0.0-rc.1.26451.6`). Servicing ownership/placement, the corresponding MAUI 11 branch port and final-release reconciliation remain maintainer decisions. No maintainer automation, evaluator artifacts or executable migration scripts are packaged. NuGet restore does **not** install, execute or refresh repository skills automatically. Install/refresh was verified using public installer source pinned at `59d3bc0d4fc80188d33bcc257d2a83c99a4cbfa3`; availability of a public tool package is not claimed. **Local validation** `$SESSION_FILES` denotes the private local evidence directory and `$EVAL_ROOT` the external evaluation root; neither is a repository dependency. Results below distinguish historical runtime evidence from checks of the latest guidance. ```sh dotnet pack src/Controls/src/NuGet/Controls.NuGet.csproj --no-build --no-restore -c Debug -p:PackageVersion=10.0.120-dev -p:DotNetLibraryPacksDirectory="$SESSION_FILES/package-skills-final-study/library-packs" --nologo -v minimal dotnet pack src/Controls/src/NuGet/Controls.NuGet.csproj --no-build --no-restore -c Debug -p:PackageVersion=10.0.121-dev -p:DotNetLibraryPacksDirectory="$SESSION_FILES/package-skills-final-study/library-packs" --nologo -v minimal ``` Both **passed** historically; the `10.0.121-dev` command was rerun successfully after adding the mobile-runtime reference. Discovery/frontmatter, stable-identity installer refresh and isolated Copilot discovery passed in the original packaging pilot; those older runs did not exercise the newly added runtime guidance. ```sh dotnet build src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj --no-restore --no-dependencies -p:CustomAfterMicrosoftCommonTargets="$SESSION_FILES/package-skills-focused-tests.targets" --nologo -v minimal MAUI_PACKAGE_VERSION=10.0.121-dev MAUI_CONTROLS_TEST_PACKAGE="$PWD/artifacts/packages/Debug/Shipping/Microsoft.Maui.Controls.10.0.121-dev.nupkg" dotnet test src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj --no-build --no-restore --filter 'FullyQualifiedName~PackageSkillsTests' --nologo -v minimal ``` Original focused compilation **passed with zero warnings/errors**. The current focused suite **passed (6/6)** against the newly packed archive, including the added reference and line-ending/content regressions. The temporary session-only targets file excludes the unrelated existing `SimpleTemplateTest.cs`: unrestricted integration compilation previously **failed with CS9336 at line 162**. This PR does not change that file or suppress analyzers, and does not claim a passing full integration build. Three corrupted archive controls (missing reference, duplicated path, invalid name frontmatter) were rejected as expected. ```sh TMPDIR="$EVAL_ROOT/tmp" PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s grounding/microsoft-maui-controls -p 'test_*.py' -v "$EVAL_ROOT/tools/node_modules/.bin/vally" lint src/Controls/src/NuGet/skills --verbose ``` Python regressions **passed (27/27, rerun on 2026-10-26)**. Shipping skill lint **passed (2/2 checks)** after the new reference was added. Both generated Vally specifications previously passed strict lint. The documented .NET 10-only MSBuild condition was separately evaluated across nine outer-build/mobile/Windows/.NET 11 TFM cases; this verifies condition selection, not mobile runtime compatibility. ```sh dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/TestUtils/src/Microsoft.Maui.IntegrationTests/PackageSkillsTests.cs --verbosity quiet git diff --check ``` Formatting **passed historically**; `git diff --check` **passed** before the latest push. No full cross-platform/template suite was run. **Migration evidence and findings** A frozen Android Shell upgrade from Controls `10.0.110` / SDK `10.0.301` to Controls `11.0.0-rc.1.26451.6` / SDK `11.0.100-rc.1.26425.128` completed **4/4 baseline passes and 4/4 skill-available passes** with `claude-sonnet-5`. Each included Debug/Release, packaged minimum, exact target-default native architecture, eight navigation checkpoints and intact evaluator guards. Two available runs successfully loaded the skill and read its then-existing references; two did not. This demonstrates functioning selection, not guaranteed activation or a correctness improvement. Small sequential raw timing/usage differences do not prove causal/certified savings. Historical infrastructure/contract diagnostics were kept separate; 19 of the approved 20 attempt starts were used, with no new migration-model starts for these follow-ups. Three pinned `dotnet/maui-samples` cases span DataBindingDemos, ShellTabBarSample and EmployeeDirectory + Core. Their six historical source/target **reference controls** passed 12 Debug/Release builds and 52 UI checkpoints. Four actual Vally target reference replays (the three cases plus a valid custom ShellHandler subclass) passed eight builds and 37 UI checkpoints; unchanged SDK 10 input was rejected. The grader accepts framework-qualified handler ancestry rather than a preferred custom class name. Synthetic reference receipts are labeled `reference-replay-no-agent`: **these are not model upgrades, CT-24 coverage, a new controlled skill comparison or proof of skill benefit**. The original reference harness is frozen separately from later instrument changes; its results must not be silently regraded with changed code or pooled into a fresh study. The new mobile-runtime-property guidance is newer than the historical RC1 evaluation. **No runtime or performance/memory validation of dotnet/docs#56477 is claimed.** Apple source runtime was blocked by the installed workload/Xcode mismatch. Apple/Windows migration runtime coverage and broad whole-app reliability are not established. MAUI 8/9 guidance is staged prerequisites, not tested direct migration; MAUI 6/7 and Xamarin.Forms are outside scope. **Local testing and remaining isolation blocker** The original filesystem-only preflight passed 12 commands and four nonincremental source/target Debug/Release builds with signed APKs. The stricter `--offline` mode constructs an allowlisted environment/private HOME and caches, denies networking/credential-service access, and omits the shared MSBuild socket exception. Native `uname` and .NET `FileInfo` failures were traced to missing exact hostname/group-lookup permissions; paired probes confirmed the corrections. Source nonincremental Debug and target restore/Debug builds passed. These are build controls, not additional runtime/model results. **Strict offline Release remains blocked**: the .NET 10 trimmer's out-of-process task host uses hardcoded `/tmp/MSBuild<PID>` IPC, producing `MSB4216`/`MSB4027` when shared socket access is denied. Trimming was not disabled and shared socket/credential access was not broadened to obtain a pass. Trusted `controls.py` and the original filesystem-only mode retain the full Debug/Release/runtime path. The strict offline launcher is experimental, not a ready untrusted-agent/provider executor; new scored trials remain blocked pending a verified execution boundary and separately authorized study budget. This remains a draft. Local results and older CI reports do not establish a green validation result for the newly pushed head. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — exploratory prototype; no issue is closed by this PR. Related: [dotnet/docs#56477](dotnet/docs#56477). This PR adds consumer migration guidance; it does not replace or complete the central breaking-change documentation work. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> Copilot-Session: e5f38f80-1192-48f7-916b-7705c4620031
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Replace direct `1ES.PublishNuget@1` publishing with `EsrpRelease@14` for workload packs, workload manifests, and non-workload NuGet releases. This moves the NuGet upload to ESRP Release rather than uploading directly from the release agent. - Reuse the shared internal .NET ESRP managed-identity configuration through `DotNetBuildESRP`. - Add configurable NuGet organization, service connection, release owners, and approvers. The organization defaults to `dotnetframework` and must own all selected packages and be onboarded for ESRP NuGet Trusted Publishing. - Stage only filtered `.nupkg` files for ESRP submission, leaving verification scripts and manifests out of the submission folder. - Preserve manual approvals, existing-package filtering, dry-run behavior, and pack publication/verification before manifest publication. Wait for ESRP release completion before verifying NuGet availability. - Log full proxy environment values, WinHTTP settings, and NuGet DNS resolution before publishing. The experimental proxy-variable clearing is not retained in the ESRP path. Validation: - `ruby -ryaml -e 'ARGV.each { |p| YAML.load_file(p); puts "Parsed #{p}" }' eng/pipelines/ci-official-release.yml eng/pipelines/common/non-workload-publish.yml eng/pipelines/common/esrp-nuget-publish.yml` — passed. - `git diff --check origin/main...HEAD` — passed. - Local execution of the staging script with temporary inputs confirmed that package bytes are preserved, helper files are excluded, and invalid owner/approver configuration and empty submissions fail. - ESRP inputs were checked against the installed version 14 task schema in internal Azure DevOps. - End-to-end publishing is **not yet verified**. Internal attempts stopped in owner/approver validation before the ESRP task ran. Service-connection authorization, NuGet Trusted Publishing onboarding, and a successful ESRP submission remain outstanding; no successful production publication is claimed. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No linked GitHub issue. Addresses release-agent NuGet publishing failures discussed during internal release investigation. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. -->
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Follow up on dotnet#40083 to allow members of the default ESRP approver list to queue releases without failing owner/approver overlap validation. - Add `maleib@microsoft.com` and `jopepper@microsoft.com` to the default approver list, preserving existing approvers. - Before submission, exclude all release owners and the person who queued the run from the approver list. The requester is excluded even when the owner parameter is overridden. - Log exclusions, deduplicate remaining approvers, and fail if no independent approver remains. - Pass normalized owners and the resolved approver list to `EsrpRelease@14`. Addresses the validation failure in [internal run 3130791](https://dev.azure.com/dnceng/internal/_build/results?buildId=3130791), where the requester was both the default owner and a configured approver. Validation: local execution of the YAML-embedded PowerShell confirmed case-insensitive requester/owner exclusion, requester exclusion with overridden owners, preservation of other approvers, normalized task inputs, and rejection when no independent approver remains. YAML parsing and `git diff --check` passed. No new release was triggered; end-to-end ESRP publication remains unverified. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No linked GitHub issue. Fixes ESRP owner/approver overlap during release submission and updates the default approver list. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…40087) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. This coordinated release-infrastructure change targets `main`, as explicitly requested. ### Description of Change <!-- Enter description of the fix in this section --> Separate automated release staging from the maintainer's eventual release cut. - After approved candidate integration, create a create-once `automation/release/<band>-srN` ref at the exact approved merge and retain its reproducible receipt. Do not create a real `release/*` ref. - Preserve the reviewed normalization PR. Its verified human merge unlocks the next candidate/inflight draft PRs, owned obsolete-preview cleanup and canonical state proposal without requiring a real release cut. - Publication inventories retained receipts even after `currentSr` advances. It explicitly waits for a manual `release/*` cut, verifies the source and staging identity, and retains exact internal-mirror/source checks and `pushPackages=false`. - For legacy version configuration, prepare the separate servicing PR only after the actual cut and require its exact reviewed two-parent merge before signing. Staging alone never authorizes stable outputs or signing. - Preserve historical real releases and unchanged receipts, distinguish `releaseStagingCreated` from `releaseCutCreated`, and update entrypoints, generated PR text, the isolated trial and release-workflow documentation. **Validation** | Exact command | Result | | --- | --- | | `pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1` | Passed: 150 existing assertions. No tests added or modified. | | `actionlint .github/workflows/release-tracking-prs.yml .github/workflows/release-publishing.yml .github/workflows/release-rollover-trial.yml` | Passed. | | `git diff --check HEAD^ HEAD` | Passed. | | `pwsh -NoProfile -File eng/scripts/Get-ReleaseRolloverPlan.ps1` | Passed: read-only rollover plan generated successfully. | | `gh run rerun 42688172398 -R dotnet/maui` | Passed: attempt 2 succeeded on the same final-script revision. | The [initial staging trial](https://github.com/dotnet/maui/actions/runs/42687338228) created staging at the approved merge, reported `releaseStagingCreated=true` and `releaseCutCreated=false`, verified the existing reviewed normalization and created sandbox tracking PRs dotnet#40085 and dotnet#40086. The [final-script retry](https://github.com/dotnet/maui/actions/runs/42688172398/attempts/2) succeeded with byte-identical complete sandbox ref snapshots, the same managed PRs reported `unchanged`, `next-lanes-ready`, `releaseStagingCreated=false` and `releaseCutCreated=false`. All six changed implementation scripts in this PR are byte-identical to that tested sandbox revision, `484188372e3b89538771e0d3893a81d11db10e0c`. **Limits and rollout** The sandbox already contained a historical dummy release: the missing-manual-cut wait was **not hosted-exercised**. The trial reused an existing normalization merge; it did not perform a new candidate or normalization merge. Production canonical-state PR creation, a new legacy servicing merge, internal mirroring, federation and signing/publication are not runtime-certified by this trial. Existing configuration tests do not establish hosted authorization or signing acceptance. Production refs, protections and credentials were unchanged. No production replay, cut or merge was performed. Deployment still requires normal human review and CI; actual release cuts and publication approvals remain maintainer-controlled. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A - explicitly approved release-workflow change; no linked issue. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…net#40094) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Target `main` for the release automation introduced in dotnet#40087. After an approved candidate merge, staging must not depend on a pre-existing real `release/<band>-srN` ref. In [run 42697753723](https://github.com/dotnet/maui/actions/runs/42697753723), the historical SR1 release did not contain the new approved merge, causing `Get-MauiReleaseCompletionPlan` to fail its real-release ancestry check before staging could begin. Stop fetching and passing the real-release commit into the staging completion call. Keep its SHA as informational output. Publishing still supplies the real release to the unchanged shared validator, so its approved-source ancestry requirement remains enforced. Exact create-once staging, reviewed normalization, durable receipts and next-lane checks are unchanged. Document this separation in the release workflow guide. Validation: - `pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/c53064c9-891e-4535-bbfb-4cf01d50dc37/files/configuration-validation` — passed all 150 existing assertions. - Read-only remote / local-object replay using actual receipt `999e8a87c763ed0524695d7c99d494faa64ff769`: reconstructed its plan and executed the baseline and changed staging completion calls extracted from their PowerShell ASTs. Baseline reproduced the `merge-base` failure against historical release `87182d7bcbbc9af30bc6dd81991aa6fd1ab3cd35`; the changed call accepted exact approved merge `0d1ea4928ba1471832d94481358cb012119fa111`, requiring normalization and creating no real release. The publishing call still rejected the unrelated release, and a mismatched staging source was still rejected. - `git diff --check` — passed. - No new pipeline/configuration tests added. Production refs were not changed. Hosted end-to-end staging has not been run with this change; the branch's publication workflow run was skipped. This is not a production-readiness certification. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — release workflow correction following dotnet#40087 and the failed post-merge staging run above. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. -->
…dotnet#40099) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). This is coordinated release-automation infrastructure work targeting trusted `main`, not a .NET 11 product fix. For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Correct the release handoff order: 1. Candidate integration creates `automation/release/<band>-srN` at the approved candidate merge. 2. Publication automatically opens a servicing/stable configuration PR **against that staging branch**, even when the real release is absent or an older mismatched real ref exists. 3. A maintainer reviews required CI and merges that PR using **Create a merge commit**. 4. The maintainer manually creates `release/<band>-srN` at that **exact reviewed servicing merge commit**. 5. Publication validates the receipt, reviewed merge, exact manual cut and matching internal mirror before signed-build dispatch. It does not open a second post-cut servicing PR. Preserve reproducible receipts, same-repository human approval, deterministic prepared heads, two ordered merge parents and exact-tree validation. Reject mutated staging, wrong cuts and unreviewed descendants. Automation never creates or moves real release refs, merges PRs or weakens protections. Keep reviewed `net11` normalization, next-lane preparation and canonical-state progression independent of servicing review and the real release cut. Update coupled workflow triggers, strict staging CI/reviewer routing, sandbox entrypoint, generated PR guidance and release/readiness documentation. Upload the prepared servicing object through an owned temporary ref before create-only servicing-head creation. **Validation** - `pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/configuration-final` — **150 assertions passed**. - `pwsh -NoProfile -File .github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1 -SkipE2E` — **2,358 passed, 0 failed**. - Session-only isolated runtime replays — **22 publishing/completion scenarios passed**, including upstream baseline, absent/old real refs, idempotent staging PR preparation, exact cut/mirror dispatch boundary, and refusal paths. Full next-lane/canonical-state replay also passed after reviewed staging advancement. Both replay scripts were rerun successfully after pushing this commit; transport used a local bare Git fixture, not production writes. - `actionlint .github/workflows/release-publishing.yml` — **passed**. Eight changed PowerShell files parsed; six YAML documents parsed; 39 embedded Bash scripts passed `bash -n`; `git diff --check` passed. - Existing `ReleaseNextLanes.Tests.ps1` Pester suite — **13 passed / 6 failed**, with the exact same six failures reproduced on unchanged upstream `ab8f7a92d3dd7fdb0e4f0319b58e7a30aad3bb75`. Five reference the already-removed `Sync-PostCutServicingPr`; one expects automatic real-release creation. No pipeline/workflow tests were added or edited. **Limits:** No production refs or existing PRs were mutated for validation. Hosted CI/signing, an actual GitHub servicing merge and an actual manual release cut were not exercised. This PR implements the handoff; local replay evidence is not deployed-production certification. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — user-directed correction to the release workflow order following dotnet#40087 and dotnet#40094. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. -->
…otnet#40107) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Make the latest eligible human candidate merge authoritative over stale release-cycle bookkeeping. This infrastructure follow-up to dotnet#40099 addresses the dotnet#40104 replay blocked by historical normalization dotnet#40095. Normalization, servicing and canonical-state PR heads are scoped to the full candidate merge SHA, so older closed/merged PR routes cannot veto the new source. Same-source legacy routes remain compatible; identical-content state proposals also require matching source provenance. New receipts retain reproducible predecessor receipts in their commit ancestry. Exact-SHA leases replace only verified older generated receipt/staging/next-lane outputs; same-source retries remain idempotent. Unrelated edits and concurrent newer sources are preserved, with explicit retryable failures. Publication rechecks the receipt and newer reachable human candidate merges before creating servicing PRs or dispatching signing/preparation. The corrected release order is unchanged: review and merge servicing against staging using **Create a merge commit**, then manually cut the real release at that exact reviewed merge. No real release refs are created or reset, no PRs are auto-merged, and human-review, exact-parent/tree, manual-cut and internal-mirror safeguards remain enforced. Actual Git/API errors are not ignored or converted into success. **Validation** - `pwsh -NoProfile -File /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/replay-source-generations.ps1 -RepositoryPath "$PWD"` — passed all 14 isolated scenarios before and after pushing. Uses production functions/coordinators, pinned dotnet#40104/dotnet#40095 evidence, and real session-local bare Git transport; remote GitHub/Azure writes are intercepted. Covers the upstream failure, actual current receipt recovery, absent receipt creation, stale reviewed staging/next-lane/state replacement, same-source retries, three generations of receipt ancestry, unrelated edits, a real rejected concurrent lease, explicit API/transport failures, staging-servicing handoff with an old or absent real release, mutated staging, nonhuman approval, wrong cut/mirror rejection, exact-cut progression, and newer-source fences. Twelve local Git writes; zero real GitHub writes or Azure dispatches in the replay. - `pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/generation-configuration-final` — 150 assertions passed. - `pwsh -NoProfile -File .github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1 -SkipE2E` — 2,358 passed, 0 failed on the pushed commit. - `Invoke-Pester -Path .github/scripts/ReleaseNextLanes.Tests.ps1,.github/scripts/ReleasePublishing.Tests.ps1 -Output Detailed -PassThru` — 13 passed, 12 failed. The same 12 named failures reproduce on unchanged main at `c7e8239c3c0e40b9f65ce0ea5cd4782b780119bc`; these fixtures predate the staging handoff/current entrypoint behavior. These suites are **not green**. No repository tests were added or edited. - PowerShell parser checks for all three modified source files and `git diff --check` — passed. **Limitations:** no production reconciliation, production ref/PR mutation, real signing or publication dispatch was used for validation. Exact-cut signing/preparation progression is verified only up to intercepted remote boundaries. Hosted PR CI is not yet verified. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — maintainer-directed release-infrastructure follow-up to dotnet#40099; reproduces the historical-route failure following candidate dotnet#40104 and normalization dotnet#40095. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. -->
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [ ] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> <!-- maui-release-state:production:11.0.1xx-sr2 --> Advance canonical **`eng/release-rollover.json`** from SR1 to SR2 after verified staging, reviewed normalization and next-lane preparation. Staged source: `01c74ef93c991830e310a77ec808b51b29bcac1f`. Next candidate: `candidate/11.0.1xx-sr2`. Next inflight: `inflight/11.0.1xx-sr3`. No real release branch or servicing review is required for this state update. Independently, the publication workflow opens a servicing PR against staging; after reviewing it and using Create a merge commit, a maintainer manually cuts the real release at that exact merge. Staging alone never authorizes signing. Only `currentSr` changes. `nightlyMode` remains **legacy**; SDK, package metadata, branch roles, release contents and access rules are unchanged. **Review and required CI are mandatory. Automation never updates the default branch, approves, retargets or merges this PR.** If nightlyMode is already versioned, advancing currentSr also selects the following inflight lane. Before merging, verify that exact lane has its protections, internal mirror, schedule, signed artifacts and existing feed/channel wiring deployed. The first legacy-to-versioned switch is a separate owner-reviewed state change after that deployment evidence exists; this PR does not guess or certify it. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A - staged release configuration. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…ean (dotnet#40113) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Use the maintainer-requested boolean fallback: `StabilizePackageVersion` defaults to literal `false` rather than a release-branch regex. The existing reviewed servicing configuration sets literal `true`. Branch-derived package labels remain independent, and explicit MSBuild overrides remain effective. The automatic regex did not eliminate the separate servicing review: dotnet#40110 still proposed replacing the expression with `true` before the manual release cut. This change removes that unnecessary stabilization expression instead of claiming branch-name inference can replace review. It does **not** remove the existing servicing PR/human-merge requirement or alter exact-cut, mirror, or signing guards. Update the release workflow documentation. Keep historical expression recognition in the shared helper so immutable old receipts and reviewed commits continue to reproduce; new source and generated configurations use boolean stabilization. **Validation** - `pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/boolean-configuration` — all 150 existing assertions passed; no repository tests added or edited. - `pwsh -NoProfile -File /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/validate-explicit-stabilization.ps1` — all 13 actual MSBuild evaluations passed before and after pushing. Evaluates the actual Versions.props on main/net11/candidate/inflight/staging/release refs, generated candidate/fixes/inflight/servicing configurations, and explicit true/false overrides. Release-ref naming alone remains non-stable; reviewed servicing yields release workload properties with no prerelease suffix. - `dotnet msbuild eng/Versions.props -nologo -p:BUILD_SOURCEBRANCH=refs/heads/release/11.0.1xx-sr1 -getProperty:PreReleaseVersionLabel,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix` — passed; label `servicing`, stabilization `false`, no final release kind, suffix `-servicing`. - `git diff --check` — passed. Hosted CI is pending. No production refs or existing servicing PRs were modified; no real signing or publication was dispatched. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — maintainer-directed simplification following dotnet#40107 and the redundant expression-to-true change in dotnet#40110. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
### Description of Change <!-- Enter description of the fix in this section --> Updates the bug report issue template following the .NET MAUI 11 GA release: - Adds `11.0.0` to both version dropdowns. - Replaces individual .NET 9 versions in “Version with bug” with `.NET 9 (Out of support, please specify exact version)`, matching .NET 8. - Consolidates .NET 9 versions in “Last version that worked well” into a single option requesting the exact version, matching .NET 6–8. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No linked issue; issue-template maintenance. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…pdate bug-report versions (dotnet#40154) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Description of Change ### 1. Scene lifecycle support - Enable UIKit scene lifecycle support in the Controls Sandbox and UI-test HostApp for iOS and Mac Catalyst. - This follows dotnet#38601, which updated application templates and framework lifecycle forwarding but did not migrate these existing apps. - Scene adoption is required when apps built with SDK 27 run on platform 27. **Changes:** - Add registered `SceneDelegate` subclasses deriving from `MauiUISceneDelegate`. - Configure `UIApplicationSceneManifest` using MAUI's default scene configuration and matching delegate registration. - Keep multiple-scene support disabled. - Update the iOS required device capability from `armv7` to `arm64`, matching the .NET 11 GA template. Deployment targets, SDK versions, package references, and existing application startup code remain unchanged. ##### Compatibility with existing UI-test environments - Apple apps are built with Xcode 27, while iOS UI-test execution defaults to Xcode 26.5 on Tahoe agents. The CoreCLR `latest` simulator lane currently selects iOS 18.5. - Scene lifecycle APIs are available on older supported runtimes. Existing execution environments are therefore expected to remain compatible, without changing deployment targets or CI toolchain settings. - The iOS `arm64` capability does not require iOS 27 or affect Mac Catalyst. It excludes only 32-bit-only iOS devices, which are already outside the supported OS range. - Compatibility remains subject to CI validation, particularly startup, window creation, lifecycle behavior, and screenshot baselines. - No passing CI result for these changes is claimed yet. ### 2. Bug-report template update - Add the published .NET MAUI 11.0.10 release to both version dropdowns: - Release Notes: https://github.com/dotnet/maui/releases/tag/11.0.10 Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. This is a shared build-infrastructure change against `main`. The same provisioning repair is needed on affected .NET 11 servicing branches through maintainer-managed ports. ### Description of Change <!-- Enter description of the fix in this section --> Add NuGet.org as an additional source **only in the workload dependency project and only for final runtime manifests**. Preserve all package versions, existing sources, and prerelease behavior. Document the source requirement in the canonical CI facts. `maui-pr` currently fails before compilation or tests because `Workloads.csproj` cannot restore version `11.0.100` of the Mono ToolChain and Emscripten Current/net10 manifests. This affects both Windows and macOS and also prevents UI/device-test provisioning. Examples: - [dotnet#40157, build 1675866](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1675866): all seven provisioning legs fail with `NU1102`. - [`main`, build 1675618](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1675618): identical missing-manifest errors. BAR records for the repository's exact pinned VMR commit, `a586537b3872e4e2f69c0b1ce7017a97bc3bcd55`, list NuGet.org as the stable manifest's package source. The package is [published there as 11.0.100](https://www.nuget.org/packages/Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest-11.0.100/11.0.100), whereas the configured Azure feeds do not currently serve that version. This PR repairs source selection, not the package pins; it does not substitute the older nearest RTM package or claim a particular feed-side deletion caused the outage. Searched open and recently merged PRs for the same manifest, NuGet.org source, and `NU1102` repair; no duplicate fix was found. The .NET 12 migration is a separate change and does not repair this .NET 11 provisioning path. #### Validation **Actual Azure validation:** [maui-pr build 1676092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1676092) tests merge SHA `8fbccc997cb7fb681eaad12a83d5be774a6fc315`, containing fix commit `65efc2a5c7af91fb491c4e6fc38f8b24dd47c325` against the previously failing `main` base. The committed canonical NuGet.org v3 source is now empirically confirmed on both Windows and macOS, with no local source override: | Provisioning leg | Raw-log evidence | Result | | --- | --- | --- | | macOS Build Debug / Release | Logs 170 / 169: workload restore in 1.24 / 1.30 seconds, then successful SDK and BuildTasks builds | Passed | | macOS Pack | Log 142: workload restore in 1.20 seconds and successful SDK provisioning | Passed | | Windows Helix Unit Tests Debug / Release | Logs 205 / 204: workload restore in 1.21 / 1.07 seconds, then successful SDK and BuildTasks builds | Passed | | Windows Build Release | Log 203: workload restore in 1.22 seconds, then successful SDK and BuildTasks builds | Passed | The full pipeline, remaining build legs, and tests are still running; this is confirmation of the original provisioning repair, not a claim that all CI is green. Local commands used isolated package and HTTP cache directories; `$EVIDENCE` below represents that local evidence directory. - Original tree: `dotnet restore src/DotNet/Dependencies/Workloads.csproj --packages "$EVIDENCE/restore-before-packages" --no-http-cache --verbosity minimal` — **failed as expected with NU1102 for the four exact 11.0.100 manifests**. - Source repair: `dotnet restore src/DotNet/Dependencies/Workloads.csproj --packages "$EVIDENCE/restore-fixed-packages" --no-http-cache --force -p:RestoreAdditionalProjectSources=https://www.nuget.org/api/v2/ --verbosity minimal` — **passed**, restoring all nine workload downloads. Inspected all four runtime packages and their `WorkloadManifest.json` files: each is exactly `11.0.100`. - `dotnet msbuild src/DotNet/Dependencies/Workloads.csproj -getProperty:_RuntimeManifestVersion,RestoreAdditionalProjectSources` — **passed**; the final-runtime path includes the committed NuGet.org v3 source. - `dotnet msbuild src/DotNet/Dependencies/Workloads.csproj -p:MicrosoftNETCoreAppRefPackageVersion=11.0.0-rc.2.26502.112 -getProperty:_RuntimeManifestVersion,RestoreAdditionalProjectSources` — **passed**; the prerelease path does not add NuGet.org. - XML parsing and `git diff --check` — **passed**. **Local limitation:** this machine cannot establish TLS to `api.nuget.org`, so the successful local clean restore used NuGet.org's official v2 transport override and the installed .NET 11 Preview 6 SDK. The Azure evidence above separately confirms the unmodified committed v3 source using CI's pinned SDK. No pipeline/configuration tests were added. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Repairs the shared CI provisioning failure observed on dotnet#40157 and other PRs. No product issue is closed. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
### 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>
This pull request updates the VisualStateManager UI test cases to improve test stability. The main change is that all calls to `VerifyScreenshot()` in VisualStateManager feature tests now include a `retryTimeout` parameter set to 2 seconds. This adjustment allows each screenshot step to wait up to 2 seconds for the UI to stabilize, reducing the chance of flaky test failures due to timing issues. **Test reliability improvements (all in `src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/`):** * All `VerifyScreenshot()` calls in VisualStateManager test cases for `ButtonFeatureTests.cs`, `CheckBoxFeatureTests.cs`, `CollectionViewFeatureTests.cs`, `EntryFeatureTests.cs`, and `LabelFeatureTests.cs` now pass `retryTimeout: TimeSpan.FromSeconds(2)` to allow for UI stabilization before taking screenshots. [[1]](diffhunk://#diff-1aa49a73d53eb7632bf0eda113fc50bbfe5b7f49b59f92bacc46cf078a906f70L25-R25) [[2]](diffhunk://#diff-634801edb0b6fe6002ca652cb1244dba75cb144849292a1476e7e5ba60639c32L25-R25) [[3]](diffhunk://#diff-2a785e7d3556c395bc05429829752affdd29bce2ec6265c6663157c5db027515L25-R25) [[4]](diffhunk://#diff-3000cd230410914f70d772f102ba9bc58138b7116e85935309917c9d82eeeb4aL25-R25) [[5]](diffhunk://#diff-0f1b8bce9306dc4aa65ccdf7f748b0df62bdd64e68b019cdc14da13d42a225e2L25-R25) and related references) **Affected test cases:** * Button, CheckBox, CollectionView, Entry, and Label VisualStateManager feature tests are all updated to use the new timeout parameter in their screenshot verification steps. [[1]](diffhunk://#diff-1aa49a73d53eb7632bf0eda113fc50bbfe5b7f49b59f92bacc46cf078a906f70L25-R25) [[2]](diffhunk://#diff-634801edb0b6fe6002ca652cb1244dba75cb144849292a1476e7e5ba60639c32L25-R25) [[3]](diffhunk://#diff-2a785e7d3556c395bc05429829752affdd29bce2ec6265c6663157c5db027515L25-R25) [[4]](diffhunk://#diff-3000cd230410914f70d772f102ba9bc58138b7116e85935309917c9d82eeeb4aL25-R25) [[5]](diffhunk://#diff-0f1b8bce9306dc4aa65ccdf7f748b0df62bdd64e68b019cdc14da13d42a225e2L25-R25) and related references) These changes should help reduce intermittent test failures related to UI rendering delays. Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
### 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>
…ages (dotnet#40195) <!-- Please let the below note in for people that find this PR --> [!NOTE] Are you waiting for the changes in this PR to be merged? It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change <!-- Enter description of the fix in this section --> Fix shared test-host synchronization in `HybridWebViewControlPage`, targeting `main` as test infrastructure. No production HybridWebView API or handler changes. The `image.html` gallery requests remote Picsum images. Its DOM and document title can already be ready while those requests keep `document.readyState` at `interactive`. Requiring `complete` makes the sample report a reload timeout despite having loaded the expected document. The failure was observed in [candidate UI build 1677338](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1677338): run `46750668`, result `100059`, has a native WebView titled **HybridWebView Image Page**, while `StatusLabel` reports a timeout waiting for that very title. The corresponding title-readiness tests also fail on iOS and MacCatalyst. The sample is byte-identical on `main`, `net11`, and the candidate; this is not a claim that dotnet#40116 introduced it. Accept a parsed DOM (`readyState != loading`) instead of waiting for unrelated image downloads. Preserve the existing reload-pending marker, exact expected-title comparison, polling budget, test assertions, and all visual baselines. The image page already initializes its interactive controls on `DOMContentLoaded`. **Validation** - Built and ran a native UIKit/WKWebView probe on an **iPhone 17e CoreSimulator, iOS 26.5**. It serves the repository's actual `image.html`, routing only its remote image URLs to controlled held responses. **Three runs passed all seven causal/safety cases**: original predicate rejects the loaded interactive document; completing the image requests makes the original predicate pass; the changed predicate passes with images still pending; reverting it fails again; restoring it passes; an old-document reload marker is rejected; a wrong document title is rejected. The modified C# string was checked against the exact native-tested expression. - `dotnet format Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs --exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet` - passed. - `git diff --check` - passed. - Full MAUI HostApp/Appium execution and native Android/Windows/Catalyst verification were **not run**. Native WebKit causal validation is not presented as an end-to-end Appium pass. No new pipeline tests, retries, timeout increases, skips, or snapshot updates. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Relates to dotnet#40116. Fixes the independently reproduced remote-image dependency in the shared HybridWebView feature-matrix readiness helper; does not close the release tracking PR or claim all its failures are fixed. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change Revert dotnet#39839 on `main` as requested. This restores the previous behavior: a `Style` cannot override the default `Shell.FlyoutBackgroundColor` binding until the candidate fix is forwarded to `main`. The identical implementation and regression tests are already on `candidate/11.0.1xx-sr2`, where they were included in dotnet#40170 (commit `706b461e9296fd30f7ff3c057dacf2025d60a698`). A separate candidate PR for the same patch would be empty, so this PR changes only `main`. ### Validation - Verified the commit is the exact inverse of `9291bfb20edde2cc822b8e2a110f63d2b3425e09`; both changed files match their pre-fix blobs. - `dotnet build Microsoft.Maui.BuildTasks.slnf -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:TreatWarningsAsErrors=false --verbosity quiet` — passed. - `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --no-restore -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:TreatWarningsAsErrors=false --filter 'FullyQualifiedName~AppThemeTests' --verbosity quiet` — passed: 15 tests before the revert and 13 after removal of the two reverted tests. - `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --no-build --no-restore -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:TreatWarningsAsErrors=false --filter 'FullyQualifiedName~ShellTests|FullyQualifiedName~StyleTests' --verbosity quiet` — passed: 147 tests. - With the two original regression tests temporarily retained against the reverted implementation, `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --no-restore -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:TreatWarningsAsErrors=false --filter 'FullyQualifiedName~StyleSetsShellFlyoutBackgroundColor|FullyQualifiedName~ShellFlyoutBackgroundColorFollowsTheThemeWithoutAStyle' --logger 'console;verbosity=normal'` — expected failure: the style test received white instead of red; the default-theme test passed. The temporarily retained tests were removed again before committing. - The combined selection `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --no-restore -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:TreatWarningsAsErrors=false --filter 'FullyQualifiedName~AppThemeTests|FullyQualifiedName~ShellTests|FullyQualifiedName~StyleTests' --verbosity quiet` failed `CorrectDefaultRadioButtonThemeColorsInLightAndDarkModes` (159 passed, 1 failed). The same failure occurred with the original patch restored on the unmodified `main` baseline (161 passed, 1 failed); the isolated selections above pass. - `dotnet format Microsoft.Maui.sln --no-restore --verify-no-changes --include src/Controls/src/Core/Shell/Shell.cs src/Controls/tests/Core.UnitTests/AppThemeTests.cs --exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet` — passed. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Related to dotnet#9736; this revert intentionally restores the issue on `main`. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…lds (dotnet#40216) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change The internal `dotnet-maui` pipeline (1095) selects Xcode 27.0 because the GoldenGate agents only have `Xcode_27.app` (27.0, 27A266a) — e.g. "Select Xcode Version" in [build 3131166](https://dev.azure.com/dnceng/internal/_build/results?buildId=3131166&view=logs&j=6c7e153f-5e0a-5163-9345-41ec5b092b65&t=9a1e7a3a-9e48-56cb-8649-744de01dc8b5) (Pack macOS). This ports only the Xcode-provisioning part of dotnet#40060 so internal builds use **Xcode 27.2**: - `eng/pipelines/common/provision.yml`: on the dnceng `internal` project, download the `xcode-apple-silicon` **27.2.0** Universal Package from `internal/macios-tools-internal` (the version dotnet/macios pins as `XCODE_PACKAGE_VERSION` in `Make.config` on `main` and `release/11.0.1xx`), install it, then select that exact `Xcode_27.2.0.app` and verify its build version. Public builds keep the existing `$(XCODE)` selection. - `eng/scripts/install-xcode-package.sh`: validates the package metadata, SHA-256 and Apple signature, expands the `.xip`, and sets `XCODE`/`XCODE_PACKAGE_BUILD` for later steps (simulator runtimes match 27.2). - `eng/pipelines/arcade/setup-test-env.yml`, `stage-integration-tests.yml`: jobs with an explicit `xcodeVersion` opt out of the package and verify their pinned version. - `docs/DevelopmentTips.md`: documents the behavior. Not included from dotnet#40060: .NET 12 SDK/dependency moves, `ValidateXcodeVersion`, `DOTNET_ROLL_FORWARD`, the JDK retry change. ### Validation - YAML parse of the changed templates: passed. - `bash -n` on `install-xcode-package.sh` and the rendered "Select Xcode Version" script: passed. - `install-xcode-package.sh` guards (missing manifest, mismatched package version): both fail with exit 1 as expected. - Internal pipeline 1095 on a mirror of this branch, [build 3135007](https://dev.azure.com/dnceng/internal/_build/results?buildId=3135007): `Install Xcode Universal Package` installed Xcode 27.2.0 (27B52); `Select Xcode Version` selected `/Applications/Xcode_27.2.0.app` (`Xcode 27.2`, `Build version 27B52`); **Pack macOS succeeded**. Pack Windows failed in `Provision SDK & Workloads` (NU1301, nuget.org proxy 403), which also fails on main baseline build 3134806 — unrelated. ### Issues Fixed Fixes # Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
what's new in 11
This pull request updates the following dependencies [marker]: <> (Begin:a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95) ## From https://github.com/dotnet/xharness - **Subscription**: [a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95](https://maestro.dot.net/subscriptions?search=a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95) - **Build**: [20261106.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=3128524) ([340267](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/340267)) - **Date Produced**: November 6, 2026 6:02:44 PM UTC - **Commit**: [a2e8b633aab2c49afb6aecbd48c9a817702ea9f2](dotnet/xharness@a2e8b63) - **Branch**: [main](https://github.com/dotnet/xharness/tree/main) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [11.0.0-prerelease.26064.3 to 11.0.0-prerelease.26556.1][1] - Microsoft.DotNet.XHarness.CLI - Microsoft.DotNet.XHarness.TestRunners.Common - Microsoft.DotNet.XHarness.TestRunners.Xunit [1]: dotnet/xharness@31e0b8e...a2e8b63 [DependencyUpdate]: <> (End) [marker]: <> (End:a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). Infrastructure: canonical release state (`eng/release-rollover.json`) and the selection scripts are read from public `main`. The pipeline/branding/signing parts must also be ported to `candidate/11.0.1xx-sr2` (and its internal mirror), because scheduled triggers and the selection stage run from the built branch's own YAML. ### Description of Change CSI reported 11.x inflight packages landing in the dotnet10 internal feed. Root cause is Maestro, not this repo: default channel `(6605) dotnet/maui @ inflight/current -> .NET 10.0.1xx SDK` (e.g. BAR 340892, 11.x build from `inflight/current`, published to `.NET 10.0.1xx SDK`). That requires a separate maestro-configuration change. This PR moves official nightly builds off inflight onto the current candidate, following the SR number automatically: - New `nightlyMode: candidate` in `Get-ReleaseRolloverPlan.ps1` → `nightlyBranch = candidate/<releaseBand>-sr<currentSr>`; checked-in state switched to `candidate` (now `candidate/11.0.1xx-sr2`; becomes `candidate/11.0.1xx-sr3` when `currentSr` advances). - `Get-InflightNightlyEligibility.ps1` accepts `candidate/<band>-srN` refs; non-selected inflight/candidate lanes skip packing. - `ci-official.yml`: schedule includes `candidate/*xx-sr*`; selection stage and Pack gating cover candidate refs. - Signing condition (`common/variables.yml`) and `ci.inflight` branding (`Versions.props`) cover `candidate/*xx-srN`, keeping the dogfood package stream contract. - Readiness nightly patch check: candidate mode expects SR `currentSr` patch decade. - Docs/skills updated; dependency-flow notes the needed default-channel mapping. Validation: - `pwsh .github/skills/release-readiness/tests/Test-ReleaseBranchRoles.ps1` → Passed: 112; Failed: 0 (new candidate-mode asserts included). - `Get-InflightNightlyEligibility.ps1` against current state: `candidate/11.0.1xx-sr2` → shouldBuild true; `candidate/11.0.1xx-sr1`, `inflight/current`, `inflight/11.0.1xx-sr3` → false; malformed ref rejected. - `dotnet msbuild eng/Versions.props -getProperty:PreReleaseVersionLabel -p:BUILD_SOURCEBRANCH=refs/heads/candidate/11.0.1xx-sr2` → `ci.inflight`. - YAML/JSON parse checks pass. Pipeline behavior must be confirmed on the internal official build. ### Issues Fixed Fixes # Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…0312) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. This is release infrastructure on `main`, following dotnet#40297. No servicing branches are modified by this PR. ### Description of Change <!-- Enter description of the fix in this section --> Remove the manual internal-mirror step when the nightly candidate changes or is rebased: - Add an independent nightly-mirror job to the existing **Prepare signed release publication** workflow. It runs hourly, after successful release tracking, and after canonical state/tooling changes on `main`. - Resolve the selected candidate from `eng/release-rollover.json`; mirror its pinned public SHA into the existing internal `dotnet-maui` repository. Future SR numbers need no workflow edits. - Reuse the existing in-process Azure federation. Only trusted `main` scripts execute with credentials; candidate content is fetched as Git data. No new PAT is introduced. - Use explicit ref leases and an internal `automation/nightly-mirror/candidate/*` ownership ref. New branches and fast-forwards can be adopted; rebases can replace only the last verified automated mirror. Unexpected internal work or ref races fail explicitly. - Keep the candidate's existing **05:00 UTC** official pipeline 1095 schedule, avoiding a second competing build trigger. Keep release publication independent of mirror-job success. - Preserve candidate `ci.inflight` policy in the shared release-version helpers while accepting the older inflight-only conditions. - Add isolated read-only PR syntax/planning validation; PR validation cannot obtain the production OIDC identity and uses a separate concurrency group. Validation performed: - `actionlint -oneline .github/workflows/release-publishing.yml` — passed. - `git diff --check` — passed. - PowerShell parser checks for both changed scripts — passed. - `pwsh -NoProfile -File eng/scripts/Sync-ReleasePublishing.ps1 -SyncNightlyMirror -PlanOnly -OutputDirectory <session-artifact-directory>` — passed; selected `candidate/11.0.1xx-sr2` at `56e48fb536eb6245e392f7182e39522692fb7619`. - Executed the new mirror function against the real internal repository using the existing Azure CLI login: verified that exact candidate SHA, created the ownership ref, and repeated successfully without changes. - Parsed real version metadata from the pre-change main, merged main and current candidate commits successfully, preserving compatibility with the older branding conditions. - Actual [read-only workflow CI](https://github.com/dotnet/maui/actions/runs/43965637182) — passed; `validate-nightly` succeeded, while credentialed `mirror-nightly` and release `prepare` were correctly skipped for the PR. - Existing script suite: [PR run](https://github.com/dotnet/maui/actions/runs/43965637106) and [manually dispatched exact-main baseline](https://github.com/dotnet/maui/actions/runs/43966407306) at `df3291c7610d36940be9c640a809824c3d95f842` each report 2,671 cases and the same 15 failures. Compared both complete NUnit failure inventories, including multiplicity: no added or removed failure identities. - [Docs spellcheck](https://github.com/dotnet/maui/actions/runs/43965637009) fails in four files unchanged from the exact main base; none of its reported words are in this PR's documentation changes. Deployment: the existing federated identity needs Git read/contribute/create-branch and force-push access for the internal candidate and its ownership ref. The local live check used the existing Azure CLI identity; it does not certify the federated identity's Git grants. Automatic production execution starts after this PR lands on `main`. The initial official candidate run is https://dev.azure.com/dnceng/internal/_build/results?buildId=3137915 ; its signed publication is tracked separately and is not claimed complete here. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — release engineering automation; follow-up to dotnet#40297. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…tnet#40320) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. This is the explicitly coordinated shared build-infrastructure repair against `main`. It is independent of dotnet#40312 and does not change any candidate, inflight, or other protected branch. ### Description of Change <!-- Enter description of the fix in this section --> Reuse the **exact runtime-manifest NuGet packages already restored by Pack macOS** in the dependent internal Pack Windows job: - Stage only `microsoft.net.workload.*.manifest-*` `.nupkg` files from the existing isolated `temp/workload` cache into the existing `MacNativeArtifacts` transfer. - Set `RuntimeManifestPackageSource` to that transferred local directory during internal Windows provisioning. `Workloads.csproj` uses this explicit source instead of requesting NuGet.org. - Retain the NuGet.org v3 default for public/local final-runtime restores and the existing configured feeds for prerelease restores. Existing additional sources are preserved. No network-isolation policy, SDK/runtime/package pin, signing, or publication setting changes. A missing local artifact fails explicitly rather than silently falling back to NuGet.org or substituting another package version. **Failure evidence:** official `dotnet-maui` [build 3137912](https://dev.azure.com/dnceng/internal/_build/results?buildId=3137912), at this PR's exact `main` base `df3291c7610d36940be9c640a809824c3d95f842`, fails in Windows **Provision SDK & Workloads**. Raw log 175 reports `NU1301` for `https://api.nuget.org/v3/index.json`, rejected by the CFSClean proxy with HTTP 403. The macOS pack passes. This PR addresses that restore failure, not the build's separate OneLocBuild failure. This complements dotnet#40159 rather than reverting its public-CI repair: removing NuGet.org without supplying the exact packages reproduces `NU1102` for all four final `11.0.100` runtime manifests. SDK-bundled manifests are not a safe replacement based on version labels alone: this exact main SDK bundles net10 manifests labeled `11.0.100` referencing `10.0.12`, whereas the requested NuGet packages reference `10.0.15`. The transfer preserves the actual requested package bytes. Searched upstream open and recently merged PRs for the manifest/bootstrap files and `NU1301`, including release/inflight-targeted changes. No duplicate package-transfer fix was found; dotnet#40060's next-major migration is a separate change. #### Validation Fix commit: `1370889ea4e9388c99ec82f2ede6291e232335d4`. **The original official Windows restore failure is empirically fixed.** [dotnet-maui build 3138084](https://dev.azure.com/dnceng/internal/_build/results?buildId=3138084) (`20261116.5`) runs this exact fix SHA on the isolated internal ref `validation/official-manifest-restore-1370889ea4`, with the normal official CFSClean policy unchanged. Raw logs retrieved with `az devops invoke` confirm the complete artifact producer/consumer path: | Official step | Raw evidence | Result | | --- | --- | --- | | Stage Runtime Manifest Packages | [Log 68](https://dev.azure.com/dnceng/internal/_apis/build/builds/3138084/logs/68?api-version=7.1) | Passed; copied exactly four unchanged `11.0.100` runtime `.nupkg` files. | | Windows Download Mac Native Binaries | [Log 134](https://dev.azure.com/dnceng/internal/_apis/build/builds/3138084/logs/134?api-version=7.1) | Passed; downloaded `MacNativeArtifacts` into `artifacts/bin`. | | Windows Provision SDK & Workloads | [Log 135](https://dev.azure.com/dnceng/internal/_apis/build/builds/3138084/logs/135?api-version=7.1) | Passed; `Workloads.csproj` restored in **825 ms**, then `Build succeeded`, **0 warnings / 0 errors** at `2026-11-17T01:01:36Z`. | **Public Windows provisioning is preserved.** Replacement [maui-pr build 1684648](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1684648), at PR merge SHA `2d5ee4ee327eb719af851be2309d55d68b7a938f`, replaces canceled build 1684642. All four Windows **Provision SDK & Build BuildTasks** tasks passed: raw logs [114](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1684648/logs/114?api-version=7.1), [115](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1684648/logs/115?api-version=7.1), [116](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1684648/logs/116?api-version=7.1), and [117](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1684648/logs/117?api-version=7.1). Log 114 restored `Workloads.csproj` in **980 ms**; each task's SDK and BuildTasks builds completed with **0 warnings / 0 errors**. The existing **Pester scripts check is red on both this head and its exact main base**. Compared the complete `pester-results.xml` artifacts from [PR run 43988419959](https://github.com/dotnet/maui/actions/runs/43988419959) (`1370889ea4e9388c99ec82f2ede6291e232335d4`) and [baseline run 43966407306](https://github.com/dotnet/maui/actions/runs/43966407306) (`df3291c7610d36940be9c640a809824c3d95f842`): both report **2,671 cases and the same 15 failing test identities**, with **zero new or removed failures**. This does not claim Pester is green. Both full Azure pipelines were still running when this evidence was recorded. No protected main/candidate ref was moved. This feature validation run is not evidence of candidate deployment, complete signing success, or customer publication. Local fixed-path checks used the repository's exact SDK payload, `11.0.100-rtm.26514.118` / SDK commit `a586537b38`, and fresh restore directories. `$EVIDENCE` denotes an isolated session evidence directory; the transferred package directory is `artifacts/bin/runtime-manifests`. ```sh # Baseline: failed as expected, NU1102 for the four final runtime manifests. dotnet restore src/DotNet/Dependencies/Workloads.csproj --configfile NuGet.config --no-http-cache --force -p:RestoreAdditionalProjectSources= -p:RestorePackagesPath="$EVIDENCE/baseline-approved-packages/" -p:BaseIntermediateOutputPath="$EVIDENCE/baseline-approved-obj/" --verbosity minimal # Fixed: passed, all nine exact package downloads, zero warnings/errors. DOTNET_ROOT="$PWD/.dotnet" RuntimeManifestPackageSource="$PWD/artifacts/bin/runtime-manifests" NUGET_HTTP_CACHE_PATH="$EVIDENCE/fixed-restore-http/" ./.dotnet/dotnet restore src/DotNet/Dependencies/Workloads.csproj --configfile NuGet.config --no-http-cache --force --packages "$EVIDENCE/fixed-restore-packages/" -p:BaseIntermediateOutputPath="$EVIDENCE/fixed-restore-obj/" --verbosity diagnostic # Real manifest-provisioning target: passed, including child restore and manifest copy. DOTNET_ROOT="$PWD/.dotnet" RuntimeManifestPackageSource="$PWD/artifacts/bin/runtime-manifests" NUGET_HTTP_CACHE_PATH="$EVIDENCE/provision-http/" ./.dotnet/dotnet msbuild src/DotNet/DotNet.csproj -t:_AcquireWorkloadManifests -p:InstallDotNet=false -p:InstallWorkloadPacks=false -p:Configuration=Release -nologo -verbosity:minimal # Available prerelease fixture: passed using configured feeds only, without an artifact override. DOTNET_ROOT="$PWD/.dotnet" NUGET_HTTP_CACHE_PATH="$EVIDENCE/prerelease-http/" ./.dotnet/dotnet restore src/DotNet/Dependencies/Workloads.csproj --configfile NuGet.config --no-http-cache --force --packages "$EVIDENCE/prerelease-packages/" -p:BaseIntermediateOutputPath="$EVIDENCE/prerelease-obj/" -p:MicrosoftNETCoreAppRefPackageVersion=11.0.0-rtm.26480.113 --verbosity minimal # Configuration syntax/whitespace: all passed. ruby -ryaml -e 'YAML.parse_file(ARGV[0]); puts "YAML syntax passed"' eng/pipelines/arcade/stage-pack.yml xmllint --noout src/DotNet/Dependencies/Workloads.csproj git diff --check ``` Inspected the successful restore graph: NuGet.org is absent. All four final runtime `.nupkg.metadata` files name the local artifact source, all four staged packages are byte-identical to their freshly restored originals, and the real provisioning target installs the unchanged current `11.0.0` and previous `10.0.15` pack references. The complete nine-package download requirement set is identical before and after the fix. A separate missing-directory restore fails as expected with explicit `NU1301`. MSBuild evaluation confirms unchanged stable/prerelease defaults and preservation of pre-existing additional sources. **Local transport limitation:** this Mac cannot establish TLS to NuGet.org v3. The local package-staging fixture was acquired using the already-documented NuGet.org v2 restore override; no alternate endpoint is committed or used for the Windows fix. The committed macOS/public default remains v3. Windows runtime/MSI/signing execution is unavailable locally; the official raw-log evidence above independently confirms the complete manifest artifact producer/consumer and Windows provisioning path. No pipeline/configuration tests were added. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Repairs the official Windows runtime-manifest restoration failure demonstrated above. No product issue is closed. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Enable the CA5394 analyzer ("Do not use insecure randomness") as an error for shipping code, so that a future use of `System.Random` there fails the build. Nothing guards against that today: CA5394 is off by default and isn't configured anywhere in the repo. The change is 11 lines in `.editorconfig`: - `dotnet_diagnostic.CA5394.severity = error`, next to the other analyzer rules. It is `error` instead of `warning` because the CI Build stage (`/p:TreatWarningsAsErrors=false`), the Helix unit test stage (`-warnAsError 0`) and the macOS pack (`-warnAsError false`) don't fail on warnings, so a warning would go unnoticed there. The neighbouring rules are `error` as well. - CA5394 is set to `none` for `src/**/{test,tests,samples}/**.cs` and `src/TestUtils/**.cs`, because tests, samples, benchmarks and the test infrastructure use `System.Random` to generate test data. This follows the existing `XamlTypeInfo.g.cs` override at the end of the file. The exemptions are path based instead of using the `SampleProject` and `MauiTestProject` properties that gate `eng/BannedApis.targets`, because those aren't set on many test projects (for example `Controls.Core.UnitTests`, `Controls.Xaml.UnitTests`, `Core.Benchmarks`, `Essentials.UnitTests` and `Graphics.Tests`). A new directory that isn't exempted is guarded by default. The analyzer already runs for every shipping project on all of its target frameworks, including netstandard2.0 and netstandard2.1, because `eng/BannedApis.targets` references the `Microsoft.CodeAnalysis.NetAnalyzers` package. CA5394 reports invocations of `System.Random` instance methods (`Next`, `NextDouble`, `NextBytes`, `Random.Shared.Next`, `Shuffle`, ...). It doesn't report `new Random()` on its own, method groups, other random number generators, or generated code (so not the C# in `.razor` files either). Without the exemptions CA5394 reports the invocations below, none of them in shipping code, and it would fail the builds that run with `TreatWarningsAsErrors=true`: the UI test host app, the device tests and the integration tests that build the samples. | Project | Diagnostics | |----------------------------|------------:| | Controls.Sample | 103 | | Controls.TestCases.HostApp | 69 | | Core.Benchmarks | 7 | | Controls.ManualTests | 7 | | Controls.Core.UnitTests | 2 | | Controls.DeviceTests | 2 | | Core.UnitTests | 2 | | Controls.Xaml.UnitTests | 1 | | Total | 193 | I measured these on net11.0. For main they are derived from the source, not measured: all 193 reported lines are still in the same files, unchanged, and the 60 test, sample and benchmark files that mention `Random` have no new line that mentions it. The only other use of `System.Random` outside tests and samples is `Weather.razor` in the `maui-blazor` and `maui-blazor-solution` templates, which calls `Random.Shared.Next`. These are `dotnet new` template sources that no project in this repository compiles, and CA5394 doesn't analyze Razor-generated code anyway, so it doesn't affect a build. ### Validation First on net11.0 (4b41c78), before rebasing onto main. macOS, .NET SDK 11.0.100-rtm.26514.118, Xcode 27.0. The iOS and MacCatalyst target frameworks were built; Android, Windows and Tizen were not. - `Microsoft.Maui-mac.slnf` with CA5394 as a `warning`, no exemptions, and a `new Random().Next()` injected into every compilation to prove the analyzer runs: it was reported in all 52 compilations of the shipping projects (16 projects, every target framework built). With the default `TreatWarningsAsErrors=true` the build failed with 186 CA5394 errors in 7 projects. - With this change, the same solution filter built with `-p:TreatWarningsAsErrors=false` succeeded without any CA5394 diagnostics, and with the default `TreatWarningsAsErrors=true` there were no CA5394 diagnostics either (on net11.0 that build still failed on 18 unrelated RS0030 errors from the `AddHandler` ban). - With this change, a `new Random().Next()` added to `src/Core/src`, `src/Essentials/src` or `src/SingleProject/Resizetizer/src` fails with `error CA5394` on every target framework (netstandard2.0, netstandard2.1, net11.0, iOS, MacCatalyst), also with `TreatWarningsAsErrors=false`. The same call in `src/Core/tests`, `src/Essentials/test`, `src/Graphics/tests`, `src/TestUtils/src` or `src/Controls/samples` isn't reported. Then on main (9f607de), after the rebase. Built with the repo-local .NET 11 SDK (main still pinned 10.0.113 then), and with the platform target frameworks excluded (`-p:Include{Ios,Android,MacCatalyst,Windows,Tizen,MacOS}TargetFrameworks=false -p:TreatWarningsAsErrors=false`): - `dotnet build src/Graphics/src/Graphics/Graphics.csproj` with a `new Random().Next()` added: `error CA5394` on net10.0, netstandard2.0 and netstandard2.1. - `dotnet build src/Graphics/tests/Graphics.Tests/Graphics.Tests.csproj` with the same call added: succeeded, no diagnostics. With the exemption for tests temporarily set to `error`, the call is reported, so the exemption is what silences it. After merging main again (8744f99) I didn't rebuild locally. I searched the merged tree instead: apart from the two `Weather.razor` files, no file outside the exempt paths mentions `Random`. Not run: the Android, Windows and Tizen target frameworks, the complete solution build on main and the pipelines. CI will cover those. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> None. This adds a guard; there is no bug report. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
…moryStream shims (dotnet#39516) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> `Microsoft.Maui.Resizetizer` ships the netstandard1.3 builds of `System.ObjectModel` 4.3.0 (assembly version 4.0.13.0) and `System.IO.UnmanagedMemoryStream` 4.3.0 (assembly version 4.0.2.0) in `buildTransitive/`. They were added with the original Resizetizer.NT (dotnet#13784) without a documented reason and have shipped ever since. Both are signed by Microsoft with SHA-1 (2016, certificate expired in 2017), and 4.3.0 is the last release of both packages, so there is no SHA-256 signed build to update to. They are the only SHA-1 signatures in the binaries MAUI ships (found while reviewing the signatures of everything we ship for .NET 11). Nothing needs them, so this PR stops shipping them: * **They were never referenced.** They came along because of the NuGet dependency lists of the packages Resizetizer used in 2021: SkiaSharp 2.80.2 and HarfBuzzSharp 2.6.1.7 listed `System.IO.UnmanagedMemoryStream` (netstandard1.3 group) and Svg.Custom 0.4.1 listed `System.ObjectModel` (netstandard2.0 and netcoreapp groups). The assemblies that were actually shipped and loaded (the net461/net462 and netstandard2.0 builds) never referenced either of them, and the current packages (Svg.* 5.2.3, SkiaSharp 4.150.1, HarfBuzzSharp 14.2.1.1) do not list them anymore. * **Nothing references them today.** No managed assembly in the package has an assembly reference, a type forward or a string reference to `System.ObjectModel` or `System.IO.UnmanagedMemoryStream`, and the task does not load assemblies by name. As nothing asks for them, no MSBuild host (the .NET SDK one, or the .NET Framework one in Visual Studio) will ever look for the files. * **Smaller restore graph.** Nothing else in the restore graph depends on the two packages, so removing them also drops 15 legacy netstandard1.x packages (`System.Runtime` 4.3.0, `System.IO` 4.3.0, `System.Threading` 4.3.0, ...) from the restore closure of `Resizetizer.csproj` (56 -> 39 packages). What the PR removes: the two `PackageReference`s and the two `_ResizetizerFiles` items in `ResizetizerPackages.projitems`, the now unused version properties in `eng/Versions.props`, the `PackageReference Update` entries in `eng/NuGetVersions.targets` and the `Skip` entries in `eng/automation/SignList.xml`. Who references the shipped `System.*` assemblies (assembly references of every managed assembly in `buildTransitive/`): | Shipped assembly | Referenced by | |----------------------------------------|----------------------------------------------------------------------------------------------------------------------| | System.ObjectModel | nobody (removed) | | System.IO.UnmanagedMemoryStream | nobody (removed) | | System.Memory | Microsoft.Maui.Resizetizer, Svg.Animation/Custom/Model/SceneGraph/Skia, SkiaSharp, HarfBuzzSharp, SkiaSharp.HarfBuzz | | System.Buffers | Svg.Custom, System.Memory, SkiaSharp, HarfBuzzSharp | | System.Numerics.Vectors | System.Memory | | System.Runtime.CompilerServices.Unsafe | System.Memory, SkiaSharp | #### Validation macOS arm64, .NET SDK 10.0.113 (the one `global.json` pins on main): * `.dotnet/dotnet pack src/SingleProject/Resizetizer/src/Resizetizer.csproj -c Release -o <dir>` before and after the change: the only difference between the two packages is that `buildTransitive/System.ObjectModel.dll` and `buildTransitive/System.IO.UnmanagedMemoryStream.dll` are gone. The 41 other files in `buildTransitive/` are byte-for-byte identical and the nuspec is unchanged. * Ran the packed `ResizetizeImages` task of each unpacked package with `.dotnet/dotnet msbuild` (a throwaway project with `UsingTask AssemblyFile=".../buildTransitive/Microsoft.Maui.Resizetizer.dll"`, so MSBuild's plugin load context resolves the dependencies from that folder) for android, ios, uwp, wpf and tizen with SVGs, a PNG and an app icon with a foreground: the generated files are identical with and without the two shims, and the set of assemblies loaded from the package folder is identical too. The shipped shims were never loaded when they were present (MSBuild uses `System.ObjectModel` from the shared framework). As a control, removing `ExCSS.dll` from the package makes the same run fail with a `FileNotFoundException`. * `DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 .dotnet/dotnet test src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Release`: `Passed! - Failed: 0, Passed: 593, Skipped: 2, Total: 595` (the 2 skipped tests are Windows only). Without `DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1`, 20 `SkiaSharpAppIconToolsTests` fail on a machine with a decimal comma locale, because the test builds the expected file name with the current culture (net11.0 already uses the invariant culture there). That is unrelated to this change. * The same change was also validated on net11.0 (Svg.* 5.1.1, .NET SDK 11.0.100) with the same results. It will reach net11.0 through the automated main -> net11.0 merge. #### Not changed * `System.Memory`, `System.Buffers`, `System.Numerics.Vectors` and `System.Runtime.CompilerServices.Unsafe` are SHA-256 signed and referenced by SkiaSharp, HarfBuzzSharp and Svg.*, so they stay. Whether the MSBuild that ships with Visual Studio already provides compatible copies depends on its version, so dropping them would need a Windows + Visual Studio test. * Visual Studio's .NET Framework MSBuild host could not be exercised (macOS only). Since nothing references the removed assemblies that is not expected to matter. * Three more files in `buildTransitive/` are not referenced by any other shipped assembly (`Fizzler.dll`, `Microsoft.Bcl.AsyncInterfaces.dll` and `SkiaSharp.HarfBuzz.dll`). They are not SHA-1 signed and are left alone here. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> None. Found while reviewing the code signatures of the binaries we ship for .NET 11. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
…anches as production (dotnet#40347) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). Release infrastructure: the scheduled **Prepare signed release publication** workflow always runs from `main`. For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change Both jobs of **Prepare signed release publication** (`release-publishing.yml`) fail every hour on `main`, e.g. [run 44173043719](https://github.com/dotnet/maui/actions/runs/44173043719). **`prepare` — `Release Git operation 'merge-base' failed`.** The SR1 receipt is still inventoried even though [11.0.10](https://github.com/dotnet/maui/releases/tag/11.0.10) was published on 2026-11-11 at the live `release/11.0.1xx-sr1` head (`5e4acac29f`). The reconciler had no terminal state, so it kept re-proving SR1's prepared commits against later history. Those ancestry checks no longer hold: - the release was cut without the receipt's candidate merge as an ancestor - `net11` has been force-pushed since `Sync-ReleasePublishing.ps1` now reports such a lane as `published` and skips it. A lane qualifies only when all of these hold: - servicing preparation for the **current receipt generation** is complete: `Get-PublishingReleaseSource` returns its approved, reviewed servicing merge, and staging matches that merge - the live release head has **exactly the same tree** as that reviewed servicing merge. Ancestry is not required: dotnet#40119 made SR1's head (`5e4acac29f`) tree-identical to the reviewed merge (`78d72f943e`) without descending from it - a stable, non-draft, non-prerelease GitHub Release for that SR exists - its tag (annotated tags peeled) points at the **exact live release head** - `eng/Versions.props` at that commit verifies against the tag via the existing `Get-MauiVerifiedPublishedVersion` The check runs after servicing preparation, so a superseding receipt generation still gets its servicing PR and an older tag can never mark it published. It runs before any signing, dispatch, Azure call or completion-plan ancestry re-verification. A tree mismatch returns before any GitHub Release lookup. A hotfix that moves the release head breaks the tag equality, so the lane falls back to the normal path. Sandbox runs are unaffected. **`mirror-nightly` — `TF400813 … is not authorized to access this resource`.** The federated identity from dotnet#40312 is not onboarded to the `dnceng` organization. The job is now opt-in through the `RELEASE_NIGHTLY_MIRROR_ENABLED` repository variable (unset, so it is off). The candidate instead reaches the internal `dotnet-maui` mirror through the dnceng `dotnet-mirroring` configuration as an optional fast-forward branch pattern. That configuration change is in dotnet-mirroring PR 68907 and needs dnceng approval. **Branch classification — `Branch 'candidate/11.0.1xx-sr2' is not classified as a production branch`.** Candidate nightlies now publish to the production `.NET 11.0.1xx SDK` channel (official build 20261117.6, BAR 341936, promoted to dotnet11), but `.azuredevops/policies/branchClassification.yml` did not list `candidate/*`, so Arcade's production-channel validation warned during that promotion. The warning is audit-only today; enforcement would block candidate publication. `candidate/*` is now in the production ruleset. Arcade matches `<prefix>/*` by prefix, so future candidate SRs are covered. The classification service reads this file from the internal mirror's `main`, so it applies once this merges and mirrors. **Docs.** `docs/ReleaseBranchWorkflow.md` and `.github/docs/trigger-azdo-pipeline-setup.md` now document: - who mirrors the candidate - the leased internal sync needed after any public rebase or force-push of a mirrored branch - the `published` state - the effect of force-pushing `net11` on unpublished lanes - the `dnceng` onboarding prerequisite and TF400813 - why `candidate/*` is classified as production No SDK, package, feed, channel or pipeline-trigger changes. Separately, `main` (11.x) builds still reach the dotnet10 feed through the Maestro default channel `dotnet/maui @ main → .NET 10.0.1xx SDK`. That mapping lives outside this repository; draft maestro-configuration PR 68926 removes it. #### Validation | Command | Result | | --- | --- | | `pwsh ./eng/scripts/Sync-ReleasePublishing.ps1 -PlanOnly -OutputDirectory <dir>` on `origin/main` (`99a7a0605f`) | ❌ exit 1, `Release Git operation 'merge-base' failed:` (reproduces the hourly failure); SR1 stuck at `waiting-for-manual-release-cut` | | Same command on this branch (`77ad1192e3`) | ✅ exit 0; `release/11.0.1xx-sr1` → `published`, tag `11.0.10`, live head `5e4acac29f253a7e969c2bf0f6479eb110783be2`; `sourceSha` and `stagingSha` are the reviewed servicing merge `78d72f943e` (same tree `5ca0fd0c97`); `publicPublicationApprovalRequired: false` | | The script's own `Get-PublishedReleaseLane`, extracted from its AST, with SR1's live head against source `78d72f943e`, then against the different-content candidate merge `01c74ef93c` (tree `12652ed7f6`) | ✅ `78d72f943e` → published; `01c74ef93c` → not published, with 0 GitHub API calls | | `pwsh ./eng/scripts/Sync-ReleasePublishing.ps1 -SyncNightlyMirror -PlanOnly -OutputDirectory <dir>` (the PR `validate-nightly` job), on `77ad1192e3` | ✅ exit 0; `planned`, `candidate/11.0.1xx-sr2` @ `888db82bd5` | | `[Management.Automation.Language.Parser]::ParseFile` on `Sync-ReleasePublishing.ps1` and `MauiReleaseConfiguration.psm1` | ✅ no errors | | `python3` `yaml.safe_load` on `.azuredevops/policies/branchClassification.yml` | ✅ parses; `production`: `main`, `release/*`, `internal/release/*`, `net11.0`, `net10.0`, `net9.0`, `inflight/current`, `candidate/*` | | `Invoke-Pester .github/scripts/ReleasePublishing.Tests.ps1` |⚠️ 6/6 fail **identically on `origin/main` and this branch** (same tests and messages); all 6 are among `main`'s pre-existing CI failures below (stale harness, not touched here) | | CI **Pester scripts** (`PowerShell Script Tests` run [44204374876](https://github.com/dotnet/maui/actions/runs/44204374876) at `77ad1192e3`): `pester-results` artifact compared with a `main` run's |⚠️ fails on both: 2671 cases, 15 failures, identical failing tests (0 new, 0 removed) | | `npx cspell@8 --config ./eng/automation/cspell/cSpell.json docs/ReleaseBranchWorkflow.md .github/docs/trigger-azdo-pipeline-setup.md --no-progress` | ✅ 0 issues in 2 files | | CI **Docs: Spellcheck** |⚠️ 13 unknown words, all in 4 docs this PR doesn't touch (`WebAuthenticator.md`, `WorkloadMsi.md`, `NuGetPackageSkills.md`, `Passkeys.md`) | | `actionlint .github/workflows/release-publishing.yml` | ✅ | | `git diff --check origin/main...HEAD` | ✅ | With only the SR1 receipt retained, the non-plan-only `prepare` now ends after the `published` lane without an Azure token. SR2's signed dispatch will still need the `dnceng` onboarding when its release is cut. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No tracking issue; fixes the hourly failures of the `Prepare signed release publication` workflow ([latest failing run](https://github.com/dotnet/maui/actions/runs/44173043719)). <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…lled runtimes (dotnet#40407) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change Fixes the "Install Simulator Runtimes" step in `eng/pipelines/common/provision.yml`, which fails on the updated `ACES_VM_SharedPool_GoldenGate` image (Xcode 27.0/27.1/27.2). **Problem** - `xcodebuild -downloadPlatform iOS -buildVersion 27.2` prints "iOS 27.2 (arm64Only) is already downloaded." and exits **70** when the runtime is installed. The step treated any non-zero exit as a wedged CoreSimulatorService, deleted **all** runtimes and downloaded again. - `-buildVersion 27.2` is ambiguous: it returns 24B114, 24B8117, 24B91014 or 24B91016s. 24B91014/24B91016s register as `com.apple.CoreSimulator.SimRuntime.iOS-27-2-iPhone19-4`. XHarness looks for exactly `iOS-27-2`, so RunOniOS fails either in the smoke test (`simctl create` → SimError 403 "Incompatible device") or at boot ("Simulator failed to fully boot… UDID:" empty). - On maui-pr (iOS 27.0) every job hits the same exit-70 path and re-downloads the 8 GB runtime needlessly; it recovers only because 27.0 has one build. **Fix** - New `required_runtime_create_usable` helper: requires the exact `iOS-MAJOR-MINOR` runtime to be available and `simctl create`-usable with an iPhone device type that runtime supports (prefers iPhone-11-Pro, which XHarness uses). - "is already downloaded." (or exit 0) + usable exact runtime → done; no deletion, no re-download. - Recovery/retry loop uses the same helper, so a device-specific build no longer ends the loop; it retries until the plain runtime is installed. - Final verification no longer counts device-specific runtimes via the platform+version fallback. **Evidence** - dotnet-maui-build 3139948 RunOniOS_MauiNativeAOT (log 1356): "already downloaded" → exit 70 → delete → 24B91014 ×3, 24B91016s → "Incompatible device" ×5 → step failed. - Same build: job with only 24B91014 passed install but failed tests (empty UDID); jobs with 24B114 / 24B8117 passed. - maui-pr 1687937: all 19 install steps printed "iOS 27.0 (arm64Only) is already downloaded.", exited 70 and re-downloaded 24A434. **Validation** - YAML parse and `bash -n` of the extracted step script: passed. - Helper against mocked `simctl` JSON: variant-only → fails (rc=1); generic + iPhone-11-Pro → picks iPhone-11-Pro; generic without iPhone-11-Pro → falls back to its supported iPhone. - Helper against real local simctl (Xcode 27.2): iOS 26.5 usable (iPhone-11-Pro), iOS 27.1 usable (iPhone-Duo, the only supported iPhone), iOS 27.2 not installed → rc=1; smoke devices cleaned up. - Final-verification jq: real 26.5 → 1; injected `iOS-27-2-iPhone19-4` only → 0. - Real CI run on GoldenGate pending (this PR's CI). ### Issues Fixed No issue filed; reported against the GoldenGate image rollout (dotnet-maui-build 3139948). ---------
|
Corrected the branch for SR2 and force-pushed The branch now contains only the original CollectionView fix and its tests on top of The intended target is |
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 40519Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40519" |
There was a problem hiding this comment.
🟡 Changes recommended
The diff introduces an out-of-scope CarouselView behavior change that suppresses intermediate Position/CurrentItem updates during animated non-looping scrolling, requiring separation from the grid-sizing fix or expanded documentation and validation scope.
1 open issue
What changed in this PR
This PR aims to restore horizontal grid CollectionView visibility in Auto rows on iOS and Mac Catalyst, extending the sizing work from #39778 and #40226 for #40466. The supplied changes also span platform handlers, Tizen cleanup, tests, templates, and release automation.
Changes:
- Adjust platform rendering, input, image handling, binding, and control lifecycle behavior.
- Remove Tizen-specific code and older Mac sample files; update templates and dependencies.
- Reorganize Shell UI tests into shards and update test infrastructure and release tooling.
| File | Description |
|---|---|
| src/TestUtils/src/VisualTestUtils.MagickNet/VisualTestUtils.MagickNet.csproj | Updates Magick.NET. |
| src/Templates/src/templates/maui-mobile/.template.config/template.json | Excludes behaviors without sample content. |
| src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json | Adds hidden legacy Empty option. |
| src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json | Adds hidden legacy Empty option. |
| src/Graphics/src/Graphics/Text/TextColors.cs | Corrects MediumPurple color value. |
| src/Graphics/src/Graphics/Matrix3x2Extensions.cs | Removes Tizen-specific conditional. |
| src/Graphics/src/Graphics.Skia/PublicAPI/net-tizen/PublicAPI.Unshipped.txt | Removes nullable marker. |
| src/Graphics/src/Graphics.Skia.GtkSharp/PublicAPI/netstandard/PublicAPI.Unshipped.txt | Removes nullable marker. |
| src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindowController.designer.cs | Removes Mac controller registration file. |
| src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindow.designer.cs | Removes Mac window registration file. |
| src/Graphics/samples/GraphicsTester.Skia.Mac/Main.cs | Removes Mac sample entry point. |
| src/Graphics/samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs | Removes Mac delegate designer file. |
| src/Graphics/samples/GraphicsTester.Portable/GraphicsTester.Portable.csproj | Updates Markdig. |
| src/Graphics/samples/GraphicsTester.Mac/MainWindow.designer.cs | Removes Mac window registrations. |
| src/Graphics/samples/GraphicsTester.Mac/Main.cs | Removes Mac sample entry point. |
| src/Graphics/samples/GraphicsTester.Mac/AppDelegate.designer.cs | Removes Mac delegate registration. |
| src/Essentials/test/DeviceTests/Platforms/iOS/SceneDelegate.cs | Adds device-test scene delegate. |
| src/Essentials/src/SemanticScreenReader/SemanticScreenReader.tizen.cs | Removes Tizen announcement implementation. |
| src/Essentials/samples/Samples/View/MapsPage.xaml | Updates country/region label. |
| src/Essentials/samples/Samples/Platforms/Tizen/Program.cs | Removes Tizen sample entry point. |
| src/Core/tests/DeviceTests/Stubs/HtmlWebViewSourceStub.cs | Passes HTML base URL. |
| src/Core/tests/DeviceTests/Services/ImageSource/BaseImageSourceServiceTests.Windows.cs | Flushes bitmap encoder before reading. |
| src/Core/tests/DeviceTests/Handlers/WebView/WebViewHandlerTests.cs | Extends navigation timeout. |
| src/Core/tests/DeviceTests.Shared/HandlerTests/HandlerTestBasementOfT.cs | Removes Tizen view alias. |
| src/Core/src/WindowOverlay/WindowOverlay.cs | Removes Tizen view alias. |
| src/Core/src/WindowExtensions.cs | Removes Tizen window alias. |
| src/Core/src/VisualDiagnostics/VisualDiagnosticsOverlay.cs | Retains tap subscription during deinitialization. |
| src/Core/src/SoftInputExtensions.cs | Removes Tizen-specific type handling. |
| src/Core/src/SemanticExtensions.cs | Removes Tizen view alias. |
| src/Core/src/Platform/Windows/TimePickerExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/TextBoxExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/Styles/WindowRootViewStyle.xaml | Uses TemplateBinding for title-bar margin. |
| src/Core/src/Platform/Windows/StrokeExtensions.cs | Invalidates clipping after stroke changes. |
| src/Core/src/Platform/Windows/StepperExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/SearchBarExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/RadioButtonExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/PickerExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Windows/MauiPageControl.cs | Resolves indicator index from position. |
| src/Core/src/Platform/Windows/DatePickerExtensions.cs | Starts background-image request tracking. |
| src/Core/src/Platform/Tizen/MauiTVFlyoutView.cs | Removes Tizen TV flyout implementation. |
| src/Core/src/Platform/Tizen/MauiShapeView.cs | Removes Tizen shape implementation. |
| src/Core/src/Platform/Tizen/MauiFlyoutView.cs | Removes Tizen flyout implementation. |
| src/Core/src/Platform/Tizen/GraphicsViewExtensions.cs | Removes Tizen drawable mapping. |
| src/Core/src/Platform/Tizen/FlowDirectionExtensions.cs | Removes Tizen flow-direction stub. |
| src/Core/src/Platform/Tizen/ElementExtensions.cs | Removes Tizen container conversion. |
| src/Core/src/Platform/Tizen/ActivityIndicatorExtensions.cs | Removes Tizen indicator mappings. |
| src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs | Clears keyboard-scroll handling flag. |
| src/Core/src/Platform/ImageSourcePartSetter.cs | Removes Tizen image alias. |
| src/Core/src/Platform/Android/WrapperView.cs | Schedules invalidation without managed Runnable. |
| src/Core/src/Platform/Android/MauiShapeView.cs | Uses context display density. |
| src/Core/src/Platform/Android/MauiPageControl.cs | Adds braces; no behavior change. |
| src/Core/src/MauiContextExtensions.cs | Removes Tizen application/window aliases. |
| src/Core/src/LifecycleEvents/Tizen/ITizenLifecycleBuilder.cs | Removes Tizen lifecycle interface. |
| src/Core/src/ImageSources/ImageSourceServiceResult.cs | Removes Tizen image-result alias. |
| src/Core/src/ImageSources/ImageSourceService.cs | Removes Tizen image-service method. |
| src/Core/src/ImageSources/IImageSourceService.cs | Removes Tizen image-service contract. |
| src/Core/src/HotReload/HotReloadHelper.cs | Allows unregistering when Hot Reload is disabled. |
| src/Core/src/Handlers/Window/IWindowHandler.cs | Removes Tizen window alias. |
| src/Core/src/Handlers/View/DataFlowDirection.cs | Removes Tizen view alias. |
| src/Core/src/Handlers/Slider/SliderHandler.Windows.cs | Invalidates thumb image on disconnect. |
| src/Core/src/Handlers/Page/PageHandler.cs | Removes Tizen background mapping condition. |
| src/Core/src/Handlers/MenuBar/MenuBarHandler.cs | Removes Tizen view alias. |
| src/Core/src/Handlers/Layout/LayoutHandler.cs | Removes Tizen layout alias. |
| src/Core/src/Handlers/IViewHandler.Tizen.cs | Removes Tizen platform-view contract. |
| src/Core/src/Handlers/IndicatorView/IndicatorViewHandler.Standard.cs | Adds layout-override mapper stub. |
| src/Core/src/Handlers/Image/IImageHandler.cs | Removes Tizen image-view alias. |
| src/Core/src/Handlers/GraphicsView/IGraphicsViewHandler.cs | Removes Tizen platform conditional. |
| src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.cs | Removes Tizen platform conditional. |
| src/Core/src/Handlers/FlyoutView/IFlyoutViewHandler.cs | Removes Tizen drawer alias. |
| src/Core/src/Handlers/ElementHandlerExtensions.cs | Removes Tizen view alias. |
| src/Core/src/Handlers/Editor/EditorHandler.iOS.cs | Uses measured height for growth comparison. |
| src/Core/src/Handlers/CheckBox/ICheckboxHandler.cs | Removes Tizen checkbox alias. |
| src/Core/src/Handlers/CheckBox/CheckBoxHandler.cs | Removes Tizen checkbox alias. |
| src/Core/src/Handlers/Button/IButtonHandler.cs | Removes Tizen button alias. |
| src/Core/src/Handlers/Button/ButtonHandler.cs | Removes Tizen button alias. |
| src/Core/src/Handlers/Border/IBorderHandler.cs | Removes Tizen container alias. |
| src/Core/src/Handlers/Application/ApplicationHandler.cs | Removes Tizen application alias. |
| src/Core/src/Core/IView.cs | Clarifies effective-visibility documentation. |
| src/Core/src/Core/Extensions/VisualTreeElementExtensions.cs | Removes Tizen visual-tree aliases. |
| src/Controls/tests/Xaml.UnitTests/ScopedExtensionPropertiesLeaked.rt.xaml | Adds extension-scope rejection fixture. |
| src/Controls/tests/Xaml.UnitTests/ScopedExtensionPropertiesErrors.rt.xaml | Adds ambiguous-extension fixture. |
| src/Controls/tests/Xaml.UnitTests/Issues/Maui29708External.rt.xaml | Adds external-type namespace fixture. |
| src/Controls/tests/Xaml.UnitTests/Issues/Maui29708.xaml | Adds implicit-namespace fixture. |
| src/Controls/tests/Xaml.UnitTests/Issues/Maui24667Rd2.rt.xaml | Adds based-on style resource fixture. |
| src/Controls/tests/Xaml.UnitTests/GlobalScopedExtensionProperties.rt.xaml | Adds global extension-property fixture. |
| src/Controls/tests/Xaml.UnitTests.ExternalAssembly/UsingExtensionContainers.cs | Adds external extension-property container. |
| src/Controls/tests/TestCases.Shared.Tests/UITestCategories.cs | Defines two Shell shard categories. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7339.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue12126.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue7453.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue7045.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue5161.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue38323.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37532.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37187.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36853.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36154.cs | Adds exact result-text assertion. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35764.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35471.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35416.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35390.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35088.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34975.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34931.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34898.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34318.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34143.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34073.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34038.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33909.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33769.cs | Adds Catalyst failure guard. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33703.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33688.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33547.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33420.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33356.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33227.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33191.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33158.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32993.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32867.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32526.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32329.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32219.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30771.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30728.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30254.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29798.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29493.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29492.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29428.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29297.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28722.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28634.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28485.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27846.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27822.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27800.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27670.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27542.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27337.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26864.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26598.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25913.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25671.cs | Raises arrange-pass threshold. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25134.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25115.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cs | Scrolls footer into view before tapping. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue23803.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22570.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22452.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22060.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue21119.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20696.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20250.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19783.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19496.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue18946.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue18193.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17521.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17414.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17057.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue15173.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue14801.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12500.cs | Assigns Shell shard 1. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10509.cs | Assigns Shell shard 2. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla34061.cs | Expands platform failure guards. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/EditorFeatureTests.cs | Waits for Options before interaction. |
| src/Controls/tests/TestCases.HostApp/Resources/Raw/issue30381.html | Adds local WebView destination page. |
| src/Controls/tests/TestCases.HostApp/Platforms/Tizen/Main.cs | Removes Tizen host entry point. |
| src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue6484.cs | Delays navigation after appearing. |
| src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue2266.cs | Applies container safe-area handling. |
| src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue12126.cs | Delays initial navigation sequence. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/SwipeView/SwipeViewOptionsPage.xaml.cs | Adjusts end-of-file formatting. |
| src/Controls/tests/ManualTests/README.md | Removes listed Tizen target. |
| src/Controls/tests/ManualTests/Platforms/Tizen/Main.cs | Removes Tizen manual-test entry point. |
| src/Controls/tests/DeviceTests/TestClasses/NestingView.cs | Removes Tizen view aliases. |
| src/Controls/tests/DeviceTests/TestCategory.cs | Adds Switch category. |
| src/Controls/tests/DeviceTests/Resources/Raw/HybridTestRoot/urlresolution.html | Returns response content type. |
| src/Controls/tests/Core.UnitTests/ToolbarDrawerToggleTests.cs | Renames test for external backend. |
| src/Controls/tests/Core.UnitTests/HostBuilderHandlerTests.cs | Registers handler through factory. |
| src/Controls/tests/Core.UnitTests/ControlsMapperTests.cs | Registers handler through factory. |
| src/Controls/src/Xaml/Hosting/AppHostBuilderExtensions.cs | Removes Tizen registration condition. |
| src/Controls/src/Core/Window/Window.Tizen.cs | Removes Tizen native-window accessor. |
| src/Controls/src/Core/VisualElement/VisualElement.Tizen.cs | Removes empty Tizen partial. |
| src/Controls/src/Core/VisualElement/VisualElement.Platform.cs | Removes Tizen view alias. |
| src/Controls/src/Core/TabbedPage/TabbedPage.Android.cs | Clears manager reference after disconnect. |
| src/Controls/src/Core/SwipeView/SwipeItem.cs | Removes Tizen-only documentation. |
| src/Controls/src/Core/Shapes/LineGeometry.cs | Uses MoveTo when appending path. |
| src/Controls/src/Core/SearchBar/SearchBar.Tizen.cs | Removes Tizen text mappings. |
| src/Controls/src/Core/Platform/Windows/TabbedPage/TabbedPageStyle.xaml | Binds tab automation properties. |
| src/Controls/src/Core/Platform/Windows/ImageConverter.cs | Accepts supplied MAUI context. |
| src/Controls/src/Core/Platform/Windows/IconConverter.cs | Handles null icon source. |
| src/Controls/src/Core/Platform/Windows/CollectionView/LoopableCollectionView.cs | Exposes underlying item count. |
| src/Controls/src/Core/Platform/Windows/CollectionView/ItemsViewStyles.xaml | Removes trailing blank line. |
| src/Controls/src/Core/Platform/Tizen/Extensions/FontExtensions.cs | Removes Tizen font conversion. |
| src/Controls/src/Core/Platform/PlatformEffect.cs | Removes Tizen view alias. |
| src/Controls/src/Core/Platform/PlatformConfigurationExtensions.cs | Removes Tizen configuration alias. |
| src/Controls/src/Core/Platform/Android/LongPressGestureHandler.cs | Exposes native clickability. |
| src/Controls/src/Core/Handlers/Shell/Tizen/INavigationContentView.cs | Removes Tizen navigation contract. |
| src/Controls/src/Core/Handlers/Shapes/BoxView/BoxViewHandler.Tizen.cs | Removes Tizen BoxView partial. |
| src/Controls/src/Core/Handlers/Items2/CarouselViewHandler2.iOS.cs | Prepares non-looping scroll requests. |
| src/Controls/src/Core/Handlers/Items/CollectionViewHandler.Windows.cs | Controls gesture bubbling by selection mode. |
| src/Controls/src/Core/Handlers/Items/CollectionViewHandler.Tizen.cs | Removes Tizen CollectionView partial. |
| src/Controls/src/Core/Handlers/Items/CarouselViewHandler.cs | Removes Tizen layout-mapper condition. |
| src/Controls/src/Core/Entry/Entry.Tizen.cs | Removes Tizen text mappings. |
| src/Controls/src/Core/Editor/Editor.Tizen.cs | Removes Tizen text mappings. |
| src/Controls/src/Core/DragAndDrop/DropCompletedEventArgs.cs | Removes private DropResult property. |
| src/Controls/src/Core/Compatibility/Handlers/ViewHandlerDelegator.cs | Removes Tizen compilation condition. |
| src/Controls/src/Core/Border/Border.cs | Creates default shape per instance. |
| src/Controls/src/Core/BindingBase.cs | Preserves DoNothing sentinel. |
| src/Controls/src/Core/BannedSymbols.txt | Adds regular-expression namespace ban. |
| src/Controls/src/Core/Application/Application.Tizen.cs | Removes empty Tizen partial. |
| src/Controls/src/Core/Application/Application.cs | Uses parent-resource change notification. |
| src/Controls/samples/Controls.Sample/Platforms/Tizen/Main.cs | Removes Tizen sample entry point. |
| src/Controls/samples/Controls.Sample.Sandbox/Platforms/MacCatalyst/SceneDelegate.cs | Adds Catalyst scene delegate. |
| src/Controls/samples/Controls.Sample.Sandbox/Platforms/iOS/SceneDelegate.cs | Adds iOS scene delegate. |
| src/Controls/Foldable/test/DualScreenInfoCurrentCollection.cs | Defines nonparallel singleton-test collection. |
| src/Controls/Foldable/src/HostBuilderExtensions.cs | Excludes fallback for iOS Duo bindings. |
| src/BlazorWebView/src/Wpf/Properties/AssemblyInfo.cs | Grants internals access to Windows tests. |
| src/BlazorWebView/src/WindowsForms/Properties/AssemblyInfo.cs | Grants internals access to Windows tests. |
| src/BlazorWebView/src/SharedSource/BlazorWebViewInitializingEventArgs.cs | Removes Tizen WebView alias. |
| github-merge-flow-release-11.jsonc | Removes old release merge configuration. |
| github-merge-flow-net11.jsonc | Removes old net11 merge configuration. |
| eng/Versions.targets | Removes scheduled-build label override. |
| eng/release-rollover.json | Defines servicing rollover configuration. |
| eng/pipelines/common/setup-android-dependencies.yml | Increases dependency-install retries. |
| eng/pipelines/arcade/stage-api-scan.yml | Marks analysis job nonproduction. |
| eng/automation/SignList.xml | Removes two signing exclusions. |
| docs/design/APIChangeTracking.md | Removes Tizen API-directory documentation. |
| .github/workflows/review-trigger-recovery.yml | Clarifies supported commands in comment. |
| .github/workflows/bump-global-json.yml | Refreshes package index before installation. |
| .github/skills/review-test-failures/tests/eval.vally.yaml | Updates evaluation and judge models. |
| .github/scripts/Review-Tests.ps1 | Updates review model. |
| .github/scripts/Query-CiFixPRs.ps1 | Includes base branch in JSON output. |
| .github/instructions/workload-msi.instructions.md | Removes pipeline reference from documentation. |
| .azuredevops/policies/branchClassification.yml | Classifies candidate branches as production. |
Review effort: Balanced
| @@ -89,6 +89,7 @@ protected override void ScrollToRequested(object sender, ScrollToRequestEventArg | |||
| } | |||
| else | |||
| { | |||
| carouselViewController2.PrepareScrollTo(args); | |||
|
/review expert-review |
…eight (#40572) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- Open .NET 11 fix PRs against net11 for review; target main for next-major features. After approval, a maintainer manually retargets the fix PR to the active inflight branch and merges it directly there. Do not merge individual fixes into net11. Bots must not retarget or merge. Candidate integration into net11 and release/* changes are separate, explicitly coordinated release work. --> ### Target Branch | This PR is for | Initial base | | --- | --- | | New features, API changes, or .NET 12 work (including .NET 12 fixes) | `main` | | .NET 11 servicing fixes | `net11`, for review | | Older servicing, release integration, infrastructure, or documentation | The branch designated for that work | - [x] I selected the applicable base branch using the [contribution guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting). For .NET 11 fixes, only a maintainer retargets the approved PR to the active inflight lane and merges it after CI validates that final base. Do not merge individual fixes directly into `net11`; agents must not retarget or merge. ### Description of Change Separate SR2 PR explicitly requested by @kubaflo for the CollectionView fix from #40519. Targets `candidate/11.0.1xx-sr2`; no RC2 prerequisite adaptations or unrelated inherited history are included. Original fix authored by @devanathan-vaithiyanathan. Extend the existing unbounded horizontal CollectionView intrinsic-height fallback from linear layouts to grid layouts. Measure the first available item, skipping empty leading groups, and calculate grid height using its row span and vertical spacing. Preserve finite-height behavior and the existing linear fallback. Includes grouped, templated/default-cell, span/spacing, four-row Auto-layout and empty-group regression cases. One commit, two changed files. Whitespace/format checks passed. Native iOS/MacCatalyst compilation and runtime tests were not completed: the local SDK lacks the Apple workloads. Native validation remains pending CI. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #40466 Relates to #40519, #40226 and #39778. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
Pull request was closed
|
Confirmed: the oversized diff came from this PR targeting the old |

Target Branch
mainnet11, for reviewFor .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into
net11; agents must not retarget or merge.Issue Details:
CollectionView with 4 rows appears blank on iOS and Mac Catalyst in the ManualTests app.
Root Cause:
PR #39778 fixed a horizontal CollectionView sizing issue by avoiding an incorrect layout measurement when the height constraint is unbounded. However, its fallback returns zero height, which causes problems for horizontal Grid layouts inside an Auto row.
PR #40226 fixed the same issue for horizontal Linear layouts by measuring the first item's height instead of returning zero. However, this fix was limited to Linear layouts and did not cover Grid layouts.
Description of Changes:
In ItemsViewHandler2.iOS.cs, the existing fallback now applies to unbounded horizontal CollectionViews using either a linear or grid layout. It measures the first available item, skipping empty leading groups; for a grid, it derives a total height from the measured item height, row span, and vertical spacing. The existing linear-layout fix remains in place. The change does not alter finite-height measurements or CarouselView.
Issues Fixed
Fixes #40466
Tested the behavior in the following platforms.