Repository navigation
[ci] Bring main's CI, agentic, release tooling and Helix/XHarness → dotnet test migration to net11 - #40763
Merged
Conversation
<!-- 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 --> Release-tracking infrastructure fix. It targets `main` because `release-tracking-prs.yml` runs the default-branch scripts. **Problem.** SR2 normalization PR #40563 was squash-merged (`c64da33`). The tree landed, but the pinned prepared commit `084e9e5` is not an ancestor of `net11`, and release tracking run [45391007779](https://github.com/dotnet/maui/actions/runs/45391007779) failed with a bare `Release Git operation 'merge-base' failed:`. Because the bare `merge-base` check in `Get-MauiReleaseCompletionPlan` ran first, the script's own "requires Create a merge commit" guard never ran. The receipt also could not be resumed: a recreated PR from the same head would leave two merged matches, which the script refuses. **Fix** - `Get-MauiReleaseCompletionPlan` allows `net11` to have advanced from the approved candidate merge while normalization is pending. It still refuses history that no longer descends from that merge, and reports `normalizationIntegrated`. The new `Test-MauiReleaseAncestor` helper distinguishes "not an ancestor" from Git errors. - `Sync-StagedReleasePr` (normalization only) ignores squash or rebase merges with a warning, and reopens a replacement PR from the same pinned head and marker; its body names the replaced PR. Exactly one real two-parent merge resumes the receipt. Closed-unmerged PRs are still refused. - The final ancestry check now fails with an actionable message. - Updated `docs/ReleaseBranchWorkflow.md` and `.github/docs/maui-ci-facts.md`. **Validation** - Existing suites `pwsh` → `Invoke-Pester .github/scripts/ReleaseNextLanes.Tests.ps1, ReleasePublishing.Tests.ps1, Sync-ServicingForwardPullRequest.Tests.ps1`: 25 passed, 12 failed. The 12 failures are identical on unmodified `main` (stale tests, e.g. missing `Sync-PostCutServicingPr`). `eng/scripts/MauiReleaseConfiguration.Tests.ps1` fails identically on `main` ("Wrong evaluated label on candidate/11.0.1xx-sr1"). - I simulated the change against the real SR2 commits (`cb744cb` merge, `084e9e5` prepared, `c64da33` squash) and the real #40563 API payload: - Squashed `net11`: no throw; a replacement PR is created with the same head and marker. - Replacement open: `awaiting-approval`. - Replacement merged with a two-parent merge: `merged`, and the ancestry check passes. - Closed-unmerged PR: still refused. - `net11` at an unrelated commit (inflight SR3): still refused. **Recovery for SR2:** replacement normalization PR #40565 (same pinned head `084e9e5`) must be merged with **Create a merge commit**. Once both PRs are merged, release tracking creates `candidate/11.0.1xx-sr3`, `inflight/11.0.1xx-sr4` and the state PR. ### 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 automation failure in run 45391007779. <!-- 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 <kubaflo123@gmail.com> (cherry picked from commit 59d49f9)
<!-- 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-sr3 --> Advance canonical **`eng/release-rollover.json`** from SR2 to SR3 after verified staging, reviewed normalization and next-lane preparation. Staged source: `cb744cbefe0ca371b6331e5afb711bd03ce1c37d`. Next candidate: `candidate/11.0.1xx-sr3`. Next inflight: `inflight/11.0.1xx-sr4`. 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 **candidate**; 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 candidate, advancing currentSr also moves nightly builds to the new candidate lane; if versioned, to 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 <kubaflo123@gmail.com> (cherry picked from commit 86d0e31)
… as the second model (#40545) ### What Three PR-comment commands that run only the tests a PR can break: | Command | Pipeline | Runs | |---|---|---| | `/review run-tests` | both | UI and device tests together, reported in one comment with a section per suite | | `/review run-ui-tests` | maui-pr-uitests | AI-selected UI test categories and platforms | | `/review run-device-tests` | maui-pr-devicetests | AI-selected device test units (`Controls.<Category>`, `Core.<Category>`, `Graphics`, `Essentials`, `BlazorWebView`) and platforms, CoreCLR only | For `/review run-tests`, each model makes both selections in one pass (UI in `platforms`/`categories`/`full_run`, device in `device_*`). Both pipelines are dispatched, and the combined comment shows one section per suite; each section follows its own build. The results sweep updates sections independently, and a new `/review run-tests` comment minimizes earlier run-tests comments of either suite. Both commands use the same flow, comment and checks as today: two models select on their own, and the union of their selections runs. The models are now: 1. **GPT-6.2 Sol** (unchanged) 2. **MAI Code 2**, replacing Claude Opus 5.5 (`copilot-review-run-tests-opus` → `copilot-review-run-tests-mai`). The model policy test therefore no longer needs its Anthropic exception. ### Device tests - `eng/helix_xharness.proj`: a new `ApplyRunDeviceTestsSelection` target, active only when `RunDeviceTestsProjects` is set. - It drops the work items of unselected projects. - It passes `TestFilter=SkipCategories=...` to the test apps. On Android this goes through `--arg`; on iOS and Mac Catalyst through `--set-env`. - On iOS, it replaces the split Controls work items with one filtered item. - `eng/devices/run-windows-devicetests.cmd`: the category argument can be a `+`-separated list. - `ci-device-tests.yml` / `stage-device-tests.yml`: - `run-devicetests/*` dispatch branches carry the request (`run-devicetests-request.yml`); - a selected run builds only the selected platforms and skips the Mono stages. - The scripts get a suite profile (`Set-RunTestsSuite ui|device`) covering: - the command; - the pipeline and its definition id; - comment markers; - the dispatch branch prefix; - trusted overlay paths. The results sweep handles both kinds of comment. ### Also - `review-trigger.yml` and `ReviewCommandHelpers.ps1` now skip the new commands, so they no longer also start a full review. - When a PR has merge conflicts, the comment now says so plainly instead of "GitHub has no test-merge commit". ### Testing - Pester: `RunTests.Tests.ps1`, `CopilotPipeline.Tests.ps1` and `Recover-MissedReviewCommands.Tests.ps1`, 125 tests, all passing. - Trial device run for #40509, selecting `Controls.Label` + `Core.Label` on 4 platforms ([build 1695767](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1695767)): - only CoreCLR and Windows stages ran; - Helix received only the 2 selected work items per platform. - Android and Mac Catalyst then hit the 60-minute job timeout waiting on congested Helix queues. Regular runs hit the same timeout that day, for example [build 1695535](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1695535). - iOS passed, filtered: Controls 56 tests, Core 128 tests. - Windows ran `Core.DeviceTests` unfiltered (2193 tests). Fixed: `RunDeviceTestsCoreRun` now passes the category list to Core on Windows too, and `run-windows-devicetests.cmd` uses category runs whenever a filter is given. - Windows re-run after the fix ([build 1696018](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1696018)) passed. All 4 work items ran only `Label`: Core 75 tests, Controls 44 tests, packaged and unpackaged. - `/review run-tests` on the 20 latest PRs: - 8 dispatched; - 9 refused for real merge conflicts; - 1 had nothing to run; - 1 was refused because the PR was updated during selection; - 1 was refused because the PR was closed. - Local model check: GPT-6.2 Sol and MAI Code 2 each selected for #40509 (Label change) and #40530 (CollectionView layout change), for both suites, using the shared instructions. Then `Invoke-RunTests.ps1 -DryRun` validated and merged their picks: - #40509 UI: `Label`, `Gestures`, `Material3`. - #40509 device: `Controls.Label`, `Core.Label`, `Controls.Gesture`. - #40530: both models asked for a full run. - The gh-aw workflows only run from the default branch, so the live `/review run-ui-tests` / `/review run-device-tests` flow can be checked only after merge. --------- Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit fca8a4f)
…40582) <!-- 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). ### Description of Change Merging #40577 (a manual forward PR whose head was `net11` itself) caused `delete_branch_on_merge` to delete `net11` and auto-close 29 PRs targeting it. `net11` was not covered by the existing `MAUI protection` ruleset (which matches only `net1*.0`). Remediation already applied to the repository: - `net11` restored at `3fe3f711a3` (its tip before deletion) and all 29 auto-closed PRs reopened. - New ruleset **MAUI long-lived branch deletion guard** (deletion rule only, no bypass) for `net11`, `net12`, `inflight/*`, `candidate/*`. Verified: deleting a matching probe branch returns HTTP 422 "Cannot delete this branch". This PR documents in `docs/ReleaseBranchWorkflow.md` that manual forward PRs must use a separate `forward/*` head and that the ruleset must stay in sync with `eng/release-rollover.json`. Validation: documentation-only; no tests run. ### Issues Fixed N/A Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit aaf470e)
… 2 (#40591) ### What Follow-up to #40545. **Comment layout.** The `/review run-tests` comment now uses the same layout as the other `/review` reports, such as the PR Test Gate: - one `## Selected Tests` title, a requester line and one badge row (Result, Platforms, Tests, Commit); - one collapsed **Test selection** section, containing: - an overview table with one row per suite: result, what was selected, and a link to its build; - a collapsible block per suite: status, what runs on each platform, and results; - one **Skipped** and one **Why these tests** block. Each suite block keeps its own build markers, so `Update-RunTestsResults.ps1` still refreshes each build on its own. Afterwards, `Update-RunTestsCombinedOverview` recomputes the Result badge and the overview table from the suites. The badge shows the most important result: failed, then not queued, then running, then passed. **MAI Code 2 fix.** After #40545 merged, every MAI Code 2 run failed with HTTP 400, so all 20 test comments used GPT-6.2 Sol's selection alone. - The proxy logs show the requests went to `/chat/completions`. The sandbox's model catalog doesn't list `mai-code-2`, so the CLI falls back to that endpoint. - The fix is `COPILOT_PROVIDER_WIRE_API: responses`, the same setting the GPT-6.2 Sol workflow already uses. **Cleanup.** This removes `Get-RunTestsContext.trial.ps1`, a local test file that was committed by mistake in #40545. ### Testing - Pester: `RunTests.Tests.ps1`, `CopilotPipeline.Tests.ps1` and `Recover-MissedReviewCommands.Tests.ps1`, 132 tests, all passing. The new tests cover: - the one-header layout; - updating one suite, then the badge and overview; - which result the badge shows; - MAI Code 2 using the Responses API. - An end-to-end `Invoke-RunTests.ps1 -DryRun` on #40530 with two proposals. - Rendered through GitHub's markdown API to check the layout. That check caught two problems, both fixed: - HTML entities don't work in shields.io badge text; - GitHub doesn't render backticks inside `<summary>`, so those now use `<code>` tags. - The MAI Code 2 fix can only be checked live, after merge. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit 80661ed)
…#40592) Follow-up to #40591. When the results updater refreshed a `/review run-tests` comment posted before #40591, `Update-RunTestsCombinedOverview` found no overview table and no section results. It then reset every per-section Result badge to RUNNING. For example, #40568 shows RUNNING for both suites although both builds finished. The fix: comments without an overview table are now left alone; their sections still update as before. ### Testing - Pester `RunTests.Tests.ps1`: 75 tests, all passing, including a new test for an older-layout comment. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit e12ebf7)
…PR (#40612) ### Description of Change `/review run-tests` builds run on a `run-tests/*` dispatch commit, so Azure Pipelines reports their jobs on that commit and the PR's checks panel only shows the `maui-pr-uitests (selected run)` / `maui-pr-devicetests (selected run)` summary checks. `Update-RunTestsResults.ps1` now mirrors every job of the selected build as its own check on the PR head, e.g. - `maui-pr-uitests (Android UITests CoreClr Controls (API 30) Shell1)` ✅ - `maui-pr-devicetests (net11.0 CoreCLR ios/catalyst/android Helix Tests Build Device Tests (CoreCLR))` ❌ Each check links to the job's log and follows it (queued → in progress → success / failure / cancelled) on every results sweep. Checks are tagged `external_id: job:<build id>`; when a later `/review` run on the same commit builds something else, the previous build's job checks that are no longer part of it are marked neutral ("Superseded"). ### Testing - New Pester test for `New-RunTestsJobChecks`; `RunTests.Tests.ps1` passes (76). - Generated the checks from the live build 1698101 (#40550) — the 8 Android UITests jobs with their results. - Creating check runs needs the GitHub App token, so the end-to-end check happens in the workflow after merge. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit ce011bc)
<!-- 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). Selected initial base: `main` (review workflow infrastructure). 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 Remove the standalone `/review gate` lane, including trigger and recovery dispatch, the `GateOnly` script/pipeline mode, and dedicated gate pipeline templates and publisher. Remove the `expert-review-with-gate` alias as it dispatched the same lane. The test-verification phase inside the full `/review` workflow remains; `/review tests` is untouched for its separate follow-up PR. Validation: - `pwsh -NoProfile -Command "Invoke-Pester -Path @('.github/scripts/Recover-MissedReviewCommands.Tests.ps1','.github/scripts/ReviewTrigger.Tests.ps1','.github/scripts/Review-PR.Tests.ps1') -CI"` — 171 passed, 0 failed. - Changed workflow and pipeline YAML parse — passed. - `gh aw compile copilot-review-expert --strict` — 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. --> N/A — workflow cleanup; 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> (cherry picked from commit df837a2)
### What `/review expert-review` and the other `/review` commands are hidden as resolved after they are acknowledged. `review-trigger.yml` does that, but it skips `/review run-tests`, `run-ui-tests` and `run-device-tests`, so those command comments stay visible on the PR. The run-tests workflow's authorization step now minimizes the command comment as resolved, right after the 👀 reaction. It uses the same `minimizeComment` (RESOLVED) mutation and the same `GITHUB_TOKEN` as `review-trigger.yml`. A failure only warns. Commands from users without write access are not acknowledged, so they are not hidden either. ### Testing - Pester `RunTests.Tests.ps1` and `CopilotPipeline.Tests.ps1`: 85 tests, all passing, including a new assertion that the workflow hides the command. - The lock file was recompiled with `gh aw compile`. - The workflow only runs from the default branch, so this can only be checked live after merge. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit e3cc397)
…e pipeline (#40624) ### Description of Change The per-job checks from #40612 show in the PR's checks panel as > Bump global.json for dotnet/dotnet bumps / maui-pr-uitests (MacCatalyst UITests CoreCLR …) because check runs created with the workflow's `GITHUB_TOKEN` are filed under whichever GitHub Actions workflow already ran on the commit. Each job of the selected build is now published as a **commit status** instead, which shows under exactly its context: - `maui-pr-uitests (MacCatalyst UITests CoreCLR Controls Border)` — Succeeded in maui-pr-uitests #1699121 (selected by /review) - `maui-pr-devicetests (net11.0 CoreCLR iOS Helix Tests Run DeviceTests iOS (CoreCLR))` States: queued/running → `pending`, succeeded → `success`, failed → `failure`, canceled → `error`; each links to the job's log. When a later `/review` run on the same commit builds other jobs, the previous build's leftover statuses are marked "Not in the latest selected run". `review-run-tests-results.yml` gets `statuses: write`. Builds on #40615 (its commit is included here; merge that first or merge this one alone). ### Testing - `RunTests.Tests.ps1` passes (76), with a test for `New-RunTestsJobStatuses`. - Published the statuses for build 1699121 on #40611 by hand: the 7 UI test jobs show as `maui-pr-uitests (…)` with no workflow prefix. --------- Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit a304e7e)
<!-- 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 --> Remove only the standalone `/review tests` failure-analysis feature: its gh-aw source and compiled workflow, local runner, dedicated failure-attribution skill/collector, obsolete visual-publishing helpers, evaluations, and dedicated regression suites. Update documentation and the retained script-test discovery entries. Keep the existing `/review tests` exclusions in the normal trigger, recovery source-comment validator, and shared command parser. Retired comments cannot fall through to a full review or be replayed by scheduled recovery. The implementation has no aliases dispatching this same failure-analysis lane. `/review run-tests`, `/review run-ui-tests`, and `/review run-device-tests` belong to a distinct test-selection/execution feature and remain unchanged. `/evaluate-tests`, expert review, issue commands, and test verification integrated into full `/review` remain supported. The full-review pipeline retains its visual publishing and existing `review-tests-assets-v2` branch; historical asset URLs and unrelated code-review fixtures remain intact. This is a separate infrastructure PR based directly on `main`, not stacked on #40595. It includes none of that PR's commits or `/review gate` removal changes; gate routing, parameters, stages, and verification are preserved. **Validation** - Passed: 400 existing Pester tests, including trigger/recovery routing, full-review scripts, integrated without-fix/with-fix verification, and the separate run-tests feature. No new pipeline/YAML tests were added. ```powershell pwsh -NoProfile -Command 'Import-Module Pester -RequiredVersion 5.9.0; $c = New-PesterConfiguration; $c.Run.Path = @(".github/scripts/ReviewTrigger.Tests.ps1", ".github/scripts/Recover-MissedReviewCommands.Tests.ps1", ".github/scripts/Review-PR.Tests.ps1", ".github/scripts/CopilotPipeline.Tests.ps1", ".github/scripts/NotificationCenterScripts.Tests.ps1", ".github/scripts/Query-CiFixPRs.Tests.ps1", ".github/skills/verify-tests-fail-without-fix/scripts/Verify-TestsFail.Tests.ps1", ".github/scripts/RunTests.Tests.ps1"); $c.Run.PassThru = $true; $c.Output.Verbosity = "Minimal"; $r = Invoke-Pester -Configuration $c; if ($r.FailedCount -gt 0 -or $r.TotalCount -eq 0) { exit 1 }' ``` - Passed: `actionlint -oneline .github/workflows/powershell-script-tests.yml .github/workflows/review-trigger.yml`. - Passed: `ruby -e 'require "yaml"; YAML.load_file("eng/pipelines/ci-copilot.yml"); puts "Azure pipeline YAML parsed successfully"'`. - Passed: `gh aw compile --no-emit --no-check-update copilot-review-expert copilot-review-run-tests copilot-review-run-tests-mai copilot-evaluate-tests issue-trace-regression` — all five compiled successfully, with existing deprecated-model/trigger configuration advisories. An unrelated compiler action-pin cleanup was discarded because another retained workflow uses the pin. - Passed: `git diff --check`. Live command retirement requires merging the workflow deletion to the default branch; no production slash command was posted as a canary. ### 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 — requested infrastructure cleanup. Relates to #40595 without stacking on it or closing it. <!-- 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> (cherry picked from commit dfca8ad)
…eline (#40628) ### Description of Change `/review run-tests` on #40621 (targets `net11`) ran its device tests as **net12** (`maui-pr-devicetests (net12.0 CoreCLR Android Helix Tests …)`). `net11`'s `ci-device-tests.yml` can't build `run-devicetests/*` dispatches yet, so the dispatch fell back to the default branch's pipeline: the dispatch commit for #40621's device tests was built on `main` (parent `6fda01fe2a`) with `main`'s `eng/pipelines`, `eng/devices` and `eng/helix_xharness.proj` over the `net11` test-merge. - `Invoke-RunTests.ps1` takes the pipeline only from the PR's target branch. If that pipeline can't build the suite's dispatches, the suite is reported as not queued with the reason. - `Get-RunTestsContext.ps1` checks only the target branch, so a `/review run-tests` on a `net11` PR runs the UI tests and notes that device tests can't run on `net11` yet, instead of running them with the wrong branch. Device tests for `net11` PRs need the dispatch support backported to `net11` (separate PR). ### Testing `RunTests.Tests.ps1`: the fallback test is replaced by one that asserts only the target branch is used; 74 pass. The 2 failures (`Pipeline templates`, `gates the device test pipeline on the dispatch request`) also fail on `main` without this change. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit 66f2e48)
…ommit statuses (#40627) ### Description of Change Follow-up to #40624, which moved the per-job results to commit statuses. The other `/review run-tests` checks were still check runs, so GitHub filed them under an unrelated workflow of the commit: > Add Dogfooding Comment / maui-pr-uitests (skipped) Triggers (pull_request_target) They are now commit statuses too, shown under exactly their name: | Status | State | | --- | --- | | `maui-pr-uitests (skipped) Triggers` | success — "Skipped: Triggers UI tests were not selected by /review run-tests" | | `maui-pr-uitests (test selection)` | success, or failure when the run could not be queued | | `maui-pr-uitests (selected run)` | pending while the build runs, then success / failure / error (canceled) | - A skipped status that a later run on the same commit selects is updated to "Selected by a later /review …". - Comments posted before this change recorded a check run id (`<!-- review-run-tests-check: … -->`); those keep updating their check run. - `review-run-tests-dispatch.yml` gets `statuses: write` (the results workflow already has it). ### Testing - New Pester tests for the selected run status and for publishing only through statuses; 78 pass. - The 2 remaining failures (`Pipeline templates` / `gates the device test pipeline on the dispatch request`) also fail on `main` without this change. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit 5858133)
…log refused dispatches (#40631) ### Description of Change **Crash (from #40627).** Every `/review run-tests` dispatch since #40627 fails before posting its comment: ``` Invoke-RunTests.ps1:380 … -RunTestsStatuses -Repository $Repository -Sha $sha) | Where-Object { You cannot call a method on a null-valued expression. ``` `Get-RunTestsStatuses` returns its list as a single object (`return , @(…)`), so `@(Get-RunTestsStatuses …)` nested it and `$_.context` was the whole list. The list is now assigned first, and `context` is read as a string. Seen on #40439 and #40294. **net11 dispatches refused (diagnostics).** Since #40629 merged into `net11`, creating the `run-tests/*` / `run-devicetests/*` branch for `net11` PRs fails with `Resource not accessible by integration (HTTP 403)` (#40619, #40620, #40621). `main` PRs and `net11` dispatches before that pushed fine. The log doesn't say what GitHub objects to, so when the branch can't be created the script now logs the dispatch commit, its parent, the test-merge and its base, and the files the commit changes. That shows the cause on the next run. ### Testing - New Pester test: `Get-RunTestsStatuses` returns a flat list, and `Invoke-RunTests.ps1` no longer wraps it in `@()`. 77 pass; the 2 failures (`Pipeline templates`, `gates the device test pipeline on the dispatch request`) also fail on `main` without this change. - Called `Get-RunTestsStatuses` against a real commit (#40611 head): 7 statuses, filtering works. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit 0800dd3)
`/review run-tests` on a `net11` PR now always fails with `POST git/refs`: **HTTP 403** (e.g. #40621, [log](https://github.com/dotnet/maui/actions/runs/45729020215)). The dispatch commit changes no workflow from its `net11` parent, but GitHub refuses `GITHUB_TOKEN`-created branches whose `.github/workflows` differ from the default branch's. Before #40628 dispatches used `main`'s `.github`, which is why they were accepted. **Fix:** for a PR whose target isn't the default branch, the dispatch commit takes `.github/workflows` and its parent from the default branch. The pipeline (`eng/pipelines`), scripts, and device files still come from the PR's target branch, so a `net11` PR still builds as `net11.0`. Workflows don't build anything on these branches. Tests: RunTests.Tests.ps1, 78 pass. The 2 failures also fail on `main` and are unrelated. Co-authored-by: Copilot CI <copilot-ci@microsoft.com> (cherry picked from commit 69bed22)
<!-- 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 --> The official pipeline (`dotnet-maui`) signs the packages it ships with the real certificates (`_SignType` is `real`), but nothing verifies them afterwards, because the post-build signing validation is switched off. **Re-enable signing validation** (`eng/pipelines/ci-official.yml`) `enableSigningValidation` goes back to `true`. Arcade's "Signing Validation" job (SignCheck) then runs in the "Validate Build Assets" stage and verifies everything in `PackageArtifacts`, including the MSIs and the nupkgs nested in them. `Publish using Darc` depends on that stage, so unsigned content in a package can no longer be published unnoticed. It was switched off in #25986 ("Fix signing fonts, add public pipeline"), in a commit named "Dont validate sigining", and nothing turned it back on. The comment under the setting, "Disable for now as we test the new signing process", was written for the `enableSourceLinkValidation` line below, not for signing validation, so this PR removes it. **Sign `NavMenu.razor.js`** (`eng/Signing.props`) SignCheck checks `.js` files, and the two copies of `NavMenu.razor.js` in the Blazor templates (`maui-blazor` and `maui-blazor-solution`) aren't signed, unlike `ReconnectModal.razor.js` (#35026). In the templates package of the official build 3130460 of `main`, they have no signature. With signing validation on, SignCheck would flag them there, and again in the nupkg nested in each `Microsoft.Maui.Templates.*.Msi.*` package. **CodeSign Validation on `APIScanFiles`** (already fixed on `main`) The official build also reported 313 `CodeSign.MissingSigningCert` findings from the 1ES PT step "Guardian: CodeSign Validation" (build 3109012 of net11.0). They were all for the unsigned build outputs in `APIScanFiles`, which is the input of the APIScan job. #38735 already fixed that on `main`, by marking the APIScan job and the `APIScanFiles` artifact as non-production, so this PR doesn't change it. In the official build 3130460 of `main`, the APIScan job succeeded, and it doesn't have the steps "Guardian: CodeSign Validation", "Branch Validation", SBOM and "Validate Source Build". #### Validation Only an official build can show this, because PR builds use the unofficial template. Official build [3138536](https://dev.azure.com/dnceng/internal/_build/results?buildId=3138536) (internal) of this branch at 90f0ec3 (`main` at 8744f99 plus the two changes in this PR) succeeded: - The "Signing Validation" job ran (it was disabled until now) and passed: `No signing issues found`, `Total Files: 6600, Signed: 1888, Unsigned: 0, Skipped: 4712, Excluded: 0`. Among the signed files are the 60 nupkgs in `PackageArtifacts`, the 39 MSIs, the 33 nupkgs nested in them and 1668 DLLs. No `eng/SignCheckExclusionsFile.txt` is needed. The job takes about 7 minutes and runs next to NuGet Validation. - SignCheck lists all 8 copies of `NavMenu.razor.js` (two in the templates package, and two in the nupkg nested in each of the three `Microsoft.Maui.Templates.net11.Msi.*` packages) and the 4 copies of `ReconnectModal.razor.js` as `Signed`. In the templates nupkg of this build, both `NavMenu.razor.js` end with a signature block (`// SIG // End signature block`). ### 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, there is no GitHub 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> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> (cherry picked from commit 35861b8)
<!-- 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 Dependabot reads `.github/dependabot.yml` from the default branch. Keep NuGet version updates on `main` for .NET 12 and add a separate version-update entry targeting literal `net11` for servicing. Bundle otherwise ungrouped NuGet updates in `OtherNuGet` while excluding the existing curated groups, and keep the servicing and default-branch group/ignore rules aligned. Document the routing and security-update distinction for maintainers. The `main` entry leaves `target-branch` unset, preserving the existing default-branch security-update behavior. The `net11` entry only controls version updates, as Dependabot security updates target the default branch. Validated the YAML against the Dependabot SchemaStore JSON Schema, parsed it with Ruby safe YAML, checked the exact branch/group routing, and ran `git diff --check`. ### Issues Fixed N/A — no issue linked. <!-- 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 N/A <!-- 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> (cherry picked from commit 5c16751)
<!-- 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 --> - Minimize newly posted or updated dogfooding and Skill Validation comments as resolved, and reconcile existing bot comments through the hourly CI cleanup. - Stop explicitly @-mentioning the PR author in Skill Validation results. Only matching `github-actions[bot]` comments are updated or minimized. - Paginate dogfooding comment lookup to avoid duplicates on busy PRs. The central cleanup covers open PRs across target branches. Immediate minimization and the author-mention change require the updated producer workflow on the PR's target branch; `net11` needs a separate backport. **Validation** - `actionlint -no-color -shellcheck= -pyflakes= .github/workflows/dogfood-comment.yml .github/workflows/azure-pipelines-comment-cleanup.yml .github/workflows/skill-validation.yml` — passed. ShellCheck was disabled because the untouched skill workflow already reports baseline warnings. - `git diff --check` — passed. - `env -u GH_TOKEN -u GITHUB_TOKEN gh workflow run azure-pipelines-comment-cleanup.yml --repo dotnet/maui --ref kubaflo-hide-dogfood-comments -f pr_number=40633` — passed ([run](https://github.com/dotnet/maui/actions/runs/45815251221)); both existing comment types were verified as resolved. - `env -u GH_TOKEN -u GITHUB_TOKEN gh workflow run dogfood-comment.yml --repo dotnet/maui --ref kubaflo-hide-dogfood-comments -f pr_number=40634` — passed ([run](https://github.com/dotnet/maui/actions/runs/45815251667)); a [repeat run](https://github.com/dotnet/maui/actions/runs/45815346312) kept one resolved comment. - `env -u GH_TOKEN -u GITHUB_TOKEN gh workflow run azure-pipelines-comment-cleanup.yml --repo dotnet/maui --ref kubaflo-hide-dogfood-comments -f pr_number=40387` — passed ([run](https://github.com/dotnet/maui/actions/runs/45815346301)); both comments were verified as resolved. - The initial [Skill Validation run](https://github.com/dotnet/maui/actions/runs/45816709733) was intentionally canceled before the existing base workflow could mention the author. The modified posting path requires the updated workflow on the target branch for live validation. ### 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 <!-- 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> (cherry picked from commit 3f2c01a)
…opted-in PRs (#40668) <!-- 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 repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change **MAUI Autopilot** lets contributors hand the review back-and-forth to the agent. When a contributor opts in, one maintainer comment, `/review autopilot`, starts a loop that reviews, fixes, and tests the PR until it is ready for a maintainer to decide. ```mermaid flowchart LR A["/review autopilot"] --> R["MAUI expert review"] R -- findings --> F["Fix<br/>GPT-6.2 Sol vs MAI Code 2"] F --> R R -- no more findings --> T["/review run-tests"] T -- failing tests --> F T -- pass --> D["Ready for maintainer review"] ``` #### How to use it **Contributors:** tick the new checkbox in the PR template: > - [x] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** **Maintainers:** - Comment `/review autopilot` to start the loop. The PR author must have ticked the box. The comment is hidden as resolved once it is handled, like the other `/review` commands. - Remove the `s/autopilot-running` label to stop it. **What you'll see on the PR:** - **Labels** show the current step: | Label | Meaning | |---|---| | `s/autopilot-running` | The loop is running. Remove it to stop the loop | | `s/autopilot-reviewing` | The MAUI expert reviewer is reviewing | | `s/autopilot-fixing` | Fixing review findings or failing tests | | `s/autopilot-testing` | Running the relevant UI and device tests | | `s/autopilot-waiting-for-maintainer-review` | Review clean and tests passed | - **Review threads:** every finding the agent handles gets a reply in its thread, either "✅ Fixed in `<sha>`" with the commit, the test that proves the fix, and which model's fix was kept, or "❌ Not changed" with the reason. Fixed threads are resolved, and unchanged threads stay open for a maintainer to decide. - **Two top-level comments:** "MAUI Autopilot — Started", which collapses once the loop moves on, and "MAUI Autopilot — Ready for maintainer review", which stays visible. #### How it works - **Review:** the existing MAUI expert reviewer (`copilot-review-expert`, GPT-6.1 Sol). - **Fix:** GPT-6.2 Sol and MAI Code 2 each fix every item independently, and the better fix is kept. Fixes are pushed to the PR branch. For PRs from forks, the agent opens an `[autopilot]` follow-up PR that keeps the contributor's commits. - **Test:** the existing `/review run-tests` (GPT-6.2 Sol + MAI Code 2 select the tests). Failing tests go back into the loop. - **Stopping:** the loop has no round limit. It stops when the tests pass, a round can't fix anything, a maintainer removes the label, or a step fails twice in a row. A step that fails once is retried automatically. #### Safety - The loop only runs when the PR author opted in **and** a maintainer with write access started it. Each step re-checks that maintainer's access. - The agent has read-only GitHub permissions. Pushes, replies, and comments go through gh-aw safe outputs, which are pinned to the PR being driven, and threat detection checks every patch. It can only change `src/`, and it never merges, approves, retargets, or closes PRs. - Agent instructions are loaded from the trusted base branch, so a PR can't change them. - **Secrets:** `maui-expert-autopilot` uses the existing Copilot PAT pool (`COPILOT_PAT_0`–`COPILOT_PAT_9`, with `COPILOT_GITHUB_TOKEN` as a fallback), like the other agentic workflows. No new actions are added; every action it uses is already pinned in this repository. #### Changes | Area | Files | |---|---| | New workflow | `.github/workflows/maui-expert-autopilot.md` (+ `.lock.yml`) | | Hand-offs and retries | `copilot-review-expert`, `copilot-review-run-tests` (+ `-mai`), `review-run-tests-dispatch.yml`, `review-run-tests-results.yml` | | Acting for the starting maintainer | `Review-Expert.ps1`, `Invoke-RunTests.ps1`, `RunTests.Common.ps1`, `Update-RunTestsResults.ps1` | | `/review autopilot` is not a full `/review` | `review-trigger.yml`, `ReviewCommandHelpers.ps1` | | Expert review says "No more findings" instead of "0 findings" | `Review-Expert.ps1` | | Opt-in checkbox and docs | `PULL_REQUEST_TEMPLATE.md`, `.github/docs/maui-expert-autopilot.md` | #### Validation Tested end to end on a fork (kubaflo/maui): | PR | What was tested | Result | |---|---|---| | [kubaflo#981](kubaflo#981) | Full loop: review, fix, review, tests, ready, with a maintainer request and an optional nit | Passed: 4 threads fixed and resolved, the nit answered "❌ Not changed" and left open | | [kubaflo#975](kubaflo#975) | Failing test goes back into a fix round | Passed: fixed, then review clean, tests, ready | | [kubaflo#976](kubaflo#976) | Two-model fix round | Passed: kept GPT-6.2 Sol's bug fix and MAI Code 2's tests | | [kubaflo#982](kubaflo#982) | Two `/review autopilot` comments at once, command hiding | Passed: the older command was skipped, one loop started, commands hidden as resolved | Local checks: - `gh aw compile maui-expert-autopilot copilot-review-expert copilot-review-run-tests copilot-review-run-tests-mai`: passed (4 succeeded). - `actionlint` on the changed workflows: passed. The SC2034 warning in `review-trigger.yml` already exists on `main`. - Pester `RunTests.Tests.ps1`, `Recover-MissedReviewCommands.Tests.ps1`, `ReviewTrigger.Tests.ps1`, `CopilotPipeline.Tests.ps1`: 162 passed, 2 failed. The same 2 tests (`Pipeline templates…` and `/review run-device-tests gates the device test pipeline…`) also fail on `main` without this PR. **Not tested:** stopping by removing the label (in progress on the fork), a real failing UI or device test run (a fork can't queue Azure DevOps builds) and the fork-PR follow-up path. ### 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 is new repository infrastructure. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. <!-- 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> (cherry picked from commit 4ea2adc)
…5), Copilot review threads, test failure evidence, clear endings (#40672) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change Follow-up to #40668, from testing MAUI Autopilot on real PRs (including #40669). #### 1. Three models, cross-examined | Step | What happens | |---|---| | Propose | GPT-6.2 Sol, MAI Code 2 and **Claude Opus 5.5** each fix the items independently | | Cross-examine | GPT-6.2 Sol and MAI Code 2 attack the other two candidates (bugs, missed cases, weak tests), then revise their own, adopting better ideas | | Choose | The best revised candidate per item is kept; every critique must be answered | The thread reply says which fix was kept and why, for example: *"GPT-6.2 Sol's fix was kept over Opus's boundary list and builder because…; adopted MAI's adjacent-cluster test idea."* Opus runs in a new sandboxed workflow, `maui-expert-autopilot-opus`. The Copilot CLI uses one wire API per process: Claude only supports chat completions, while GPT-6.2 Sol and MAI Code 2 only support the Responses API (`400 model claude-opus-5.5 does not support Responses API` as a sub-agent). Opus only writes a candidate patch, saved as an artifact, which the fix round checks against the same head. If Opus fails, the round continues with two candidates. #### 2. Copilot code review counts like the expert reviewer Unresolved Copilot code review threads are now trusted fix items. After a clean expert review, open Copilot threads start a fix round before the tests run. Each one gets a reply, is resolved when fixed, and stays open with ❌ when not changed, the same as expert review threads. #### 3. Fix rounds can read failing tests The agent can't reach Azure DevOps itself, so a setup step now collects the failed jobs, tasks and error lines into `test-failures.md`. On #40669 the round couldn't tell that the Windows failure (`ImageProcessor.RotateImageAsync`, from #36581) was unrelated; the evidence now shows that error directly. #### 4. Clear endings | Before | After | |---|---| | A failed fix round ends the loop silently | It is retried once (`s/autopilot-retrying`); a second failure posts **MAUI Autopilot — Stopped** with a link to the run | | A round that fixes nothing ends with a plain "round N" comment, and "Started" stays visible | It ends with one **MAUI Autopilot — Stopped** comment, the agent's reason under a collapsed **Why**; earlier status comments are hidden | #### Validation (fork: kubaflo/maui) | PR | What was tested | Result | |---|---|---| | [kubaflo#989](kubaflo#989) | Three-model round with Opus | Opus produced a candidate in its own workflow; the round compared all three and kept GPT-6.2 Sol's fix, adopting MAI's test idea | | [kubaflo#984](kubaflo#984) | Copilot code review threads, cross-examination | Both Copilot threads fixed, answered and resolved; loop ended **Ready for maintainer review** (3 threads resolved) | | [kubaflo#983](kubaflo#983) | Failed fix round, no-op round | Retried once, then one visible **Stopped** comment with the reason | Local checks: - `gh aw compile maui-expert-autopilot maui-expert-autopilot-opus`: passed. - The test-evidence script, run locally against #40669's failed run [maui-pr-devicetests #1701770](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1701770): it printed the failed Windows job and the `CS0117 RotateImageAsync` error. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit d568ecf)
…ry (#40671) <!-- 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 Add a daily **05:15 UTC** candidate-to-inflight synchronization, with manual activation. Resolve the active candidate SR N and inflight SR N+1 using the existing canonical release-state resolver instead of hard-coding branch names. This release infrastructure belongs on `main`, where scheduled workflows execute. Use GitHub's merge API with a pinned candidate SHA: preserve inflight-only commits and verify that both the candidate snapshot and the previous inflight tip remain ancestors of the resulting inflight branch. Do nothing when already contained. Never rebase, force-push, delete branches, or merge individual PRs. Serialize with release rollover using its existing concurrency group. Conflicts, missing refs, protection errors, or candidate movement fail explicitly for maintainer intervention/retry. Existing protections are not bypassed. Use the existing repository-scoped token, with no new secrets. Document that token-generated writes do not activate GitHub Actions push workflows. Validation: - `actionlint .github/workflows/sync-candidate-inflight.yml` — passed. - PowerShell `System.Management.Automation.Language.Parser::ParseFile` on `eng/scripts/Sync-CandidateIntoInflight.ps1` — passed with no syntax errors. - `pwsh -NoProfile -File eng/scripts/Sync-CandidateIntoInflight.ps1 -PlanOnly` — passed against live GitHub: candidate SR3 has two commits missing from inflight SR4. No production refs changed. - `git merge-tree --write-tree refs/remotes/origin/inflight/11.0.1xx-sr4 refs/remotes/origin/candidate/11.0.1xx-sr3` — passed, conflict-free for the inspected live snapshots; did not update either branch. - `git diff --check` — passed. - The production mutation path and daily schedule are not yet exercised; deployment requires merging this PR into `main`. No pipeline 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. --> N/A — maintainer-requested release branch synchronization automation. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. <!-- 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> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> (cherry picked from commit 28032cd)
…ainer-decision label (#40707) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change Follow-up to #40672. **1. Three models decide if a test failure is caused by the PR.** Before fixing, GPT-6.2 Sol, MAI Code 2 and Claude Opus 5.5 each judge every failure independently: `related`, `unrelated` (infrastructure, flaky, or already broken on the base branch) or `unsure`. The majority decides; a split counts as `related`. Only related failures are fixed. The round's comment shows the verdicts: | Failure | GPT-6.2 Sol | MAI Code 2 | Claude Opus 5.5 | Final verdict | Fix or evidence | |---|---|---|---|---|---| | `ReverseTextTreatsNullAsEmpty` | related | related | n/a | related | Fixed in `7b4f0b0` (MAI Code 2) | | Windows Essentials: CS0117 `RotateImageAsync` | unrelated | unrelated | unrelated | unrelated | The PR doesn't touch `ImageProcessor` | **2. New label `s/autopilot-needs-maintainer-decision`.** Every "MAUI Autopilot — Stopped" ending sets it: nothing more to fix, a step failed twice, the tests couldn't run, or the starting maintainer lost write access. A new `/review autopilot` clears it. Also removes the doubled ❌ in the Stopped comment's **Why**. #### Validation (fork: kubaflo/maui) | PR | Test | Result | |---|---|---| | [kubaflo#989](kubaflo#989) | One failure caused by the PR plus the real unrelated Windows build failure (build 1701770) | Table above: the related one was fixed, the unrelated ones were left alone, and all three models agreed | | [kubaflo#983](kubaflo#983) | Round with nothing to fix | Stopped, `s/autopilot-needs-maintainer-decision` set, single ❌ | `gh aw compile maui-expert-autopilot maui-expert-autopilot-opus copilot-review-expert copilot-review-run-tests`: passed. `actionlint` on `review-run-tests-dispatch.yml` and `review-run-tests-results.yml`: passed. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 37729b3)
… unit tests (#40732) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change MAUI Autopilot fix rounds couldn't run any unit tests on `main`: the runner's SDK is older than the one `global.json` pins (`12.0.100-alpha…`). On #40724 every thread reply said the tests "could not run without the .NET 12 SDK". - `maui-expert-autopilot` and `maui-expert-autopilot-opus` now install the SDK pinned in the **base branch's** `global.json` (not the PR's) before the agent starts. It goes into the runner tool cache, which the agent container puts on `PATH`. - `pkgs.dev.azure.com` is allowed so the repo's NuGet feeds restore. - The prompt points at the Controls, XAML and SourceGen unit-test projects. #### Validation - Fork probe ([run](https://github.com/kubaflo/maui/actions/runs/46027528623)) with `main`'s `global.json`: inside the agent sandbox `dotnet --version` printed `12.0.100-alpha.1.26523.103`, both in the workspace and in a separate worktree (as the fix candidates use). - `gh aw compile maui-expert-autopilot maui-expert-autopilot-opus`: passed. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 9b24782)
<!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change A maintainer's `/review autopilot` was refused when the PR author hadn't ticked the template checkbox ("MAUI Autopilot needs the PR author's consent first"). Maintainers can always run it now. The checkbox stays in the template as the contributor's way of asking for it, but it no longer blocks the command. #### Validation - Fork: unticked the box on [kubaflo#987](kubaflo#987) and commented `/review autopilot`. The loop ran and posted **MAUI Autopilot — Ready for maintainer review** instead of the consent message. - `gh aw compile maui-expert-autopilot maui-expert-autopilot-opus`: passed. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 3f53c76)
…ggestions; stop no-op issue mentions (#40743) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change **1. Earlier suggestions are handled, not ignored.** On #35973 the loop stopped with "nothing to fix" while 43 review threads were still open. Fix rounds only looked at the latest expert review on the current head and at Copilot. Now every unresolved thread from a trusted reviewer is handled: maintainers, earlier MAUI expert reviews, MauiBot and Copilot code review, on any head, outdated or not. Each one is checked against the current code: | Result | Reply | Thread | |---|---|---| | Still valid | ✅ Fixed in `<sha>` | resolved | | Already done by the current code | ✅ Already addressed | resolved | | Code it refers to is gone | ✅ No longer applies | resolved | | Wrong, or needs a maintainer decision | ❌ Not changed, with why | left open | **Each `/review autopilot` starts fresh:** replies from an earlier run don't count, so a new command reconsiders and answers every open thread again, including ones an earlier run answered ❌. Unanswered threads start a fix round before the tests run. A round that pushes nothing but answers every thread moves the loop on instead of stopping. Reply and resolve limits go from 30 to 100. **2. No more "[aw] No-Op Runs" mentions on PRs.** The Opus candidate workflow's no-op was reported to #40701, which cross-referenced every PR. **3. A base branch without `global.json` no longer fails the fix round** (the SDK install step from #40732 exited 128). #### Validation - Fork [kubaflo#991](kubaflo#991): my older-head comment that was already fixed got **✅ Already addressed** (with the commit) and was resolved; my still-valid comment (use `StringBuilder`) was fixed and resolved; all three expert threads were fixed and resolved. - The thread-counting function, run on mocked threads: with a new loop start, a thread answered by an earlier run counts as open again, one answered in this run doesn't, contributor and resolved threads are ignored. - `gh aw compile maui-expert-autopilot maui-expert-autopilot-opus`: passed; embedded scripts parse. - Fork: the missing-`global.json` failure reproduced on [kubaflo#991](kubaflo#991) and passes with the fix. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 4f04948)
…r endings) and never fail on missing test evidence (#40746) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change On #39655 (a fork PR) the fix round failed to publish: `Cannot create pull request: patch modifies files outside the allowed-files list (.vscode/launch.json)`. The PR's net change is `src/`-only, but two of its commits changed `.vscode/launch.json` and then reverted it. The follow-up PR's patch replays every commit, so it was rejected. For fork PRs whose commits touch files outside `src/` / `PublicAPI.Unshipped.txt`, the contributor's commits are now squashed into one commit before the fix round, with the same net change and the contributor as author. Fork PRs whose commits stay in `src/` keep their commits as they are. Two more fixes found on the same run: - **Fork rounds that publish nothing now end properly.** When no follow-up PR was opened (the round failed or fixed nothing), `next_round` just removed the labels: no retry, no **Stopped** comment, no `s/autopilot-needs-maintainer-decision`. #39655 ended blank. Fork PRs now go through the same ending as other PRs: retry once, continue if every thread was answered, otherwise **Stopped** plus the label. - **Missing test evidence no longer fails the round.** "Collect the failing test evidence" exited 1 on #39655 under `bash -e`, failing the whole agent job. It's best effort now (`continue-on-error`, `set +e`). #### Validation Ran the new step locally on #39655's real commits: it squashed, the resulting tree is identical to the PR head, the author is preserved (`Dhivya-SF4094`), and no file outside `src/` remains in the history. `gh aw compile maui-expert-autopilot`: passed; embedded scripts parse. The evidence script, run locally under `bash -e` against #39655, completes and lists its builds. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. --------- (cherry picked from commit 6d74c1c)
…from Azure DevOps, back off on rate limits (#40750) <!-- 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! ### 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). Repository infrastructure. Agentic workflows run from the default branch, so it targets `main`. ### Description of Change **1. UI test screenshots from Azure DevOps.** When a UI test fails on a screenshot (`Baseline snapshot not yet created` or `Snapshot different than baseline`), the round now downloads the new screenshot from the build's `uitest-snapshot-results-*` artifact and maps it to its baseline path. If the PR causes the visual change (the triage says `related`), the round commits the screenshot as the baseline. It never updates a baseline for an unrelated failure. Example from build 1703227: | Test | Environment | Baseline | Baseline path | |---|---|---|---| | `NavigationPageChildContentExtendsUnderFloatingTabBar` | `ios-26` | changed | `src/Controls/tests/TestCases.iOS.Tests/snapshots/ios-26/NavigationPageChildContentExtendsUnderFloatingTabBar.png` | **2. Back off on Copilot API rate limits.** On #40736 the fix round failed twice in a row on `429 Too Many Requests`: the automatic retry fired immediately and hit the same limit. When the agent fails with a 429, the retry now waits 15 minutes, and the **Stopped** comment says it was the rate limit. **3. Merge conflicts are resolved** (like #39487). A conflicting PR (`mergeable: false`) gets a `conflicts` round first. Setup applies the PR's net change onto the base tip on `autopilot/pr-<n>` (`git merge --squash`). `PublicAPI.Unshipped.txt` conflicts are resolved deterministically (base entries, plus the PR's added ones, minus its removed ones); the agent resolves code conflicts. The result is one commit by the PR's author and is published as an `[autopilot]` follow-up PR; the loop moves there. Why not a merge commit on the PR branch: it would bring in every file `main` changed since the PR's base. gh-aw's allowed-files check rejects that, and `GITHUB_TOKEN` can't push merges that include `.github/workflows` changes, which `main` has almost daily. Both would need a GitHub App token. The rebased commit only touches the PR's own files. **4. Follow-up PR branch names are kept** (`preserve-branch-name: true`). gh-aw otherwise adds a random suffix, and `next_round` couldn't find `autopilot/pr-<n>` to move the loop there. #### Validation - Conflicts setup, run on #39487's real branches: one commit by `Dhivya-SF4094` on top of `main`, merges cleanly with `main`, its diff against `main` is exactly the PR's 15 files, and the two `PublicAPI.Unshipped.txt` conflicts are combined. - Fork [kubaflo#993](kubaflo#993) (a code conflict): the round detected the conflict, rebased, and the agent resolved and committed it. Opening the follow-up PR can't be tested on the fork because its sandbox branches share no history with the fork's `main`; #39487 will test it here. The fork run also surfaced two bugs, both fixed: `git merge --squash` needed a git identity, and a conflicts round that published nothing would repeat. - The new evidence step, run locally against build 1703227 (a real `Snapshot different than baseline` failure): it downloaded the artifact anonymously and produced the table above. - `gh aw compile maui-expert-autopilot`: passed; embedded scripts parse. ### Issues Fixed None. ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. --------- (cherry picked from commit 2fd4998)
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 28, 2026 11:47 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
had a problem deploying
to
copilot-pat-pool
November 28, 2026 11:49 — with
GitHub Actions
Failure
kubaflo
temporarily deployed
to
copilot-pat-pool
November 28, 2026 11:51 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 28, 2026 11:51 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 28, 2026 11:52 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
@dalexsoto stamp |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…[net11] <!-- 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. --> | 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 test infrastructure for the .NET 12 (`main`) line, so it targets `main`. Migrate all repository test execution from **Helix + XHarness** to plain **`dotnet test`** on **Microsoft.Testing.Platform (MTP)**. This PR carries the migration from #39918 (by @mattleibow, commits preserved) brought up to date with current `main` (.NET 12 SDK, `/review run-device-tests`, recent product and test fixes), plus the follow-up fixes needed to make it build and pass on .NET 12. - **One way to run tests, everywhere.** Today unit tests run through Arcade's Helix SDK (`eng/helix.proj`), device tests through Helix + XHarness (`eng/helix_xharness.proj`), Appium tests through Cake, and locally through yet other scripts. After this change the same command — `dotnet test --project <test project>` (plus `--device` for mobile) — runs every suite on a developer machine, in CI, and in the Copilot review gate. A CI failure can be reproduced locally with the exact command CI used. - **Remove a fragile, opaque layer.** Helix/XHarness add payload zipping, remote queues, a job monitor, custom work-item scripts and a separate result path. Many recurring device-test infra failures (XHarness exit 78/80/83 `APP_LAUNCH_FAILURE`/`APP_CRASH`, Helix jobs never scheduled, stale or missing `testResults.xml`, queue/image drift such as XHarness requiring an iPhone 11 Pro device type that iOS 27.1+ no longer ships) come from that layer, not from MAUI. Direct execution on the agent gives real logs, real exit codes and the actual device in the job. - **Genuine, trustworthy results.** Every suite now produces the test framework's own TRX via MTP (`--report-trx`), and empty selections or missing reports fail the job instead of silently passing. On Android/iOS the native app's own TRX is collected and reconciled with the host proxy, so a crash cannot be reported as a pass. - **Modern test stack.** xUnit v2 + VSTest + XHarness test runners are replaced by **xUnit v3 + MTP**, which is what the .NET SDK `dotnet test` and device (`--device`) support is built on. This unblocks newer xUnit features (`TestContext`, cancellation, `Assert.Skip*`) and keeps us on the path the SDK supports directly. - **Fewer moving parts to maintain.** Removes `eng/helix.proj`, `eng/helix_xharness.proj`, the Helix pipeline stages, the XHarness CLI tool, and the XHarness/Helix package dependencies. - **Unit tests**: all repository xUnit suites move to xUnit v3 (`4.0.2`) on MTP (`2.5.1`); `global.json` selects `Microsoft.Testing.Platform` as the `dotnet test` runner. CI (`stage-unit-tests.yml`) runs each project with `dotnet test --project … --report-trx` on Windows and macOS (Debug and Release) and validates the TRX (`eng/scripts/Assert-TestResults.ps1`). Helix unit-test stages are removed. - **Device tests** (Controls, Core, Graphics, Essentials, BlazorWebView): the XHarness/visual runners are replaced by native MTP hosts — Android instrumentation, the normal Apple MAUI app/scene lifecycle, and an owned Windows MSIX/unpackaged launcher. `maui-pr-devicetests` runs them directly on device-capable agents (`stage-device-tests.yml`, `device-tests-steps.yml`) with job-owned emulators/simulators. - **UI tests (Appium)** stay on NUnit, now hosted on MTP with matching fixture-failure, retry and attachment handling. - **Integration tests** run with `dotnet test`; legacy `--filter` selectors are translated to MTP filters. iOS template apps are launched with `simctl` on a dedicated simulator instead of XHarness. - **Local tooling** (`Run-DeviceTests.ps1`, Cake, review-gate scripts, skills/instructions) updated to the same direct commands. - Merged `main` (.NET 12 move #40060, `/review run-device-tests` #40545, review-gate removal #40595, and other fixes) and resolved 23 conflicts. - **`/review run-device-tests` selection ported** to the direct template: `ci-device-tests.yml` passes `selectedRun`/`selectedPlatforms`/`selectedProjects`/`selectedFilters`, and `stage-device-tests.yml` runs only the selected platforms and projects with the selected category skip-lists. Verified with the AzDO YAML preview API (full run: 28 jobs; a sample selection of Android+iOS / Controls+Essentials with `SkipCategories=Shell,Label`: exactly 4 jobs with that filter). `eng/helix_xharness.proj` is no longer a trusted dispatch path. - **Device tests default to `net12.0` and CoreCLR only** — the .NET 12 mobile workloads no longer provide Mono (same as #40060). - Took main's Switch hover-resource fix (#40209) over the PR's earlier variant; kept the HybridWebView asset-ownership change together with main's `DynamicDependency`. - Ported main's UI-test retry recovery rules (#40407) into the shared `UITestRetry.cs` used by Cake and MTP. - Dropped the XHarness-only simulator runtime selection (`SelectLatestIOSVersion`) and its tests; runtime/device-type selection is covered by `SimulatorTests`. - **xUnit v3 adaptation of tests added on `main`**: `TestContext.Current.CancellationToken` (xUnit1051), source-info constructor for `WindowsFact` (xUnit3003); `UITest.NUnit.Tests` and the Windows launcher build for the repo TFM instead of `net11.0`. - **Async-void / inline continuation differences in xUnit v3** (v2's `AsyncTestSyncContext` hid them): - `ListProxyTests.SynchronizedCollectionAdd` leaked thread-static dispatcher options onto a thread-pool thread, so later tests got a dispatcher that always required dispatch (68 Storyboard failures in macOS Release). Restored after use; fixtures reset the options. - Shell tests resumed inline from `Navigated`, so the *next* tests ran inside Shell's navigation callback and had their implicit routes reset (`DeferPopNavigation(Pop)`). Verified locally by detecting `FireNavigatedEvents` on the next test's stack before/after the change. - **Native runner thread affinity** (test bodies run on the thread pool, not the UI thread as under XHarness): `WillTerminateDestroysMainPageWindowOnce` resolved the `Application` off the UI thread; the CarouselView leak test posted a UIKit notification off the UI thread. - **iOS simulator selection**: only use device types that the runtime lists (device-specific iOS 27.1 builds only accept one, causing `SimError 403 Incompatible device`), and prefer the iPhone 11 Pro profile XHarness used (Shell flyout header geometry tests from #39877 fail on Dynamic Island phones; passes on iPhone 11 Pro, fails on iPhone 16 — reproduced locally). - **Mac Catalyst**: `dotnet test` starts the app executable directly, so unlike `open`/XHarness it isn't activated; activate it before running (animated CarouselView scrolls intermittently never finished). - **Integration tests**: shut down build servers after installing the test workloads — reused MSBuild nodes kept a stale workload resolver and nested `UseWorkload=true` sample builds failed with NU1015 (reproduced locally; Samples macOS now passes in CI). The Android `maui-blazor` + `TrimMode=full` row is skipped explicitly: the previous runner silently dropped `TrimMode`, and Blazor does not support full trimming (dotnet/aspnetcore#63951). - **Windows `HybridWebView` disconnect** NRE when `CoreWebView2` is not (or no longer) initialized — exposed by the new fixture teardown that disconnects every handler. - Docs spellcheck word, and a template boolean comparison so the device stage doesn't expand to zero jobs. - **UI-test retry reconciliation**: when a fixture's `OneTimeSetUp` fails, NUnit reports its `[Ignore]`d tests as failed and the retry reports them skipped. MTP's TRX names classes of fixtures with arguments (every UI-test fixture, e.g. `EditorFeatureTests(Windows)`) by namespace only, so the ignored tests were never matched as recovered and the job failed although the retry passed. Replaying the real CI TRX/NUnit reports reproduces the failure before the fix and merges cleanly after it; `FixtureRecoveryReconcilesIgnoredTestsInParameterizedFixtures` covers it. - **iOS CarouselView test timing** (`Animated ScrollTo Does Not Report Positions It Passes Over`, failed on every native CI run, passed under Helix): with logging, every failing run showed a still-queued initial-position pass scrolling back to page 0 without animation, cancelling the test's animated `ScrollTo`. Under the native runner the test can resume between those queued passes. The test now lets them drain; full-class cold runs went from 2/9 failing to 5/5 passing, and it passes in CI. - **`main` build breaks from re-enabled CA1416** (#40663): carried the fixes from #40708 (merged) and #40720 (`UISettings.AnimationsEnabledChanged` in `PlatformTicker` and `MotionPolicy` requires Windows 10.0.19041). The Windows errors only surfaced one project at a time because `Core` references `Essentials`. Local (macOS arm64, .NET SDK `12.0.100-alpha.1.26523.103`, Debug, `dotnet test --project <csproj> --report-trx`): | Project | Result | | --- | --- | | Controls.Xaml.UnitTests | 2,327 passed, 8 skipped | | Controls.Core.UnitTests | 7,453 passed, 30 skipped | | Controls.BindingSourceGen.UnitTests | 135 passed | | SourceGen.UnitTests | 997 passed | | Core.UnitTests | 1,147 passed | | Resizetizer.UnitTests | 795 passed, 3 skipped | | Essentials.UnitTests | 520 passed | | Essentials.ExternalBackend.UnitTests | 6 passed | | Graphics.Tests | 406 passed | | VisualTestUtils.MagickNet.Tests | 13 passed | | MauiBlazorWebView.UnitTests | 70 passed | | MauiBlazorWebView.ExternalHandler.UnitTests | 52 passed | | UITest.NUnit.Tests | 50 passed, 5 skipped | | TestUtils.UnitTests | 61 passed, 1 skipped | Pester (pipeline/runner scripts): `Direct-TestDevice`, `Cake-Mtp`, `RunTests`, `NUnitMtp`, `XunitMtp`, `Run-DeviceTests`, `WindowsTestPackage`, `Assert-TestResults`, `CopilotPipeline`, `Review-PR`, `Verify-TestsFail`, `BuildAndRunHostApp`, `Review-Tests`, `Recover-MissedReviewCommands`: 600+ passed. The only remaining failure (`handles qualified selections in every stage guard`, expects 10 vs 11) also fails on `main` and is unrelated. Note: `StoryboardTests.StoppingFromPropertyChangingDuringATakeoverRaisesOnePairOfNotifications` (added on `main`) is culture-sensitive and fails under a comma-decimal locale on `main` as well; it passes under `en-US` as in CI. Every pipeline was run with `/azp run` on this PR and on validation-only drafts: - #40703: this PR's changes on `net11`. - #40705: the #40703 changes plus sample PRs #40696, #40660, #40654 and runners. - #40706: this PR plus sample PR #40669. Failures were compared against `main`/`net11` Helix baselines by test name. | Pipeline | This PR (`main`) | `net11` validation (#40703 / #40705) | | --- | --- | --- | | `maui-pr` (build, pack, unit tests, integration) | ✅ 35/35 jobs (with the CA1416 fixes) | ✅ 33/33 jobs | | `maui-pr-devicetests` | ✅ Android, iOS, Mac Catalyst except `PageTransitions` tests that fail identically in `main`'s Helix runs | ✅ Android, iOS, Mac Catalyst; only intermittent single-test failures that don't repeat across runs | | `maui-pr-uitests` (Appium on MTP) | ✅ 133/134 jobs; the only failure, WinUI `SharedElementLandsAndSourceIsRestoredAfterPop`, also fails on `main`'s Helix runs | ✅ 130/133; see below | Remaining UI-test failures on `net11`, none of them regressions: - `DragAndDropWithAnElementThatIsRemoved` (Mac Catalyst) fails in 2 of the last 10 `net11` Helix runs too. - The RefreshView tests failed only on #40705, which includes RefreshView sample PR #40660. - The `vlatest` shard failed because the agent couldn't download the iOS 18.5 simulator runtime. - Material3 (API 36) screenshots in the last two runs came out 87 px taller. #40603, merged on `net11` yesterday, now crops by the status-bar height that Appium reports. The same tree and emulator setup passed 430/433 in the two previous runs. **Known remaining device-test blockers (from #39918, not regressions of this merge):** packaged Windows MSIX installation is rejected with `0x800B0109` (the temporary signer is not a trusted root on the agent image — needs owner-provided signing/provisioning), and the Windows Controls unpackaged suite can terminate with `0xDEAD` after ~350 tests (native composition resource exhaustion investigated in #39918). No product issue. Supersedes/continues #39918. --------- Co-authored-by: Matthew Leibowitz <mattleibow@live.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit b5108cd) net11 adaptation: net11.0 TFM, CoreCLR + Mono device-test runtimes and net11's Arcade SDK version, matching validation PR #40703. SourceGen tests for .NET 12-only features are not brought over. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
@dalexsoto stamp |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
kubaflo
had a problem deploying
to
skill-evaluation-pat-pool
November 28, 2026 12:09 — with
GitHub Actions
Failure
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Merged
1 of 2 tasks
kubaflo
added a commit
that referenced
this pull request
Dec 1, 2026
…ow scope on close (#40933) <!-- 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 **Root cause.** `Window`'s `IWindow.Destroying()` disposes the window's service scope (`DisposeWindowScope()`, every platform except Android). It disconnected the page's handlers first only on Windows (`#if WINDOWS`, from #40763). On iOS and Mac Catalyst, the page's platform views stay in the closed `UIWindow`. `ElementHandler.DisconnectHandler()` on the window doesn't clear the page or its descendants' `Handler`, so their loaded/unloaded wiring never runs again. The views never get `Unloaded`, they keep their subscriptions, and their mappers can later resolve services from the disposed scope. **Fix.** Call `Page?.DisconnectHandlers()` before the window handler disconnects and the scope is disposed, on every platform except Android (`#if !ANDROID`, the same condition as `DisposeWindowScope`). Disconnecting a handler raises `Unloaded` synchronously through `VisualElement.HandlePlatformUnloadedLoaded`, so subscribers clean up while services are still alive. Windows behaviour is unchanged. Android is excluded because it keeps the window scope across activity recreation. `UIWindow.RootViewController` is intentionally not cleared. Embedding scenarios and test hosts may own a `UIWindow` that MAUI didn't create. Possible follow-up, not in this PR: modal pages and the `TitleBar` are still not disconnected, which matches the existing Windows behaviour. ### Tests - Unit test `WindowsTests.DestroyingDisconnectsPageHandlersBeforeDisposingTheScope` asserts that the page and child handlers are disconnected while the window scope is still alive, and that the scope is disposed afterwards. - Device test (iOS/Mac Catalyst) `WindowTests.DestroyingUnloadsAndDisconnectsPageWhileScopeIsAlive` asserts that a loaded label receives `Unloaded` while the scope is alive, and that the label and page handlers are null after `Destroying()`. ### Validation - `dotnet test --project src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj -- --filter-method "*DestroyingDisconnectsPageHandlersBeforeDisposingTheScope"`: **failed without the fix** (`Assert.Null() Failure`), **passed with the fix**. - `dotnet test --project src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj`: passed (6840 passed, 30 skipped, 0 failed). - iOS device tests (`Run-DeviceTests.ps1 -Project Controls -Platform ios -IncludeClasses Microsoft.Maui.DeviceTests.WindowTests`): **not run locally.** This machine has only the iOS 26.5 workload, and provisioning the required 27.0 workload failed (NuGet network errors). The new device test needs CI (`maui-pr-devicetests`) to validate it. ### Issues Fixed Fixes #40928 ### Let AI finish this PR - [ ] **Let the MAUI agent address review feedback and fix remaining issues on this PR.** Maintainers still decide whether it is merged. For PRs from forks, the agent opens a follow-up PR that keeps your commits. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 from this PR and let us know in a comment if this change resolves your issue. Thank you!
Target Branch
mainnet11, for reviewRepository infrastructure only; targets
net11so its CI, agentic and release tooling matchesmain.Description of Change
Brings the repository-infrastructure merges from
main(sincenet11diverged) tonet11:/reviewrun-tests / run-ui-tests / run-device-tests, MAUI Autopilot, release tooling, signing validation and related docs. Each commit is agit cherry-pick -xof the merged PR; all applied without conflicts (theeng/part of #40545 was already backported in #40629).Included (28 commits):
net11.0TFM, CoreCLR and Mono device-test runtimes, net11 Arcade SDK); SourceGen tests for .NET 12-only features are not brought over.Deliberately excluded:
net11gets its own grouped Dependabot updates (Group Dependabot NuGet updates for main and net11 #40650); localization check-ins.Note for reviewers: #40672 adds
maui-expert-autopilot-opus(Claude Opus 5.5).CopilotPipeline.Tests.ps1→ "contains no Anthropic model identifiers" fails on it exactly as it does onmaintoday. Drop that workflow here ifnet11should keep that policy test green.Validation
CI (
/azp runon this PR):maui-pr1703708 (build, pack, unit + integration tests ondotnet test/MTP)maui-pr-uitests1703714maui-pr-devicetests1703715Device-test failures (Windows only):
Windows controls packaged/unpackaged: test host terminates with0xDEADin the NavigationPage category — the known Windows blocker listed in Migrate tests from Helix and XHarness to native dotnet test #40661; the same two jobs fail onmainafter Migrate tests from Helix and XHarness to native dotnet test #40661 (1703728) and on [Validation only - do not merge] Migrate tests from Helix and XHarness to native dotnet test (net11) #40703 (1703325).Windows blazorwebview unpackaged: one test,InterceptedResponseWithoutABodyIsServedWithASingleContentTypeHeader(isContentNull: False), timed out after 30 s waiting for CoreWebView2. The same lane passed on [Validation only - do not merge] Migrate tests from Helix and XHarness to native dotnet test (net11) #40703.GitHub checks:
Validate (PR)(Release Readiness) fails inMauiReleaseConfiguration.Tests.ps1("Wrong evaluated label on candidate/11.0.1xx-sr1"). It is triggered here because #40566 touchesMauiReleaseConfiguration.psm1, and #40566 failed the same check onmain; it also fails locally on unmodifiednet11. Skill-validation evals fail on unavailableCOPILOT_PAT_*tokens and fixture fetches, the same as on #40661/#40703.Local:
actionlinton changed workflows (exit 0); YAML and PowerShell parse of all changed files (no errors). Pester over thepowershell-script-tests.ymlpaths: 26 failures vs 28 on unmodifiednet11. The only new failure is the Anthropic-model policy test (see note above), which also fails onmain.Issues Fixed
N/A — repository infrastructure sync.
Let AI finish this PR