Repository navigation
[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc2' - #39363
Closed
github-actions[bot] wants to merge 95 commits into
Closed
github-actions[bot] wants to merge 95 commits into
github-actions[bot] wants to merge 95 commits into
Conversation
…929.3 On relative base path root Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Primitives , Microsoft.JSInterop , Microsoft.NETCore.App.Ref From Version 11.0.0-rtm.26473.115 -> To Version 11.0.0-rtm.26479.103 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.JobMonitor , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XUnitExtensions From Version 11.0.0-beta.26473.115 -> To Version 11.0.0-beta.26479.103 Microsoft.NET.Sdk From Version 11.0.100-rtm.26473.115 -> To Version 11.0.100-rtm.26479.103
This pull request updates the following dependencies [marker]: <> (Begin:f4928934-9e75-4ba7-b3d0-757a5edf906c) ## From https://github.com/dotnet/dotnet - **Subscription**: [f4928934-9e75-4ba7-b3d0-757a5edf906c](https://maestro.dot.net/subscriptions?search=f4928934-9e75-4ba7-b3d0-757a5edf906c) - **Build**: [20260929.3](https://dev.azure.com/dnceng/internal/_build/results?buildId=3090654) ([334427](https://maestro.dot.net/channel/8298/github:dotnet:dotnet/build/334427)) - **Date Produced**: September 29, 2026 8:05:23 PM UTC - **Commit**: [9c4840f87ecafe62efae18d40060e5f0c931ce43](dotnet/dotnet@9c4840f) - **Branch**: [release/11.0.1xx](https://github.com/dotnet/dotnet/tree/release/11.0.1xx) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [11.0.0-rtm.26473.115 to 11.0.0-rtm.26479.103][1] - Microsoft.AspNetCore.Authentication.Facebook - Microsoft.AspNetCore.Authentication.Google - Microsoft.AspNetCore.Authentication.MicrosoftAccount - Microsoft.AspNetCore.Authorization - Microsoft.AspNetCore.Components - Microsoft.AspNetCore.Components.Analyzers - Microsoft.AspNetCore.Components.Forms - Microsoft.AspNetCore.Components.Web - Microsoft.AspNetCore.Components.WebAssembly - Microsoft.AspNetCore.Components.WebAssembly.Server - Microsoft.AspNetCore.Components.WebView - Microsoft.AspNetCore.Metadata - Microsoft.Extensions.Configuration - Microsoft.Extensions.Configuration.Abstractions - Microsoft.Extensions.Configuration.Json - Microsoft.Extensions.DependencyInjection - Microsoft.Extensions.DependencyInjection.Abstractions - Microsoft.Extensions.FileProviders.Abstractions - Microsoft.Extensions.Hosting.Abstractions - Microsoft.Extensions.Logging - Microsoft.Extensions.Logging.Abstractions - Microsoft.Extensions.Logging.Console - Microsoft.Extensions.Logging.Debug - Microsoft.Extensions.Primitives - Microsoft.JSInterop - Microsoft.NETCore.App.Ref - From [11.0.0-beta.26473.115 to 11.0.0-beta.26479.103][1] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.Build.Tasks.Installers - Microsoft.DotNet.Build.Tasks.Workloads - Microsoft.DotNet.Helix.JobMonitor - Microsoft.DotNet.Helix.Sdk - Microsoft.DotNet.RemoteExecutor - Microsoft.DotNet.SharedFramework.Sdk - Microsoft.DotNet.XUnitExtensions - From [11.0.100-rtm.26473.115 to 11.0.100-rtm.26479.103][1] - Microsoft.NET.Sdk [1]: dotnet/dotnet@64f19de...9c4840f [DependencyUpdate]: <> (End) [marker]: <> (End:f4928934-9e75-4ba7-b3d0-757a5edf906c) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…37674) <!-- 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! ### Issue Detail On Mac Catalyst, VoiceOver announces selectable task items in a CollectionView only by name, without an actionable role. Although users can activate the item with Control + Option + Space, they are not informed that it is interactive. VoiceOver should announce an appropriate role, such as “button,” for selectable items. ### Root Cause - On iOS/MacCatalyst, VoiceOver announced only a CollectionView item's text and did not announce its role/interactivity (for example, "Button"), even when SelectionMode made the item selectable. - UpdateAccessibilityTraits unconditionally applied UIAccessibilityTrait.Button to the cell's first templated child view. When that child was a non-accessible container, such as a Grid or Border wrapping a Label, the trait was applied to a view that VoiceOver did not use as the accessibility element. - The nested descendant that was actually exposed to VoiceOver (IsAccessibilityElement == true) never received the trait, so VoiceOver announced only the item's text without indicating that it was selectable/interactable. ### Description of Change - The fix changes the trait assignment to recursively search the first templated child’s view hierarchy for the first view with IsAccessibilityElement == true. The UIAccessibilityTrait.Button trait is then applied directly to that accessibility element. - The search intentionally does not descend into UIControl subtrees. This preserves the native accessibility roles of controls such as UIButton, UITextField, and UISwitch, rather than overriding their existing accessibility behavior. - For selectable items, the button trait is added to the discovered accessibility element. When SelectionMode.None is used, the trait is removed. - This ensures that the trait is applied to the same native view that VoiceOver uses as the accessibility target. Consequently, VoiceOver correctly announces both the item's content and its interactive role, for example, “Survey Employees, Button.” ### Validated the behaviour in the following platforms - [ ] Android - [ ] Windows - [ ] iOS - [x] Mac ### Issues Fixed: Fixes #37140 ### Screenshots | Before | After | |---------|--------| | <video src="https://github.com/user-attachments/assets/9b00bcc3-bb31-49f6-9f97-1fd0f3891d5a"> | <video src="https://github.com/user-attachments/assets/93426da3-564b-46dd-b5f8-60adfedb195d"> |
…ws (#38825) <!-- 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! ### Description of Change Adds `ShareTextRequest.PreviewImage` (`ShareFile?`). The share sheet shows this image as a preview of the shared text or link. - **iOS and Mac Catalyst:** `ShareActivityItemSource` already returns an `LPLinkMetadata` with `Title` and `Url`. It now also sets `ImageProvider` and `IconProvider` from the image file. The share sheet header shows the image, and Messages uses it for the link bubble. - **Android 10 (API 29) and later:** the text intent gets the image as `ClipData` (a FileProvider URI from `FileSystemUtils.GetShareableFileUri`) with `FLAG_GRANT_READ_URI_PERMISSION`, and `EXTRA_TITLE` from `Title`. The Sharesheet shows them in its content preview. The chooser intent gets the read grant flag when a preview image is present. - **Other platforms:** ignore the value. - `CreateShareTextIntent` is extracted from `PlatformRequestAsync` for tests, the same as `CreateShareFileIntent`. - The Essentials sample share page gets a "Preview image" switch. It captures a screenshot and passes it as `PreviewImage`. When `PreviewImage` is `null`, the behavior does not change. #### Public API ```csharp public class ShareTextRequest : ShareRequestBase { public ShareFile? PreviewImage { get; set; } } ``` #### Tests - New Android device tests: `Share_TextIntent_WithoutPreviewImage_HasNoClipData` and `Share_TextIntent_WithPreviewImage_HasClipData`. - Essentials, Essentials.DeviceTests (`net11.0-android`), and Essentials.Sample (`net11.0-android`) build with no errors. - The same `LPLinkMetadata` approach, done at the app level, works on an iOS 26.1 simulator (screenshot in the linked issue). ### Issues Fixed Fixes #38824
<!-- 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! ## Scope Remove **only** the old `/review rerun` machinery: the hourly scanner and its compiled workflow, rerun eligibility/query/dispatch scripts, obsolete rerun tests, and rerun queue label handling/documentation. The command was already rejected by the manual trigger; keep those rejection guards so it cannot accidentally start a normal review. **Preserved:** manual `/review` with platform/branch options and `workflow_dispatch`, missed-command recovery, `eng/pipelines/ci-copilot.yml`, the full review orchestrator and reporting/label helpers, `/review tests`, standalone review skills, and the unrelated daily `pr-review-queue.yml` report. Recovery previously imported parsing/date/permission helpers from the rerun eligibility script. Move only its seven required functions into `shared/ReviewCommandHelpers.ps1`, without changing their executable implementations, and relocate their existing tests into the recovery suite. The only change to `Review-PR.ps1` replaces obsolete `/review rerun` retry advice with `/review`. This is a fresh branch from `main`, not a reuse of the broad removal in closed, unmerged #39027. ## Validation - 258 existing local checks passed across manual trigger, recovery (including relocated helper checks), labels, `/review tests`, and AI Summary reporting. - Including the broader local `Review-PR.Tests.ps1` suite: 344 passed, one pre-existing model assertion failed. - Actual [PowerShell Script Tests CI run](https://github.com/dotnet/maui/actions/runs/36753179656): **2,201 passed, 2 failed**. Both failures expect `$model = "gpt-5.6-sol"`, while `Review-Tests.ps1` already uses `gpt-6-astra` on the base commit. They are `CopilotPipeline.Tests.ps1:70` and `Review-PR.Tests.ps1:328`; both test files and `Review-Tests.ps1` are byte-for-byte unchanged from `main` at this branch's base. These unrelated baseline failures are deliberately not fixed here. - PowerShell parsing passed; token comparison confirmed all seven extracted function implementations match `main`. - `actionlint` reports only the existing empty platform-choice warning, reproduced on `main`; with that warning excluded, the manual trigger, recovery, and daily report validate. - `git diff --check` passed; no remaining rerun machinery/queue references, apart from intentional command rejection and negative assertions. No new pipeline/YAML tests were added. The scanner source and generated lock are deleted together; no surviving gh-aw workflow needs recompilation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ## Summary - Preserve workspace-owner read access when the isolated evaluator atomically replaces `packed-refs`. - Exercise repeated evaluator pack-ref replacements followed by owner-side Git reads and restores. - Keep the existing copied-workspace, configuration, worktree, and runtime-state behavior unchanged. ## Validation - `TestPrepareVallyEvaluation.rb`: 90 runs, 650 assertions - `TestSkillWorkflowModes.rb`: 17 runs, 185 assertions - Mandatory trusted-ref validation: 8 required paths and 9 skill test directories - Strict Vally 0.14.0 lint: 17 specs - `bash -n`, focused `shellcheck`, actionlint parsing, and `git diff --check` - Linux container self-check under non-root runner ownership, covering repeated replacement/read/restore cycles and prior runtime invariants - `cgmanifest.json` and `templatestrings.json` unchanged --------- Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
…8324) <!-- 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! ### Description of Change Adds a **maintainer-triggered GitHub Agentic Workflow (gh-aw) for `/review performance`**. The command runs selected managed benchmarks against pinned merge-base/head revisions, asks GPT to interpret the evidence and coverage gaps, and publishes one independently rendered and validated performance report. It follows the `/review tests` command entrypoint and #38807's separation between untrusted execution and credentialed reporting. **The PR is now scoped to this hosted workflow and its required managed benchmarking/reporting dependencies.** ### Hosted-only scope Reduced from 63 changed files to **24**, all under `.github/`. There are no remaining changes to framework source, device tests/runners, `eng/`, or `docs/`. Retained: the workflow source/compiled lock, trusted orchestration, managed selector/ABBA runner/comparator, trusted managed benchmark overlays, coverage catalogs, GPT interpretation skill, deterministic decision/renderer/validator, focused managed/report checks, and command documentation/routing. Removed: native-device infrastructure and drivers, the local `check-pr-performance` skill, native request/evidence ingestion, the history writer, duplicate benchmark sources under `src/`, and their dedicated tests/documentation. **This PR no longer depends on #38274.** The platform catalog only describes coverage gaps; it does not execute native scenarios or promise an available device driver. Merged `main` without rewriting history. Preserved its removal of legacy rerun automation and moved the performance-command exclusion into the new shared recovery helper. ### New GitHub Agentic Workflow - **Source:** `.github/workflows/copilot-review-performance.md`. - **Compiled workflow:** `.github/workflows/copilot-review-performance.lock.yml`, generated with gh-aw **v0.86.2**. - **Trusted orchestrator:** `.github/scripts/Review-Performance.ps1` (`Gather`, `Measure`, `Prepare`, `Render`). - **Interpretation skill/model:** `perf-analysis`, using **`gpt-5.6-sol`**. A current write/maintain/admin collaborator requests a review with a newly created comment on an open PR: ```text /review performance ``` Only this exact subcommand activates the performance workflow. Other subcommands, unauthorized comments, issues, closed PRs, and changes without product files do not start measurements. The full `/review` trigger and missed-command recovery explicitly exclude `/review performance`. 1. **Trusted intake:** executes from the default branch, pins PR merge-base/head and harness SHAs, and selects coverage without executing PR code. 2. **Isolated measurements:** a disposable GitHub-hosted Linux job runs managed BenchmarkDotNet benchmarks in ABBA order. Base/head use separate unprivileged users and an explicit child-environment allowlist. No Copilot PAT or posting token reaches benchmark builds/runs. 3. **Independent evidence and GPT interpretation:** a fresh job imports bounded structured evidence and computes the decision baseline. GPT reads that bundle and the pinned diff and supplies narrative only, with no authority to execute more measurements or select another publication target. 4. **Validated gh-aw publication:** a separate safe-output job downloads independent evidence, recomputes the decision, renders and validates the report, and rechecks caller permission plus live PR base/head identities before publishing. Older performance reports are hidden. Automation failures produce a run link, not a fabricated performance verdict. Production uses the existing **`copilot-pat-pool` environment** for GPT credentials and the repository's GitHub Actions token for scoped publication. There is no new Azure pipeline, service connection, device queue, or scheduled recovery. ### Manual dispatch and retries After deployment to the default branch: ```bash # Measure, interpret, render, and validate without posting. gh workflow run copilot-review-performance.lock.yml \ --repo dotnet/maui --ref main \ -f pr_number=32382 -f suppress_output=true # Run the same workflow and publish the validated report. gh workflow run copilot-review-performance.lock.yml \ --repo dotnet/maui --ref main \ -f pr_number=32382 -f suppress_output=false ``` `pr_number` must identify an open PR. Dry-run mode suppresses publication, not measurements, GPT interpretation, or report validation. Context, structured evidence, reports, and separate SDK-install/build/benchmark diagnostics are retained for seven days. Diagnostic logs are not admitted as measurement evidence. **Retry with a fresh dispatch or a new command, not Re-run failed jobs.** Repeated attempts can leave same-named gh-aw agent artifacts in one run, allowing a downstream job to select an earlier attempt's empty output. The decision resolver recommends a managed retry only for missing/incomplete execution or benchmark data; repeating completed unchanged filters cannot fill excluded benchmark-input or native coverage gaps. ### Evidence policy | Evidence | Treatment | |---|---| | Managed allocations | Repeated non-overlapping ranges; default materiality thresholds of 8 bytes and 0.5% | | Shared-host timing | Advisory; requires non-overlapping ranges and at least 15% median movement | | Sampled benchmark families | Supplemental evidence, not proof the changed path executed | | Native paths | Explicit unmeasured coverage gaps; no native execution or local evidence admission | | Missing/incompatible evidence | Incomplete or inconclusive, never a whole-PR pass | The deterministic scripts own verdicts, coverage, and permitted actions. GPT cannot erase a measured regression or clear missing/sampled evidence. Recommendations distinguish measurements, static support, and hypotheses. There is no numeric worth-it score, automatic merge decision, code/label mutation, issue closure, or automatic follow-up. ### Successful final fork verification The [fresh final fork canary](https://github.com/kubaflo/maui/actions/runs/36765284345) **completed successfully** against #32382, using the final production implementation from `867ffde2fe`. - Intake, activation, measurements, evidence preparation, GPT interpretation, detection, safe outputs, and conclusion all succeeded. - Both Core builds succeeded under `LinuxUsers` isolation with `credentialsSanitized: true`. - Seven benchmarks completed in each of the four ABBA runs, with matching benchmark sets and complete measurement data. - Changed binding/XAML workloads remained excluded. Coverage was explicitly incomplete, with the deterministic next action `needs_human_discussion`; no native measurements or whole-PR clearance were claimed. - The downloaded report-validation artifact contains **`valid: true` and `errors: []`**. Canary commit `e2550e87ba` differs from production only in the two workflow files: it uses the existing personal Copilot secret, restricts dispatch to the dedicated fork branch, targets the selected upstream PR, and forces staged output. **No new upstream report was posted, and no upstream environment protection was changed.** Production PAT-pool configuration and normal publication behavior remain intact on the PR branch. The staged run retains a non-fatal gh-aw conclusion annotation about the absent `safe-outputs-items` artifact. The actual safe-output rendering/validation job and overall run succeeded; this is not a claim that live upstream publication was exercised by the dry run. ### Additional validation and CI caveats All five retained managed/decision/report suites passed again on the final revision. The 69 existing command-routing/recovery checks passed. PowerShell/JSON syntax, scoped formatting, whitespace checks, strict gh-aw compilation, and native actionlint checks passed. Existing shared-workflow actionlint diagnostics were verified against `main` and left unchanged. **Normal PR checks are not all green:** the [Pester check](https://github.com/dotnet/maui/actions/runs/36765208984) has 2,201 passes and two stale assertions expecting `gpt-5.6-sol` while `Review-Tests.ps1` uses `gpt-6-astra`. Both test files and their subject are byte-identical to the merged `main`. [Skill Validation](https://github.com/dotnet/maui/actions/runs/36765201279) fails before inspecting PR content because the unchanged checkout action refuses fork checkout in `pull_request_target`. These unrelated shared checks were not weakened or modified. `maui-pr` is neutral on the final GitHub-only revision. Earlier real hosted runs exposed and verified fixes for assigning to PowerShell's read-only `$HOME` and using the Windows-only SDK installer on Linux. Those fixes and retained diagnostic artifacts remain in the reduced implementation. **Deployment remains pending:** the PR is still a draft and unmerged. The workflow, lock, skill, and trusted scripts must reach `dotnet/maui`'s default branch before the upstream slash command operates. Fork validation does not imply production activation or replace normal CI and human review. Operating instructions are in `.github/docs/pr-review-workflow.md`. ### Issues Fixed No product issue is closed. This PR adds an explicitly authorized, hosted managed-performance review workflow. --------- Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9c4135af-95e6-472d-9309-98f5d13cb737
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
<!-- 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! ### Description of Change Switch all 14 GitHub Agentic Workflows from `gpt-5.6-sol` to `gpt-6.1-sol` and regenerate their `.lock.yml` files. GPT-6.1 Sol is enabled in the live Copilot model catalog and supports the Responses API. A restricted, no-tool Copilot CLI inference request using the exact model ID also succeeded. The pinned gh-aw v0.86.2 runtime and AWF v0.27.44 pricing catalog do not yet include this model. To make the change runnable without upgrading infrastructure: - Explicitly configure `COPILOT_PROVIDER_WIRE_API: responses` for both agent and threat-detection execution. - Import shared, model-specific pricing from `shared/gpt-6.1-sol.md`, using the [official OpenAI model reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol): $2 input, $10 output, $0.10 cached input, and $2.50 cache writes per million tokens. - Update the hosted review workflow documentation. Local review runners and offline evaluation models are unchanged. Compiler, Copilot CLI (1.0.79), firewall, action pins, permissions, triggers, and safe-output settings remain unchanged. The existing firewall supports live discovery of models missing from its offline catalog; the pricing overlay avoids its missing-pricing inference rejection. ### Validation - `gh aw compile --strict --no-check-update` succeeded for all 14 workflows. - `gh aw list --json` confirms every generated lock is current. - Inspected all generated execution environments and pricing overlays: both execution phases use `gpt-6.1-sol` and `responses`. - Native actionlint found only two reproduced baseline diagnostics: its unsupported `concurrency.queue` field and existing `github.aw.import-inputs.random_seed` expressions. With those existing diagnostics excluded, all 14 lock files pass. The compiler's Docker-based actionlint invocation could not run because Docker is unavailable locally. - `git diff --check` passed. No pipeline tests were added. ### Issues Fixed N/A — workflow model configuration update. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ## Summary Follow-up to #38324. The first production `/review performance` run successfully published its report, but used flat Markdown instead of the agreed expandable presentation: [example on #39024](#39024 (comment)). - Restore **Performance Review Summary**, the actual PR author/pinned commit notification, and truthful Scope/Result/Commit badges as the visible header. - Put the verdict, coverage and benchmark table inside **Performance Results**, and static findings, recommendations and next action inside **Findings & Follow-up**. Both sections are closed by default for static-only, measured and incomplete reports. - Pass trusted PR metadata into rendering and validation. Reject flat, expanded, nested, extra or incorrectly named sections, stray expanded narrative, mismatched authors/commits and misleading badges. Escape narrative HTML and block fences so generated prose cannot break the layout. - Allow `img.shields.io` in gh-aw's safe-output URL policy without expanding the agent network allowlist, and regenerate the workflow with gh-aw v0.86.2. Measurement, verdict, coverage, permissions and stale-evidence rules are unchanged. This does not modify the existing production comment; the new layout takes effect for commands after this fix reaches the default branch. ## GPT-6.1 Sol alignment Includes the merged #39036 model migration, retaining `gpt-6.1-sol`, Responses API configuration and shared pricing for all 14 gh-aw workflows, including agent and threat-detection execution. Corrects the stale hosted-model sentence identified in [this review thread](#39036 (comment)), while preserving the independent configuration of local runners and evaluations. ## Validation - All five existing perf-analysis suites pass; report-component coverage includes every verdict, both report profiles and 12 malformed-layout rejection cases. No pipeline/YAML configuration tests were added. - Replayed the trusted Render stage using production run `36778478869` evidence and original narrative, without posting a comment. Re-rendered the measured ABBA report from run `36765284345` with unchanged evidence and narrative. - GitHub's Markdown API rendered both reports with exactly two closed sibling accordions, three visible badges and the managed benchmark table inside Performance Results. The exact previously published flat report now fails presentation validation. - All 14 workflows compile with pinned gh-aw v0.86.2. Inspected all 28 generated agent/detection environments: `gpt-6.1-sol` and `responses`. Native actionlint passes with the documented baseline exclusions; PowerShell/JSON parsing and scoped formatting pass. - **Fresh staged fork canary passed:** [run 36784039109](https://github.com/kubaflo/maui/actions/runs/36784039109), based on production commit `b509aa2fa89c2c93fe40bfac57729e8ac20d72a5`. All executed jobs succeeded, report validation is `valid: true` with no errors, and runtime logs confirm GPT-6.1 Sol/Responses in both agent and detection. Safe-output processing reports one staged operation with no failed operations. The report artifact contains the restored layout; no live performance comment was posted. The canary differs only in the two workflow files: exact dedicated-fork/manual-dispatch guards, an existing personal inference secret, a fixed upstream target and forced staging. Production files are restored and clean. The known non-fatal staged-mode `safe-outputs-items` missing-artifact annotation remains; report validation and safe-output processing succeed. The upstream Skill Validation check is blocked before evaluating PR content by the existing `actions/checkout` refusal to run fork code in `pull_request_target`. This PR does not weaken that guard. ---------
### Description of Change Setting UseInterpreter=true for iOS or Mac Catalyst raises a warning in .NET 11: > The property 'UseInterpreter' has no effect when not using the Mono runtime (for instance when using CoreCLR). so don't set UseInterpreter for iOS or Mac Catalyst (as the warning says, it has no effect) when running on .NET 11+. ---------
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * morning4coffe-dev * PureWeen * kubaflo * Dhivya-SF4094 ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Description of Change Adds `DataPackageOperation.Move = 2` so a drop target can request Move through the shared `DragEventArgs.AcceptedOperation` API. On iOS and Mac Catalyst, preserve and aggregate accepted operations rather than reducing them to a Boolean. Propose native Move only when the drag session permits it. Default Copy behavior, Copy preference for `Copy | Move`, acceptance across multiple recognizers, and explicit native drop-proposal precedence are preserved. Windows and Android framework implementations are unchanged. The Windows sample explicitly opts its source into native `Copy | Move` permissions, and the Apple sample uses shared Move acceptance. Updates API declarations and documents the application-owned data changes. **This does not automatically remove source data, reorder collections, or implement CollectionView reordering.** Applications still own those changes. It also does not guarantee specific preview dimensions. ### Release Target and Regression Risk **This should still be safe to consider for .NET 11:** the behavior is opt-in, the implementation is narrow, and the existing supported `None`/`Copy` behavior is preserved. Independent reviews with GPT-6 Astra and Claude Opus 4.8 found no concrete regression for those existing supported inputs, supported by the local results below. **If this is too late in the .NET 11 release cycle, we can defer it to .NET 12.** Preserving existing behavior takes priority over landing the feature before the cutoff. This is not an unconditional last-minute merge recommendation: normal candidate CI and affected-platform validation should still gate acceptance, particularly Mac Catalyst, which shares the changed Apple delegate, and the Windows sample's source-operation negotiation. One compatibility caveat is explicit: on Apple platforms, previously undefined numeric enum values can behave differently. For example, `(DataPackageOperation)4` previously fell back to Copy and now results in Cancel when no native proposal override is provided. This is outside the previously declared `None`/`Copy` contract, but is not a claim of identical behavior for every numeric cast. ### Validation | Local suite | Result | | --- | --- | | Shared gesture/data-package tests | 169 passed, including 159 pre-existing cases | | Existing iOS drag/drop NUnit/Appium UI tests | 6 passed | | Native iOS device tests | 41 passed, including 38 drag/drop cases | | Controls product build targeting `net11.0` | Passed with 0 warnings and 0 errors | The existing UI tests exercise real gestures, cross-layout drops, event delivery, platform event arguments, and drag/drop coordinates. Additional local Sandbox/Appium checks covered eight scenarios, including default Copy, explicit Move, rejected drops, cancellation outside a target, native overrides, and requesting full-size previews. Native regression coverage includes source Move restrictions; `None`, Copy, Move, and combined flags; missing/disabled recognizers; recognizer ordering and passive recognizers; custom native proposals; per-update state reset; and disabling, removing, and replacing recognizers between updates. **Validation limits:** iOS ran on an iPhone 17 Pro simulator with iOS 26.4 using the worktree-local .NET 11 RC2 SDK and iOS workload. Local toolchain workarounds included an app-only runtime override, `MtouchLink=SdkOnly`, and `ValidateXcodeVersion=false`; those temporary project/harness changes are not included in this PR. Windows, Android, and Mac Catalyst have not been runtime-tested locally. A fail-without-fix comparison was not completed. Local results do not replace standard release-configuration or candidate CI validation. ### Issues Fixed Fixes #16472
<!-- 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! ### Description of Change Remove two source-identified causes of intermittent UI-test failures without weakening regression coverage: - `Issue10947.CollectionViewHeaderShouldNotScroll` reacquires native header/footer geometry after focus changes using the existing stale-element-aware helper. Its fixture explicitly respects container safe areas: local Android execution demonstrated that the header could otherwise be completely hidden underneath the status bar and absent from the accessibility tree. Both exact rectangle comparisons are unchanged. - `ShellFlyoutContent.FlyoutContentTests` waits for restored default flyout items after custom content/template reset, and for destination page controls after selection, instead of tapping during native flyout reconstruction. There are no test skips, new blanket retries, arbitrary sleeps, snapshot changes, or relaxed assertions. This complements #38822 rather than duplicating its null-content ScrollView and Android photo-picker fixes. ### Issues Fixed CI-observed stale-element/lookup failures in the CollectionView header/footer regression and the Shell flyout-content restoration test. This is test/fixture-only; it does not claim to fix persistent CollectionView scrolling, lifecycle crashes, XAML constructor failures, or build errors found during the cross-branch investigation. ### Validation All runs used `.github/scripts/BuildAndRunHostApp.ps1` with method-name filters and explicit checks that the intended tests actually executed. | Platform | Header/footer | Flyout-content | |---|---|---| | Android API 34 | Four independent first-attempt passes | Three independent first-attempt passes | | iOS, iPhone 17 Pro | One first-attempt pass | One first-attempt pass | | Windows / MacCatalyst | Not run locally | Not run locally | Nine genuine passing executions in total. Failed-test retry recoveries and zero-test runner success are explicitly excluded from the validation count. Formatting and patch whitespace checks passed. `maui-pr` was queued for commit `4f4bcaabaa`. Cross-platform UI CI was requested with `/azp run maui-pr-uitests`; its results are pending. Finite runs do not establish absolute reliability. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…: Build ID 3093589 (#38750) This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc. --------- Co-authored-by: dotnet-oneloc-localization[bot] <310689744+dotnet-oneloc-localization[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
### Description of Change Fixes #15570. Related to #19906. Every change to `Map.Pins` calls `Handler.UpdateValue(nameof(IMap.Pins))`, and the pins mapper removes and re-adds every native marker (Android `MapPins`; iOS `MauiMKMapView.AddPins` removes all annotations first). The `ItemsSource` paths go through that per pin: - **`ItemsSource`, `ItemTemplate` or `ItemTemplateSelector` set** — `_pins.Clear()` then `CreatePinItems()`, which adds each pin to `_pins`: one full rebuild per item, plus one at the end. With n items that is n + 2 rebuilds and about n²/2 marker creations. - **`ItemsSource` collection change** — `e.Apply` adds the pin (one rebuild), then `OnItemsSourceCollectionChanged` updates again: the double `MapPins` call reported in #15570. The `ItemsSource` paths now batch their pin changes: `_pins` still raises its events (pins still get their `Parent`), but the handler is updated once, when the outermost batch ends. Direct `Pins.Add` / `Remove` are unchanged and still update the handler synchronously — `DisconnectClearsNativeMapStateBeforePooling` and app code rely on the native annotations existing right after the call, so deferring those is not on the table here. That leaves the direct-add loop of #19906 quadratic. We hit it in an app adding 814 pins one by one: on a Samsung SM-X230 the UI thread stalled 7–44 s at a time and Android raised an ANR, each rebuild allocating enough Java peers that the GC bridge ran a full Java collection after every .NET one. After this change, binding that list through `ItemsSource` costs one rebuild. Making direct adds cheap needs either a batching API or incremental handler updates — happy to follow up if one of those is wanted. ### Issues Fixed Fixes #15570 ### Validation `Microsoft.Maui.Controls.Core.UnitTests` MapTests: 112/112, four new tests counting `UpdateValue(nameof(IMap.Pins))` with the existing `UpdateValueTrackingHandlerStub`: | test | before | after | |---|---|---| | `SettingItemsSourceUpdatesPinsOnce` (100 items) | fails | 1 update | | `ChangingItemTemplateUpdatesPinsOnce` (100 items) | fails | 1 update | | `ItemsSourceCollectionChangeUpdatesPinsOnce` | fails (2 updates) | 1 update | | `AddingAPinUpdatesPinsImmediately` | 1 per add | 1 per add |
Preserve translated descriptions and the lowercase empty parameter keys used by the .NET 11 Blazor templates. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * dotnet-oneloc-localization[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
…9094) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> User-directed correction targeting **net11.0**. `WaitForCollect(params WeakReference[])` previously retained a false aggregation verdict when an earlier reference survived its bounded wait, even if collection during later waits killed that target. Run every existing per-reference wait unchanged, then evaluate the current liveness of all references. `WaitForGC` still requires a nonempty collection and every target dead; null handling, the 40-iteration budget, and real leak failures remain unchanged. Add nine regression/safety cases in the existing Core device-test project, categorized as Memory. A controlled `WeakReference.IsAlive` synchronization releases a real strongly rooted earlier target only after its own wait and performs real GC. Coverage exercises both helper entrypoints, retained targets in either position, already-dead references, empty input, null elements, and null arrays. The synchronization is test-only; no production sleeps, retries, timeout changes, product/handler changes, skips, or quarantines. **Managed validation** A private managed-only harness linked the repository test file and compiled the verbatim GC helper methods from the original commit and patched working tree, with real xUnit 2.9.3 assertions. Only the device Category metadata was shimmed. Its SDK 10.0.100 / net10.0 pin was confined to the private harness; repository SDK/TFMs and analyzers were not changed. Commands run from that harness directory: - `python3 materialize.py original && dotnet run --project GcAggregation.csproj --configuration Release -- original` — passed: 40/40 expected original stale-verdict failures, 140/140 safety cases, over 20 repetitions on .NET 10.0.0. - `python3 materialize.py patched && dotnet run --project GcAggregation.csproj --configuration Release -- patched` — passed: 40/40 corrected regression cases, 140/140 safety cases, over 20 repetitions on .NET 10.0.0. - `python3 materialize.py original && dotnet build GcAggregation.csproj --configuration Release --no-restore --verbosity quiet && dotnet exec --fx-version 11.0.0-preview.6.26359.118 bin/Release/net10.0/GcAggregation.dll original` — passed: build zero warnings/errors, 40/40 expected original failures and 140/140 safety cases on the explicitly selected installed .NET 11 preview runtime. - `python3 materialize.py patched && dotnet build GcAggregation.csproj --configuration Release --no-restore --verbosity quiet && dotnet exec --fx-version 11.0.0-preview.6.26359.118 bin/Release/net10.0/GcAggregation.dll patched` — passed: build zero warnings/errors, 40/40 corrected cases and 140/140 safety cases on that managed preview runtime. This is not the pinned RC SDK/native runtime. Repository commands: - `dotnet format Microsoft.Maui.sln --no-restore --include src/TestUtils/src/DeviceTests/AssertionExtensions.cs src/Core/tests/DeviceTests/AssertionExtensionsTests.cs --exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet` — passed. - `git diff --check` and `git diff --cached --check` — passed. - `dotnet test src/Core/tests/UnitTests/Core.UnitTests.csproj --no-restore --filter FullyQualifiedName~AssertionExtensionsTests --verbosity quiet` — initial build feasibility probe blocked by NETSDK1004 (missing project.assets.json); no tests ran. New coverage belongs to Core.DeviceTests, not Core.UnitTests. **Remote native validation** `/azp run maui-pr-devicetests` — requested once when no device build existed; [build 1621691](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1621691) completed **failed** at 20:54:01 UTC, with exact `pr.sourceSha=bacabeaf278fc87b1f45b9ac8a821a5e4eaeb37c` and merge source `d601c06278694e08412b4ce6bc5811c3d22db20d`. Actual uploaded xUnit XMLs confirm **90/90 helper cases passed**: all nine cases on Android CoreCLR/Mono, iOS 15/26 CoreCLR/Mono, MacCatalyst 15/26 CoreCLR, and Windows packaged/unpackaged. Assembly and collection declarations were reconciled against actual test occurrences. Both Windows Core category XMLs were also reconciled as exact multisets against their respective 2,135-test aggregates. Remote device compilation succeeded for CoreCLR, Mono and Windows Core packaged/unpackaged. **SwipeView ItemsDoNotLeak passed in all eight non-Windows configurations.** It is absent in both Windows Controls aggregates, so no Windows pass for that particular target is claimed. Device CI is **not clean**: two Android CoreCLR HybridWebView InvokeDotNet page-ready timeouts; iOS 15 Mono CollectionViewDoesNotLeakWithDefaultItemsLayout with a living CollectionView; and iOS 26 Mono PagesDoNotLeak(NavigationPage, includeNavigationViewHandler: true) with living NavigationPage/ContentPage/ContentView. Each exact case passed in the immediately preceding matching configuration on build 1621616. Causality remains unproven; these failures are not dismissed as known flakes. No unrelated correction or second CI cycle was requested. Six full completed submission logs corroborate the nine exact Helix jobs without additional submissions. The advertised AzDO test-run list was untruncated. Available results were inspected even for green legs; these final logical/catalog snapshots do not independently prove exhaustive unadvertised earlier native attempt history. **Limits:** no local UI/device/simulator/emulator/XCTest/XCUITest/Appium execution occurred. Managed validation proves the helper aggregation defect, not the precise Android scheduling cause, exclusive root cause, or a SwipeView product leak cure. This single device cycle does not establish cured flakiness or merge readiness. Main CI build 1621690 was still running at the latest observation. Continuous PR monitoring remains active; no automatic merge. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No linked issue. This fixes a confirmed test-helper aggregation defect. Investigation was prompted by [net11.0 device build 1621616](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1621616) at `42c9786b7c6796797e5ba7a12c422f32e0008630`, where Android CoreCLR Controls SwipeViewTests.ItemsDoNotLeak reported an empty surviving-reference list. The exact native scheduling cause remains untraced; this PR does not claim an exclusive root cause. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. -->
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Add `/issue trace-regression` as a maintainer-triggered issue investigation command, following the authorization and expandable-comment conventions of `/review tests`. - Accept only newly created, standalone issue comments from users with current `write`, `maintain`, or `admin` permission. Ignore PR comments, bots, edits, and other subcommands. Check permission before and after evidence collection; a removed collaborator's 404 is an unauthorized no-op, while private organization membership is not excluded by an author-association filter. - Gate the credential-bearing PAT-pool job on the collector's validated `should_run` output, so unrelated `/issue` commands do not enter that job. - Preserve the maximum pending per-issue queue, so unrelated comment or edit events cannot replace a pending authorized request. Leave the command visible until a report is actually published; a separate trusted completion job requires the native report comment ID, fetches that exact comment, requires its exact triggering-issue URL, and rechecks current permission before best-effort minimization. Its explicit `!cancelled()` condition permits completion after an agent failure that nevertheless produced the published output, while cancellation or an absent publication receipt skips completion. A positive ID or successful publisher job alone cannot resolve an unanswered command. - Use **GPT-6.1 Sol** (`gpt-6.1-sol`) and the dedicated `trace-regression` skill to investigate candidate introducing commits and PRs. Explicitly select the Responses API and import the same model-pricing configuration used by the repository's other GPT-6.1 Sol workflows. - Freeze reported versions, exact release-tag SHAs, recent comments, and bounded history in the compiler's read-only `$RUNNER_TEMP/gh-aw` mount. The snapshot download is required: a failed download stops inference instead of falling back to mutable live issue data. - Parse issue-form headings only outside backtick or tilde fences. Treat real duplicate version headings as ambiguous: do not select a value, resolve a tag, or compare releases for that boundary. Detect partial comment pages by their expected counts, then revalidate the issue's count and normalized update timestamp. Concurrent changes or failed revalidation discard questionable comments and explicitly mark the evidence incomplete. Report these gaps, missing evidence, conflicting tags, divergent ancestry, policy-filtered reads, and truncated results. - Distinguish confirmed introductions, likely introductions, candidates, and insufficient evidence. Static inspection must not be described as a completed reproduction or bisect. - Publish one expandable report, restricted to the triggering issue, and collapse older reports. The pinned v0.86.2 add-comment handler prioritizes explicit agent target aliases over both `target: triggering` and a fixed numeric target. Configuration alone is therefore not the boundary: a token-free trusted validation step checks a bounded regular output file before native publication, rejects cross-issue aliases, foreign repository overrides, existing-comment/status edits, and unsupported operations. The collector/helper runs from an immutable trusted checkout, and the agent output is copied only as data outside it. Explicitly disable pull-request publication; generated safe-output and conclusion jobs have no PR write permission. Disable both agent-failure and the separate failed-custom-job issue reporters, so failed completion cannot create an untargeted repository issue. - Require each report intent to contain a nonempty text body and reject multiple `add_comment` intents before the native maximum can select one. The pinned handler's maximum-only body limits otherwise accept whitespace and subsequently add report markers, potentially creating a marker-only comment. Empty/noop/missing-data outcomes remain permitted: requiring exactly one report unconditionally would break legitimate no-report paths, and these paths cannot minimize the command without a verified publication receipt. This validates minimum report shape, not the semantic accuracy of AI analysis. This is report-only: it does not execute reproduction code, builds, tests, or bisects, modify labels, or push fixes. The discarded conflict-resolution implementation is not part of the final diff. The model migration does not change triggers, permissions, collector behavior, or publication scope. The obsolete hardcoded GPT-5.6 configuration assertion was removed. The original PR already included functional tests and workflow/report source-contract checks; the model migration and subsequent review-fix batches added no additional pipeline/configuration tests. Workflow changes are validated with strict compilation and actual hosted execution. #### Validation - `gh aw compile issue-trace-regression --validate --strict` and `gh aw compile issue-trace-regression --validate --strict --no-emit` — **passed**, zero warnings; regenerated lockfile included with the earlier frontmatter change. The latest body/count fix changes only the trusted helper and directly related documentation, so production frontmatter and lockfile are unchanged. Native ordering was inspected: output download, output-path setup, immutable-SHA credentials-free checkout, bounded scope guard, then `Process Safe Outputs`. All 15 consumers of the shared PAT-pool import also passed strict validated compilation in the earlier shared-import batch; two existing warnings remain in unrelated workflows. - `pwsh -NoProfile -Command '$config = New-PesterConfiguration; $config.Run.Path = @(".github/scripts/IssueRegression.Tests.ps1", ".github/scripts/ReviewTrigger.Tests.ps1", ".github/scripts/shared/Invoke-GhCommandWithRetry.Tests.ps1", ".github/scripts/shared/Copy-BoundedDiagnosticFile.Tests.ps1"); $config.Run.PassThru = $true; $config.Output.Verbosity = "Normal"; $result = Invoke-Pester -Configuration $config; if ($result.FailedCount -gt 0 -or $result.TotalCount -lt 1) { exit 1 }'` — **passed**, 303 existing collector, trigger, retry, source-contract, and bounded-copy checks. Existing completion fixtures were adapted for the newly required valid receipt; no test cases or configuration assertions were added. These suites are not claimed as new automated coverage of the publication validator; that function was exercised directly and through actual hosted runs below. Maintained validator regression tests were not added under the requested no-new-pipeline-tests scope. - `gh aw compile copilot-review-tests --validate --strict` — **passed** for the fork-only dispatch harness; this harness is not part of the production PR. - **Final minimum report-shape validation on the production-identical helper:** the [normal run](https://github.com/kubaflo/maui/actions/runs/36959639518) accepted a real report alongside a diagnostic `missing_tool`, successfully published [report 5945066587](kubaflo#928 (comment)), verified its issue URL, and resolved only its command. The [whitespace-only run](https://github.com/kubaflo/maui/actions/runs/36959642227) modified the actual emitted report body to whitespace; the trusted guard failed with the nonempty-body error, native processing and completion were skipped, no report was created, and its command remained visible. The [duplicate-intent run](https://github.com/kubaflo/maui/actions/runs/36959644940) added a second real same-issue report intent with a distinct temporary ID; the trusted guard rejected the pair before native processing, no report was created, and its command remained visible. Both negative runs intentionally conclude failure; their required rejection outcomes passed. Actual output artifacts, native step outcomes, report/issue receipts, and GitHub minimized states were inspected. Before/after inventories contained the same 88 issue IDs; only the normal run published a new report. Both fault modes default off and exist only on the isolated fork dispatch branch. - Direct function execution accepted a valid report and empty/noop/missing-data outcomes; rejected missing, null, non-text, and whitespace-only bodies and duplicate reports; and rechecked all 13 target/repository/edit fields. This is one-off functional validation, not a maintained regression suite. No additional pipeline/configuration tests were introduced. - **Earlier publication binding and independent receipt verification:** the [normal fork run](https://github.com/kubaflo/maui/actions/runs/36955490959) successfully ran the guard, posted [report 5944525378](kubaflo#928 (comment)) to the expected issue, verified its exact issue URL, and resolved only its own command. The [guarded cross-target run](https://github.com/kubaflo/maui/actions/runs/36955493105) deliberately changed exactly one real GPT-6.1 Sol output to `item_number=929`; the trusted validation step failed, native publication and completion were skipped, no report from that run appeared on either fixture, and the original command stayed visible. That run intentionally concludes failure; the required rejection outcome passed. The [fork-only guard-bypass run](https://github.com/kubaflo/maui/actions/runs/36955495393) independently exercised completion: the pinned native handler posted [actual report 5944684604](kubaflo#929 (comment)) to isolated secondary fixture 929, but completion fetched its receipt, rejected the mismatched issue URL, and left the original issue-928 command visible. GitHub's actual minimized states were checked; a successful completion job was not mistaken for minimization. Before/after inventories contained the same 88 fork issue IDs, with no unexpected issue creation. Mutation and bypass inputs default off, exist only in the isolated fork harness, and were never added to production. - Earlier direct probes rejected all eight cross-issue aliases, a foreign repository, existing-comment edits, case-normalized unsupported operations, and native `target: status` edits; valid same-issue output remained accepted. The status-edit rejection was directly probed, not claimed as a hosted status-mutation test. Exact-size probes accepted a 1 MiB JSON file and detected a 1 MiB + 1 byte file as truncated before parsing. - **Earlier failed-agent and failed-completion paths:** [fork run](https://github.com/kubaflo/maui/actions/runs/36945016403), [generated report](kubaflo#928 (comment)). Real GPT-6.1 Sol inference emitted its safe output before a fork-only hook deliberately failed the agent job with exit 23. Native safe outputs successfully published the report, and the trusted completion step actually minimized the answered command before another fork-only hook failed completion with exit 24. GitHub confirmed the command's minimized state and `resolved` reason. Conclusion succeeded with no failed-job reporter step; complete before/after inventories contained the same 87 then-existing fork issue IDs. The run intentionally concludes failure; its required failure-path outcomes passed. Both fault inputs default off and exist only in the isolated fork harness. - **Earlier missing-publication receipt validation:** the [missing-snapshot control](https://github.com/kubaflo/maui/actions/runs/36945019130) failed the required download as expected. Both Copilot inference steps and command completion were skipped; safe outputs succeeded but published no report, and its command remained visible. This run intentionally concludes failure; the required no-report outcome passed. - **Earlier all-success hosted GPT-6.1 Sol execution:** [fork run](https://github.com/kubaflo/maui/actions/runs/36934845495), [generated report](kubaflo#928 (comment)). All eight jobs succeeded and exactly one report was published. The collector ignored deliberately prepended fenced version examples and resolved the real `9.0.100 SR10`/`10.0.40` fields. Actual `agent_usage.json` identifies `gpt-6.1-sol`; the report preserved divergent ancestry and incomplete source-history evidence without claiming runtime confirmation. The completion log recorded the published report ID before minimization, and GitHub confirmed only that run's command became resolved. - **Earlier required snapshot failure and visibility validation:** the [queued fork run with a deliberately unavailable artifact](https://github.com/kubaflo/maui/actions/runs/36934895797) failed at the required download as expected. Both Copilot execution steps and command minimization were skipped; no report was published and its command stayed visible. Its collector artifact also recorded a deliberately outdated captured issue marker as an explicit comment-snapshot gap, with zero retained comments and `commentsTruncated: true`. - **Pending queue and negative-command validation:** the [unrelated-command fork run](https://github.com/kubaflo/maui/actions/runs/36934898946) arrived after the missing-context request while the positive run was active. Both subsequent runs remained pending, then both ran without cancellation. The unrelated command skipped the entire PAT pool, inference, publication, and minimization. - A direct collector exercise also verified the exact 100-to-101 comment-count race and longer backtick fences with a shorter interior fence. Real version fields were retained, and the race discarded questionable comments with an explicit incomplete-history gap. - The original collector and updated skill were used on the fork with only dispatch, existing fork credential wiring, fixed fork publication context, and documented controlled fault/mutation/bypass hooks adapted. The upstream issue and fork default branch were unchanged by these validation runs. - **Not covered by fork dispatch:** production `issue_comment` webhook delivery and upstream permission checks. The real fork command, PAT-pool skip, queue preservation, scoped publication, and command minimization were validated through the isolated dispatch adapter; this is not a claim that the production webhook ran. - On current commit `3683461f99`, [Skill Validation](https://github.com/dotnet/maui/actions/runs/36961565300) **passed**. [PowerShell Script Tests](https://github.com/dotnet/maui/actions/runs/36961567642) passed **2456/2459**, failing only the same three unrelated `/review tests` contracts that still assert GPT-5.6. Their actual failure logs were inspected, and those tests and referenced implementations remain byte-identical to merged `main` at `b9dc0cc2b2815a68dcbca3819a9898fc33f692db`; the local reviewer actually uses `gpt-6-astra`, and the hosted reviewer uses `gpt-6.1-sol`. These inherited assertions were left unchanged, so this is not an all-green CI claim. No completed `main` runtime baseline was obtained. Current Azure PR-build queries for all three canonical pipelines returned no builds. - Runtime accounting caveat: the latest normal report-bearing run's `agent_usage.json` identifies `gpt-6.1-sol` and reports 856,531 input/output tokens (including 783,723 cached input tokens) but zero AI credits despite the pricing override being present. Zero must not be interpreted as a free run. #### Credential and dependency audit No new secret configuration is required. The workflow reuses `COPILOT_PAT_0` through `COPILOT_PAT_9` through the existing shared PAT pool. The old and regenerated production lockfile manifests are identical: no secret, action, or container was added or removed by the model migration or latest failure-path/scope fixes. No redirect changes are introduced. The shared pricing import matches the established GPT-6.1 Sol configuration on `main`. The final minimum-body/count hardening changes only the trusted helper and documentation; production workflow configuration and lockfile are unchanged. The agent has read-only **GitHub** permissions and a read-only evidence mount; this is not a claim that its entire filesystem is immutable. Trusted checkouts do not persist credentials. Pre-activation has only issue-read permission; report publication is isolated in the safe-output job with `target: triggering` plus independent pre-publication validation. The trusted publisher now also has `contents: read` to check out the validator; the pinned compiler propagates the same read grant to conclusion. The separate completion job receives issue-write permission to minimize the already answered original command only after verifying the actual receipt's issue URL and rechecking authorization. The native conclusion job still retains issue-write permission for its other handlers; both agent-failure and failed-custom-job issue reporters are explicitly disabled. These jobs have no PR write permission. ### 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 — adds a report-only maintainer command; it does not fix the issues it investigates. #34057 was used as the hosted investigation example. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- 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! ### Description of Change `.github/skills/issue-triage/scripts/query-issues.ps1` is the mandated entry point for the `issue-triage` skill. It aborts partway through every run on any host whose culture uses `dd/MM` date order (`en-GB`, `en-PL`, `pl-PL`, `de-DE`, …): ``` Exception calling "Parse" with "1" argument(s): "String '09/30/2026 21:39:41' was not recognized as a valid DateTime." ``` **Root cause.** `ConvertFrom-Json` already materializes an ISO-8601 JSON value as a `[datetime]`. Calling `[datetime]::Parse($value)` on that object therefore renders it *back* to a string using the **invariant** culture (`MM/dd/yyyy HH:mm:ss`) and reads it back using the **current** culture: * when the day is **> 12**, the parse throws outright — this is the crash above; * when the day is **≤ 12**, it is worse: it silently transposes day and month (`2026-07-01` → `2026-01-07`), so every age / staleness number is wrong by months **with no error at all**. A 6-day-old issue reads as 181 days old, which silently corrupts the `-MinAge` / `-MaxAge` filters and the `Age` column used to make triage decisions. The round-trip also discards the offset, leaving `Kind = Unspecified`. **Fix.** Route all four timestamp sites through a new `ConvertFrom-GitHubTimestamp` helper that passes an already-typed `[datetime]` straight through (no round-trip at all) and parses genuine strings with `InvariantCulture` + `RoundtripKind` so the UTC marker survives. This is the convention already used elsewhere in the repo — `query-reviewable-prs.ps1`, `Get-PreviewReadiness.ps1`, and the detailed note in `CiScanReconcile.Core.ps1`; `query-issues.ps1` was the one outlier. Sites changed: | Line (old) | Site | |---|---| | 192 | milestone `DueOn` sort key (`TryParse`, current culture) | | 270 | `-MinAge` filter | | 275 | `-MaxAge` filter | | 328 | per-issue `Age` calculation — **the line that actually threw** | Also computes the `-MinAge` / `-MaxAge` cutoffs in UTC. They were built from a local `Get-Date` and compared against UTC GitHub timestamps, skewing the boundary by the host's offset (up to ±14h) and misclassifying issues created near it. ### Validation No new test project was added — this is a skill script, and the existing `powershell-script-tests.yml` Pester gate does not cover `.github/skills/issue-triage`. Verified empirically instead, on an `en-PL` host (the culture that produced the original crash): | Check | Command | Result | |---|---|---| | Full run that previously crashed | `pwsh .github/skills/issue-triage/scripts/query-issues.ps1 -Limit 100 -OutputFormat json` | **Passed** — exit 0, `Found 94 issues`, all 94 processed (previously died at issue **26 of 94**) | | No raw parses remain | `grep -n "DateTime\]::Parse\|DateTime\]::TryParse" query-issues.ps1` | **Passed** — no matches | | Culture invariance (`2026-07-01`, a day ≤ 12 where transposition hides) | helper evaluated under `en-PL`, `pl-PL`, `en-GB`, `de-DE`, `en-US`, for both the `ConvertFrom-Json` `[datetime]` shape and the raw ISO string shape | **Passed** — all 10 cases return `2026-07-01` | | Null / empty / unparseable input | helper called with `$null`, `''`, `'not-a-date'` | **Passed** — returns `$null`, no throw | Ages in the output are now consistent with wall-clock (e.g. an issue created `2026-09-25` reports `8 days`). ### Issues Fixed Fixes the crash that currently blocks the `issue-triage` skill end-to-end. No existing issue was filed for it; it was found while auditing open-issue health. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…of (#39096) <!-- 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! ### Description of Change There are currently **423 open `agentic-workflows` issues**, and **168** of them are `[aw] Failed jobs: ...` reports. **166 of those 168** come from five workflows that *already* declare `safe-outputs.report-failure-as-issue: false`: | Open `[aw] Failed jobs:` issues | Workflow | Source | |---:|---|---| | 70 | CI Failure Scanner (net11.0) | `ci-status-net11.md` | | 63 | CI Failure Scanner | `ci-status-main.md` | | 29 | Agentic Labeler | `agentic-labeler.md` | | 4 | Review PR Test Failures | `copilot-review-tests.md` | | 1 | Review PR Performance | `copilot-review-performance.md` | | 1 | Rerun Review Scanner | *(workflow no longer exists)* | **Root cause.** `report-failure-as-issue` only governs the **agent**-level failure reporter (`handle_agent_failure.cjs`). Job-level failures are emitted by a completely separate reporter, `report_failed_jobs.cjs`, gated by its own frontmatter key — `safe-outputs.report-failed-jobs`, which **defaults to `true`**: ```json "report-failed-jobs": { "type": "boolean", "description": "Controls whether to report failed non-builtin jobs as issues (default: true). Set to false to disable.", "default": true } ``` So each of these workflows kept filing `[aw] Failed jobs: ...` on every red run *despite having explicitly opted out of failure issues*. You can see it directly in the committed lock files today — `GH_AW_REPORT_FAILED_JOBS: "true"` sits in a workflow whose frontmatter says `report-failure-as-issue: false`. This was a near-miss rather than a deliberate choice: `agentic-labeler.md` already carries a comment showing the maintainers walked this exact list of knobs (`noop.report-as-issue`, `missing-tool.create-issue`, `report-incomplete.create-issue`, `report-failure-as-issue`) and verified each against the generated lock. `report-failed-jobs` is simply the one that was missed. **Change.** Set `safe-outputs.report-failed-jobs: false` on those five workflows and recompile. Nothing becomes invisible: these runs still show as red in the Actions tab, and the two scanners additionally report through their own `[ci-scan]` / `[ci-scan-net11]` issue stream. This only stops the duplicate, unactioned issue-per-red-run stream that the workflows had already opted out of. Deliberately **not** changed in this PR: the ~160 remaining non-`Failed jobs` issues (`Memory Leak Fixer is missing required data`, `CI Failure Fixer ... reported incomplete result`, etc.). Those have real root causes — MCP integrity-policy filtering on the leak workflows, and a `pwsh`/command-policy denial in the CI fixers — and should be fixed rather than silenced. ### Validation Pipeline/CI configuration, so no tests were added per repo convention. Validated with the toolchain instead: | Check | Command | Result | |---|---|---| | Compile with the pinned compiler | `gh aw compile ci-status-net11 ci-status-main agentic-labeler copilot-review-tests copilot-review-performance` | **Passed** — `✓ Compiled 5 workflows: 5 succeeded, 0 warnings` (strict mode) | | Lock files are valid YAML and keep all jobs | `python3 -c "yaml.safe_load(...)"` over all 5 lock files | **Passed** — 8 / 8 / 7 / 8 / 10 jobs, unchanged | | `actionlint` | `gh aw lint <5 lock files>` | **Not run locally** — requires Docker, unavailable on this machine. Runs in CI. | Lock files are regenerated with the pinned compiler (`gh aw` **v0.86.2**, matching `compiler_version` in the existing lock metadata), not hand-edited. The diff is uniform across all five files — 1 insertion (the `frontmatter_hash` in the metadata header) and 19 deletions: * the entire `Report failed jobs` step is dropped, and * the `conclusion` job sheds the now-unnecessary `actions: read` permission (a least-privilege improvement that falls out of the step removal). `body_hash` is unchanged in every file, confirming only frontmatter was touched. ### Issues Fixed No single tracking issue — this addresses the `[aw] Failed jobs:` issue flood surfaced while auditing open-issue health. It stops future recurrence; the 168 already-open issues can be bulk-closed separately. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…#39251) This should be merged to inflight/current
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Reuse the existing `/issue trace-regression` threat-detection prompt in `/issue triage`: perform the full analysis without subagent delegation and emit exactly one final `THREAT_DETECTION_RESULT` with all three boolean fields and `reasons` as an array, including `[]` when empty. Regenerate the lock with pinned gh-aw v0.86.2. Its only execution change is the additive detector `CUSTOM_PROMPT`; models, credential/import contracts, native parsing, permissions, label handlers and completion gates are unchanged. The workflow **did trigger** for [this `/issue triage` command](#39227 (comment)). In [run 37734556583](https://github.com/dotnet/maui/actions/runs/37734556583), a delegated detector emitted an all-clear result without `reasons`, then the outer detector emitted the same flags with `reasons: []`. The pinned parser rejects different raw verdicts before defaulting optional reasons; WTD3 consequently cancelled the label operation and command completion was skipped. This is a verified detector format failure, not a requester permission rejection. The prompt reduces this failure mode but does not guarantee model compliance: genuine threats, ambiguous/malformed results and WTD3 cancellation remain intact. Document the existing `dotnet/maui-external-partners` repository **write** grant and inventory every repository-owned comment-command entrypoint: issue triage, trace-regression, evaluate-tests, review tests/performance, plain review plus recovery/options, evaluate-skills, rebase and the delegated Arcade backport workflow. Existing gates already accept this team's effective write access, including secondary actor rechecks; no authorization expansion or team roster is needed. Preserve artifact-only triage/noop/blocked visibility and explain that external `/azp` trust belongs to the Azure Pipelines integration, not repository YAML. **Validation** - `gh aw compile issue-triage --strict --no-check-update` — passed with gh-aw v0.86.2, zero warnings. A second identical command produced a byte-identical lock. - `gh aw hash-frontmatter .github/workflows/issue-triage.md` — passed; computed source/current-import hash matches lock metadata (`7e9b10340abb100486ac8ee727d99e3669f19d5482b59c3c0b639fdd2ad30bf5`). - `gh aw hash-frontmatter .github/workflows/issue-trace-regression.md` — passed; matches existing lock metadata with current imports. - `gh aw hash-frontmatter .github/workflows/copilot-evaluate-tests.md` — passed; matches existing lock metadata with current imports. - `gh aw hash-frontmatter .github/workflows/copilot-review-tests.md` — passed; matches existing lock metadata with current imports. - `gh aw hash-frontmatter .github/workflows/copilot-review-performance.md` — passed; matches existing lock metadata with current imports. - `actionlint -ignore '^unexpected key "queue" for "concurrency" section\. expected one of "cancel-in-progress", "group"$' .github/workflows/issue-triage.lock.yml` — passed with actionlint 1.7.12; the exact existing compiler-generated `queue: max` compatibility diagnostic is the sole exception. - `git diff --check` — passed. **Hosted CI at `95329f9b5edac5b7469691d803d7c62aca164da0`:** [Pester scripts 37765373870](https://github.com/dotnet/maui/actions/runs/37765373870) finished with **2538 passed / 3 failed**, exactly matching the three failed test names and totals in [unchanged-main run 37549105032](https://github.com/dotnet/maui/actions/runs/37549105032), SHA `7d38fd06d059c4875bd81690c360a196aae26a26`. The three model-pin assertions still expect GPT-5.6 Sol; all three test files and the two referenced model inputs have identical Git blob SHAs at baseline and this head. These are verified pre-existing failures, not new failures introduced by this PR. [Queue validation 37765373489](https://github.com/dotnet/maui/actions/runs/37765373489) passed. Azure Pipelines explicitly filtered `maui-pr` by trigger conditions; its neutral result is **not** a build or product-test pass. No new pipeline/Pester/regex/snapshot/fixture tests, live command dispatches, issue comments/labels/minimization, new credentials or access grants. No PowerShell was changed. Product/device tests and the full existing Pester suite were not run locally for this prompt/configuration-only change. Local configuration checks and these hosted CI results are **not end-to-end production proof** of the new detector prompt; no claim that future detector output is guaranteed or that this branch has completed production execution. ### 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. --> Addresses the command reliability report evidenced on #39227 and #39050; does not close either underlying product issue or replay the now-closed #39227 command. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo * sheiksyedm * dependabot[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…39253) <!-- 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! ### Root Cause On Windows, changing a Button’s background during hover replaces its native background resource brushes and calls `RefreshThemeResources()`. This temporarily switches the control’s theme to force WinUI to reevaluate resource references. That refresh during the hover transition is implicated in the flicker, particularly with transparent backgrounds. ### Description of Change - Windows Button flicker when switching between transparent and semi-transparent solid backgrounds by matching the transparent endpoint’s RGB values to the other endpoint while keeping its alpha at zero. - When the current background is transparent, its RGB values are updated to match the incoming color. When the incoming background is transparent, its RGB values are matched to the current color. This allows the native brush transition to fade alpha without also interpolating between different RGB values. ### Issues Fixed Related #39017 ### Tested the behaviour in the following platforms - [ ] Android - [x] Windows - [ ] iOS - [ ] Mac ### Output Screenshot Before Issue Fix | After Issue Fix | |----------|----------| |<video width="100" height="100" alt="Before Fix" src="https://github.com/user-attachments/assets/09f4cbd8-27b0-49ea-87ec-a9e894940a97">|<video width="100" height="100" alt="After Fix" src="https://github.com/user-attachments/assets/52d6bd68-8d25-4655-b8a0-f56c06253ede">|
…ry (refs #39226) (#39266) > [!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! Workflow artifact: ci-fix Artifact kind: deflake Refs: #39226 Target branch: net11.0 Attempt: 1/10 ## Attempt 1 of 10 Wait for the existing edge-to-edge left-coordinate assertion after landscape rotation before taking the remaining geometry measurements. ### Previous attempts (prior commits on this PR) None; this is the first attempt for this tracking issue. This attempt differs by: synchronizing the two affected test methods with the expected post-rotation geometry, rather than widening their pixel tolerance or changing product safe-area handling. ## Root cause `ValidateOrientation_None_Landscape_Grid` and `ValidateKeyboard_None_Landscape_Grid` in `src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/SafeArea_GridFeatureTests.cs` request landscape rotation and wait for an already-existing settings label, then immediately read the left indicator's rectangle. Label presence is not a post-rotation layout-completion signal. The suspected test-quality defect is the missing geometry synchronization point. This is a candidate explanation, not a device-verified root cause: a persistent product offset would still fail the unchanged assertion. Flake class: test-quality ## Why this was flaky Builds 1625634 and 1626506 fail both named iOS tests with a left coordinate of 2 instead of `0 +/- 1`; build 1626242 also reports a coordinate of 3. The latest completed build, 1628291, explicitly reports both tests passed on iOS 18.5 and latest iOS. This is cross-build intermittency, not proof that the issue is permanently fixed. The orientation automation command assigns the driver's orientation without a test-side wait for the indicator's layout. The existing label wait can succeed before the rotated rectangle has settled. ## De-flake Use the existing `App.RetryAssert` condition-wait helper around the same left-coordinate assertion in both tests. Re-query the rectangle on each poll and read screen dimensions after that assertion succeeds. Preserve the successful pre-keyboard rectangle for the later restoration comparison. Every original assertion and diagnostic is preserved. `PixelTolerance` remains 1. No timeout is increased or overridden, no retry attribute is added, and no test/category/platform is excluded. ## Fix This changes only the two test methods. It does not alter product safe-area, handler, threading, or layout code. Right-edge, bottom-edge, keyboard, and restoration checks remain in place. ## What is unverified / where I need help - Validation: not run (no iOS device rig on this Linux runner). - Please verify that rotation settles to the expected coordinate on repeated executions of both tests, on all platforms that run them. If the nonzero coordinate persists through the existing wait budget, this candidate will fail rather than hide a product defect. - The complete UI test project was not compiled locally. The runner has .NET 10.0.401 rather than the repository's requested .NET 11 toolchain. ## Validation - Command: `pwsh -NoProfile -File /tmp/gh-aw/agent/validate-candidate.ps1` - Result: passed static preservation checks for every original assertion in both methods and for absence of added suppression, timeout overrides, or tolerance changes. This is not UI execution. - Command: `git diff --check` - Result: passed. - Command: `dotnet format Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/SafeArea_GridFeatureTests.cs --exclude Templates/src --exclude-diagnostics CA1822` - Result: did not complete within the 120-second bounded wait; canceled. The diff follows the surrounding formatting. ## Evidence - Original failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625634 - Latest verified-failing build for this signature: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626506 - Latest completed build inspected: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628291 - Failing iOS latest log: https://dev.azure.com/dnceng-public/public/_apis/build/builds/1626506/logs/4016?api-version=7.1 - Latest iOS 18.5 result log: https://dev.azure.com/dnceng-public/public/_apis/build/builds/1628291/logs/4972?api-version=7.1 - Latest iOS latest result log: https://dev.azure.com/dnceng-public/public/_apis/build/builds/1628291/logs/5010?api-version=7.1 --- Filed by [`ci-status-fix-net11`](https://github.com/dotnet/maui/blob/main/.github/workflows/ci-status-fix-net11.md). This is the single PR for #39226: the workflow watches its own CI and pushes up to **10 attempts on this same PR** (it never opens a second PR). It advances only when the fix's own build settles red and that red is caused by the fix. Comments, reviews, and commits do not transfer ownership; the loop remains autonomous until this PR is closed. Eligible `CHANGES_REQUESTED` reviews are handled through Track C. After 10 attempts it stops and defers to humans. The trusted CI-fix validator automatically queues maui-pr, uitests, and devicetests for every new PR head. > [!WARNING] > <details> > <summary>Firewall blocked 2 domains</summary> > > The following domains were blocked by the firewall during workflow execution: > > - `ajhvsblobprodcus363.vsblob.vsassets.io` > - `i1qvsblobprodcus353.vsblob.vsassets.io` > > To allow these domains, add them to the `network.allowed` list in your workflow frontmatter: > > ```yaml > network: > allowed: > - defaults > - "ajhvsblobprodcus363.vsblob.vsassets.io" > - "i1qvsblobprodcus353.vsblob.vsassets.io" > ``` > > See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information. > > </details> > Generated by [CI Failure Fixer (net11.0)](https://github.com/dotnet/maui/actions/runs/37868574924) · ⊞ 29.2K · [◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+%22gh-aw-workflow-id%3A+ci-status-fix-net11%22&type=pullrequests) <!-- gh-aw-agentic-workflow: CI Failure Fixer (net11.0), engine: copilot, model: gpt-6.1-sol, id: 37868574924, workflow_id: ci-status-fix-net11, run: https://github.com/dotnet/maui/actions/runs/37868574924 --> <!-- gh-aw-workflow-id: ci-status-fix-net11 --> <!-- gh-aw-workflow-call-id: dotnet/maui/ci-status-fix-net11 --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
## Description
While testing XAML hot-reload (dotnet-watch, Android emulator) I noticed
intermittent corruption after reordering/editing siblings: after enough
edits the app eventually threw an InvalidCastException at runtime.
Root cause: XamlNodeDiff.ComputeDiff conflated "can this property change
be emitted as an incremental patch" with "can this node's identity be
matched at all". Any codegen-sensitive property change (e.g. x:Name
added/removed/changed) made DiffNode return false, which cascaded all
the way up to the root and forced ComputeDiff to return null.
XamlGenerator's structural-fallback branch then reset every id in the
page to a fresh DFS numbering, without ever informing the live app's
XamlComponentRegistry, which kept its old ids. A later ordinary
(non-structural) patch could then target the wrong live object by id.
### Fix
Decouples identity from patchability:
- DiffNode now reports a codegen-sensitive property change via a new
`needsRebuild` out-parameter instead of returning false, except at the
true tree root (depth 0), where there's no parent to attach a local
rebuild to and a full structural reload is still correct.
- The immediate parent's child-list diff (DiffChildrenPositional /
DiffChildrenWithMatching) turns a needsRebuild signal into a single
contained rebuild entry: the node is recreated but registered under its
same id (ChildChangeKind.Rebuilt with the old id, intentionally excluded
from RemovedNodeIds so the subsequent Unregister pass can't race with
and clobber the re-registration). `Rebuilt` is distinguished from
`Added` so the code writer knows to emit a replace-in-place against the
SAME id rather than treating it as a brand-new insertion. No other node
in the tree is affected.
- DiffChildrenPositional now lazily builds a ChildListChangeDiff only
when at least one child actually needs a rebuild; pure
property/descendant-only edits are unaffected.
Net effect: an x:Name change (or a reorder that happens to coincide with
one) no longer resets every id on the page - it's now a small, localized
rebuild of just the affected node, so the registry and the generator's
own id bookkeeping stay in sync.
### Testing
Added/updated unit tests in XamlNodeDiffTests.cs at the
XamlNodeDiff.ComputeDiff level, including a direct repro of the original
desync that now asserts the live registry id and the freshly patched id
match.
dotnet test
src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj
--filter "FullyQualifiedName~XamlNodeDiffTests"
Passed! - Failed: 0, Passed: 133, Skipped: 0, Total: 133
Full suite (SourceGen.UnitTests): Passed! - Failed: 0, Passed: 550,
Skipped: 37, Total: 587
### Known follow-up (not in this PR)
True cross-parent reparenting (same x:Name moved to a different parent)
is not yet recognized as an identity match; it still falls back to
remove+add in each parent, which is safe (no desync) but not optimal.
Can be tackled as a separate change.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9d5c8c84-5dbd-4c4a-8282-99860900c4f7
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change Repair avoidable evidence-collection gaps found while auditing nine October 6–7 `/issue trace-regression` reports. This improves the tracing workflow, not the underlying framework bugs or the standards for claiming a confirmed introduction. - Preserve the original form boundaries while selecting a separate, cited investigation pair from explicit human outcomes. Consistent duplicate precise versions no longer disable collection; conflicting duplicates remain ambiguous. - Prioritize title-matched, platform-applicable fixed source paths, including Resizetizer dependencies, NavigationPage TitleView, safe-area wrappers, Windows selection/AOT, native SwipeView, and SourceGen resources. - Retain bounded, line-numbered symbol excerpts for oversized NavigationRenderer files, explicitly marked incomplete rather than silently losing the source. - Spend the six-diff budget across paths and prioritize visible bad-side comparison commits. Divergent histories remain explicitly non-forward; older history is excluded only for a complete forward comparison. - Map Preview/RC shorthand only through a bounded published MAUI workload row, distinguishing package version, workload-set version, and source SHA. Track spent metadata requests and exclude recognizable prior AI reports from diagnostic evidence, including reports posted by User accounts. Update the skill, workflow prompt, maintainer documentation, and generated lock. Command authorization, trusted checkout, read-only analysis, MCP integrity/visibility policies, and separately scoped publication are unchanged. No overlapping regression-trace collector repair was found when checking existing PRs after independently implementing this approach. **Read-only collection results** The final collector was invoked against all nine audited issues. Representative recovered evidence: | Issue | Evidence now retained | | --- | --- | | #39155 | Cited 10.0.10 → 10.0.11 observations, two incomplete TitleView excerpts, and shipped change `32188497d5fe645b1b4657048a41bb3644b27344`. | | #39165 | Cited 10.0.100 → 10.0.101 observations and dependency upgrade `7e10776e75560503f96db6fe26e9485cc177d8bb`. | | #39220 | Working form 10.0.60 plus human first-observed failure 10.0.70; change `b8332a3a3c9d25b04bd47193b5429340416c699e` is prioritized while the divergent comparison remains unverified as an interval. | | #39202 | Safe-area/wrapper snapshots and change `817460045681ffba2dce773feadee1d17ba3cd04`, with non-forward ancestry retained. | | #39132 | Resource-generation snapshots and an explicitly unverified published RC package/source mapping. | The remaining cases retain the correct Windows, Android SwipeView, iOS RefreshView, and shared/iOS HybridWebView sources. Unknown working versions, capped history, omitted excerpt lines, and uncertain installed-package/runtime evidence remain explicit gaps. **Validation** - PowerShell 7.5.4 with Pester 5.9.0: `Invoke-Pester -Path .github/scripts/IssueRegression.Tests.ps1 -PassThru -Output Normal` — **256 passed, 0 failed**. No new pipeline tests were written or existing tests changed. - `gh aw compile issue-trace-regression --strict --no-check-update` — **passed**, using the committed v0.86.2 compiler. - `actionlint -ignore 'unexpected key "queue" for "concurrency" section' -ignore 'property "aw" is not defined' -ignore 'SC2129' .github/workflows/issue-trace-regression.lock.yml` — **passed**. These exclusions cover four independently verified pre-existing generated-runtime diagnostics; unfiltered native lint is not clean. Docker-backed compiler lint was unavailable. - PowerShell AST parsing of both collectors and `git diff --check` — **passed**. - `Get-IssueRegressionContext -Issue $issue` — completed read-only for all nine issues. No reproduction projects, native tests, or device automation were run. Revised hosted agent/report execution is not claimed: production tracing runs trusted default-branch code, so this branch is not used before merge. <!-- Enter description of the fix in this section --> ### 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. --> Addresses report-quality gaps observed on #39165, #39053, #39220, #39202, #39166, #39080, #39078, #39132, and #39155. These are evidence-collection examples, not framework fixes or closing references. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Intentionally targets **net11.0**, based on `8d04ca676fc51a8f940f65dfbec9a8085fa13615`, rather than main or RC2. Ports the Apple-specific Xcode 27 adoption from `release/11.0.1xx-rc2` without changing net11's SDK, runtime, Android, Extensions, or Arcade pins. - Pin all four .NET 11 Apple SDKs to **27.0.12211-net11-rc.2** from macios commit `35d8bf5a42cd71edf4e2700b1e45f6c4b65f3fbe` (BAR 334217, RC2 channel), and update current/default iOS, tvOS, Mac Catalyst and macOS platform TFMs to 27.0. - Align the .NET 10 Apple compatibility SDKs to **26.5.10322**, required by all four selected .NET 11 workload manifests; update their coherent-parent names and public feed. This is required manifest alignment, not an unrelated .NET 10 upgrade. - Raise managed and native iOS deployment minimums to **15.0**. Native iOS 12 / Catalyst's mapped macOS 10.15 targets are rejected by Xcode 27. The managed Catalyst minimum remains 17.0; templates already use iOS 15 / Catalyst 17. - Select **GoldenGate / Xcode 27** for public and internal Apple framework, pack, integration, UI-app, device-app and official compilation. Continue executing prebuilt iOS UI-test apps on **Tahoe / Xcode 26.5**, and Catalyst UI tests on **macOS 14**. - Remove the obsolete repository-wide Xcode 26.2/26.3 validation bypass and unconditional `eng/Build.props` overrides. Normal builds now let the workload validate Xcode; explicit test/review-runner overrides remain available. - Document build requirements and remaining image limitations in `docs/DevelopmentTips.md`. **Evidence and retained workarounds** The RC2 adoption/CI changes are in #38787, #38788, #38853, #38855 and #38892. #38806 deliberately omitted Apple 27 / minimum-version / pool changes when forward-porting to net11; this supplies that missing Apple configuration. Icon Composer changes from #38984 are already on net11 and are not duplicated. - Keep the GoldenGate compilation fallback: standard Azure hosted macOS 26 currently provides only Xcode 26.0–26.6. The Xcode 27 preview pool is not a proven standard Azure-hosted replacement; no paid pool is introduced. [Azure image availability](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops), [Xcode 27 image discussion](actions/runner-images#14404 (comment)). - Keep the Appium build/execution split: GoldenGate previously lacked the required iOS 18.5 runtime / usable Simulator UI and failed Mac2 startup; corrected RC2 build 1611447 passed all 29 iOS jobs. Current RC2 UI failures occur during package restore and do not establish that GoldenGate UI execution is fixed. macOS 14 retires November 2, 2026; its replacement requires separate Mac2 validation. - Keep simulator provisioning, architecture-specific downloads, bounded recovery and explicit failure when required Xcode is missing. Do not copy #38852's unmerged `skipXcode: true` shortcut. - **Do not port** GoldenGate's prerelease selected-Xcode fast path: [RC2 build 1623906](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1623906), at RC2 HEAD `d32b79928709cf53b671336dabd0caef5a679fc2`, succeeded with `/Applications/Xcode_27.app`, which the existing named fallback already finds. This is source-configuration evidence, not validation of this PR. - Do not copy later RC2 internal-SDK credentials, public-SDK fallbacks, or internal feeds. They address different SDK/runtime pins. Retain existing `TargetsCurrent`, local runner overrides and PowerShell startup/recovery safeguards because Xcode 27 does not prove their underlying issues resolved. The dedicated Copilot-review pipeline retains its own older-branch overrides; it is not the standard net11 build lane. **Validation** - `.dotnet/dotnet build Microsoft.Maui.BuildTasks.slnf -c Release -p:BuildTaskOnlyBuild=true -p:CI=true --verbosity quiet` — **passed**, 0 warnings / 0 errors, using the unchanged pinned SDK `11.0.100-rtm.26480.113` in this worktree. This validates build prerequisites, not Apple 27 app compilation. - `DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -project src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj -scheme MauiPlatformInterop -configuration Release -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -derivedDataPath artifacts/native-validation CODE_SIGNING_ALLOWED=NO build` — **passed**, arm64 and x86_64 simulator framework compilation at iOS 15.0, using installed **Xcode 26.6**, not Xcode 27. No simulator/app/test runner was launched. - `plutil -lint src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj/project.pbxproj` and `git diff --check` — **passed**. Python `yaml.safe_load` / XML parsing — **passed** for all changed pipeline and XML configuration files. No pipeline tests were added. - `.dotnet/dotnet msbuild Directory.Build.props -nologo -getProperty:MauiPlatforms,MauiGraphicsPlatforms,IosTargetFrameworkVersionSdkDefault,MacCatalystTargetFrameworkVersionSdkDefault,ValidateXcodeVersion,TargetsCurrent` — **passed**; current Apple TFMs resolve to 27.0 and the blanket validation bypass is absent. Evaluating `eng/Versions.props` confirms unchanged SDK/runtime/Android pins and all four Apple 27 pins. - Downloaded and inspected all four exact Apple workload manifest packages from the public dotnet11 feed — **passed**, confirming the .NET 10 compatibility SDK requirement is 26.5.10322. - `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822` — attempted but **incomplete**: missing restored references/workloads. Stopped it and removed its unrelated generated formatting edits; no C# source changes are included. - Initial unrestricted build-task attempts were blocked by missing assets / Apple workloads. Repository bootstrap installed the exact pinned SDK; full workload provisioning was stopped in favor of the successful CI build-task-only command above. Remote CI results for commit `e7a941cd121fff58bcd30892bbcf29e18882ac55` (checked October 8, 2026): - [maui-pr 1628491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628491) — **completed, failed overall**. Apple compilation, macOS pack and main integration validation passed; the macOS build selected `/Applications/Xcode_27.app`. The only failing main-pipeline task was the Helix monitor: Windows Debug `SkiaSharpSvgToolsTests.Resize.BasicNoScaleReturnsOriginalSize` failed deleting a locked temporary file in `Resize.Dispose()`. This is a **confirmed identical historical cleanup failure predating this PR**, not evidence of an Xcode-adoption regression: September 29 [build 1616449](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616449), the **net11.0-targeted #38984 merge build** (`refs/pull/38984/merge`, not a direct `refs/heads/net11.0` baseline run), failed the same test in Windows Release with the same `IOException` and `FileSystem.DeleteFile` → `Resize.Dispose()` line-25 stack; only the temporary filename differs. See its actual [Helix console](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/console.30a6023e.log?helixlogtype=result) and [test-result XML](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/testResults.xml?helixlogtype=result). The fixture is byte-identical between exact base `8d04ca676f` and PR head `e7a941cd12` (blob `a41ebe6e87b3809f952b51f98e594bf5faf2fe25`); Skia/runtime pins and Windows execution pools are unchanged, and the relevant configuration changes are Apple-specific. Together, this supports **no causal link to Xcode adoption**. The latest exact-base [net11.0 build 1628290](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628290) passed; that does not negate the verified earlier occurrence. No cleanup fix or rerun is included. - [maui-pr-devicetests 1628492](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628492) — **completed, succeeded**, including Mono/CoreCLR device-app compilation. Cross-checked all nine Helix jobs: 71 terminal work items, zero failing exits and no work items still running; this is a work-item count, not a test-case count. - [maui-pr-uitests 1628493](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628493) — **completed, failed overall** at 21:42 UTC. UI-app compilation and the complete **iOS CoreCLR UI stage passed**. The five failed/canceled execution legs are MacCatalyst Layout, Navigation and Shell; Windows Shell; and Android SafeAreaEdges. MacCatalyst Shell was canceled after three hours during its retry, so its complete execution coverage remains **unverified**, not passed. - **Baseline-matched UI failures:** MacCatalyst `Issue59172RecoveryTest` timeout matches [net11.0 build 1625634](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625634). MacCatalyst `ValidateBackgroundColorDoesNotAffectInputTransparent` timeout matches the exact-base [net11.0 build 1628291](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628291), test run 45168562. MacCatalyst Shell `SearchHandlerQueryIconUpdatesAtRuntime` (0.51% screenshot difference) also matches that build, run 45168556; `SearchHandlerClearPlaceholderIconUpdatesAtRuntime`, seen during the interrupted retry, matches [net11.0 build 1626506](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626506), run 45112430. Android `SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` matches the same assertion on [net11.0 build 1627873](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1627873). - **Unmatched UI failures:** MacCatalyst Shell `SearchHandlerResetAllRestoresDefaultIcons` has a 0.52% screenshot mismatch (published in run 45176448); it was not among failed results in the five sampled net11.0 Shell runs. Windows `VerifyShellSearch_TextTransformUppercase` has a 0.70% screenshot mismatch; the corresponding Shell runs pass in all five sampled net11.0 UI builds. Neither is established as unrelated or PR-caused. The Shell cancellation leaves additional coverage incomplete. No screenshot baselines were updated to hide failures. - [PowerShell Script Tests 37821050474](https://github.com/dotnet/maui/actions/runs/37821050474) — **failed**: the unchanged `Review-Tests` contract expects an inline GPT-5.6 model while the unchanged target-branch workflow imports GPT-6.1. Both the assertion and its workflow subject are identical to net11.0; no pipeline-test changes are included in this PR. Xcode 27 is not installed locally; the Apple 27 compilation evidence above is from remote CI. All three PR pipelines have finished, but **full UI validation is not green**, MacCatalyst Shell coverage is incomplete, and **official/internal signing remains pending**. The unmatched failures need further investigation before claiming merge readiness. These results do not justify removing the retained execution-image safeguards. No XCTest/XCUITest or local UI automation was run; global Xcode selection was not changed. The CI watch has been stopped. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No separately filed issue; requested .NET 11 adoption of the already-established RC2 Xcode 27 configuration. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Expose `source.prose`, deterministically computed by the existing trusted `Get-Prose` routine, alongside each unmodified `source.body` before `Get-Snapshot` computes its context hash. Prepared/current hash and freshness checks consequently include the projection. Update the producer prompt, label-triage skill and directly related documentation to require contiguous verbatim quotations present in both raw and filtered strings with exact ordinal matching. Prefer short complete prose sentences that support the label; never strip markup, rewrite a quotation or cite across blanked spans. Withhold unsupported labels instead of emitting malformed evidence. The projection is a citation aid, not proof of authority or semantic support. The [reported command](#39263 (comment)) did trigger [run 37851541526](https://github.com/dotnet/maui/actions/runs/37851541526) on main `45bab995c8498ee77144404a4361d3cf86a4a054`. Detection returned one complete all-clear verdict, but trusted safe-output validation correctly rejected the `has-workaround` quotation because it included inline code. That quotation is verbatim in the issue, but does not survive prose filtering. The same real source contains the intact sentence: "It recovered 4 + More after the refold in 10/10 runs." `Assert-Evidence` is unchanged: it recomputes `Get-Prose` from freshly fetched original bodies and requires exact ordinal containment in both raw and filtered text, never trusting derived fields supplied by the agent. All authority/provenance/category/whole-paragraph contradiction gates, source/file limits, abort-on-incomplete handling, WTD3/native parsing, exact label intents, artifact-only reporting, publication counters/receipts/postconditions and command completion remain unchanged. No normalization, inline-code authority or partial-proposal salvage is introduced. Context grows by the additional source projection; the existing 1 MiB JSON ceiling is not raised. Developed independently, then compared with #39250 and #39190: this fixes producer citation selection, not detection formatting or an activation-import mismatch. Those prior fixes remain intact. Pinned gh-aw v0.86.2 compilation changes only `body_hash` in the lock's first metadata line; executable YAML, manifest, frontmatter/current-import hash, models, pins, imports and permissions are byte-identical. **Validation** - `gh aw compile issue-triage --strict --no-check-update` — passed with gh-aw v0.86.2, one workflow, zero warnings. Repeated compilation produced identical lock SHA256 `8fa12bacc9bb34c80d70bd71055eae51ad36acb57bd734f8b86c6931ca06f158`. - `gh aw hash-frontmatter .github/workflows/issue-triage.md` — passed; current source/import hash `7e9b10340abb100486ac8ee727d99e3669f19d5482b59c3c0b639fdd2ad30bf5` matches metadata. - `test "$(gh aw hash-frontmatter .github/workflows/issue-triage.md)" = "$(head -n 1 .github/workflows/issue-triage.lock.yml | sed 's/^# gh-aw-metadata: //' | jq -r .frontmatter_hash)"` — passed. - `cmp <(git show 45bab99:.github/workflows/issue-triage.lock.yml | tail -n +2) <(tail -n +2 .github/workflows/issue-triage.lock.yml)` — executable YAML and manifest unchanged; the equivalent comparison against pre-commit `HEAD` passed. - `pwsh -NoProfile -NonInteractive -Command '$tokens = $null; $errors = $null; $null = [Management.Automation.Language.Parser]::ParseFile((Join-Path $PWD ".github/scripts/IssueTriage.ps1"), [ref]$tokens, [ref]$errors); if ($errors.Count) { throw ($errors | Out-String) }; "Whole-script PowerShell AST: PASS"'` — passed for the entire script. - `actionlint .github/workflows/issue-triage.lock.yml` — reports only the existing `queue: max` compatibility diagnostic at its two occurrences with actionlint 1.7.12. - `actionlint -ignore '^unexpected key "queue" for "concurrency" section\. expected one of "cancel-in-progress", "group"$' .github/workflows/issue-triage.lock.yml` — passed; that exact anchored compatibility diagnostic is the sole exception. - `git diff --check` — passed. Read-only, one-off in-memory PowerShell analysis extracted the actual helper definitions and new snapshot projection from the script AST and exercised genuine archived issue/proposal evidence, without executing workflow stages or modifying archived files. Confirmed the raw agent-output SHA256 `d95b90380909eff2fcbcd45f7660457de43e284b9e5dcf5c18edaaa2ed07b237`; the original inline-code quotation remains rejected, while the intact sentence passes the citation gate only (not full label validation). Both source bodies/metadata, source count and text length/line/index shape are preserved. Inline code remains blanked; editing an in-memory derived projection changes its hash and cannot bypass the unchanged fresh-body citation check. The archived context would grow from 91,035 to 95,175 bytes, below the unchanged 1,048,576-byte ceiling. **Hosted CI at `bfb106adece5d825f96dc26edb079f2b85bb52ae`:** [Skill Validation 37918382469](https://github.com/dotnet/maui/actions/runs/37918382469) passed its static checks; LLM evaluation was skipped. [Queue validation 37918382485](https://github.com/dotnet/maui/actions/runs/37918382485) passed. [Pester scripts 37918382456](https://github.com/dotnet/maui/actions/runs/37918382456) completed with **2538 passed / 3 failed**, exactly matching the full failed test names and totals of [unchanged-main run 37549105032](https://github.com/dotnet/maui/actions/runs/37549105032), SHA `7d38fd06d059c4875bd81690c360a196aae26a26`. All three failing test files and the two referenced model inputs have identical Git blob SHAs at that baseline and this head. These are verified pre-existing GPT-model-pin assertions, not new failures introduced here. Azure Pipelines explicitly filtered `maui-pr` by trigger conditions; its neutral status is not a build or product-test pass. No pipeline/Pester/regex/snapshot/fixture tests were added. Product/device tests and the existing full Pester suite were not run locally. No live workflow/issue dispatches, command replays, issue comments/labels/minimization, access changes or new monitors during implementation. The configuration/helper checks and hosted CI results are not a new live end-to-end agent success or a guarantee of model compliance. This fix awaits merge and fresh production verification; the historical command was not replayed. ### 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. --> Addresses the `/issue triage` reliability report on #39263; does not close the underlying Shell product issue or replay its command. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change Preserve bounded, redacted Azure DevOps response details when the trusted CI-fix dispatcher receives a nontransient queue failure such as HTTP 400. The first genuine bot PR canary proved native `maui-pr` integration but the dispatcher lost Azure's response body for all queue POST failures, leaving only `400 (Bad Request)`. This change extracts Azure's `message` and `typeKey` when available, bounds fallback response text, redacts common credential forms, and keeps the existing fail-closed behavior: one POST, no retry or reconciliation for nontransient failures. **Diagnostics-only readiness:** this change is ready for human deployment, but it does not claim to restore Azure queue acceptance. The provider-side HTTP 400 root cause remains unproven and queueing is not restored. After human merge, the next legitimate automatic trusted dispatcher execution must supply the actual redacted Azure response before any payload, provider, or configuration change is justified. No manual dispatcher rerun or direct Azure queue POST is part of this validation. Validation at exact head `ba0fd0e822e2dce0fce48ee3eb4e9a1f74e2d5f1`: - Authored run using the confirmed Pester 5.9.0 manifest: 82 passed, 0 failed. - Independent parent run using the existing Pester 6.2.0 artifact: 82 passed, 0 failed, 0 skipped. - Independent focused patch review: no blocker found; exact two-file scope, clean head, open non-draft PR targeting `main` verified before and after the run. - `git diff --check`: 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. --> Refs #39223 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2c742a56-d991-47ed-801b-52bec21dc948
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * PureWeen ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Fix the existing `/review tests` Known Build Error consumer's handling of literal `ErrorMessage` arrays. **Root cause:** `Get-KnownBuildIssues` casts an array to `[string]`, joining its expressions with spaces. `Test-KnownIssueMatch` then searches for that one contiguous substring. A valid rule whose expressions appear on separate stack frames is missed; a same-line concatenation can incorrectly match. `Get-DeduplicatedFailures` also aggregates messages from separate occurrences of the same test/platform. Matching an array against that aggregate can assemble its signature from multiple partial occurrences even though none individually satisfies the rule. **Correction:** Preserve valid arrays and require all their literal expressions, in array order, on distinct subsequent lines within one actual occurrence's name + `message`/`errorMessage` + separately captured `stackTrace` text. Keep the rule loop outermost so the first matching rule still wins, even when it matches a later occurrence. Scalar and regex rules continue to use the existing aggregated text. This follows the [public Build Analysis array contract](https://github.com/dotnet/arcade/blob/5a63d054ea793bdbdb6aa9f4558558e3a8f41529/Documentation/Build%20Analysis/KnownIssues.md#fill-out-known-issues-with-a-list-of-errors), rather than flattening the array or treating its elements as alternative rules. Empty arrays and arrays containing null, blank, non-string, or nested elements are skipped with an explicit warning; invalid elements are not discarded to create a weaker matcher. AzDO failure records capture the error message and stack trace in separate fields. The occurrence-local array text includes both fields from the same record, so stack-frame signatures can match even when they appear only in `stackTrace`. Neither stack traces from different occurrences nor a message in one occurrence and a stack trace in another may complete a signature. The change is limited to three files: - `Gather-TestFailureContext.ps1`: literal-array loading/matching, occurrence-local array evidence, and narrowly corrected hint-only comments. - `Gather-TestFailureContext.Tests.ps1`: 47 real loader-to-matcher cases with mocked issue-list transport, including production deduplication and the actual cross-reference assignments. - `.github/docs/maui-ci-facts.md`: the occurrence-local ordered-line contract and service-parity limitation. Existing scalar substring matching and scalar/regex aggregated-text composition, case-insensitive literals, scalar regex precedence/fallback/timeout, the 20,000-character cap per matched text, first-matching-rule selection, and attribution gates are unchanged. Partial, unrelated, reversed, same-line, cross-test, and same-test split-occurrence evidence is covered, along with LF/CRLF/CR line endings, single/repeated/three-expression arrays, invalid arrays, and the text-limit boundary. The split-occurrence defect can cite an unsupported Known Build Error hint; it does not flip the final PR-related/unrelated attribution. Downstream `matchesKnownIssue` selects `known-issue` instead of `pre-existing-on-base` only after the existing exact `alsoFailsOnBaseline` gate. Those attribution conditions are unchanged. #### Validation Validated on the branch based on upstream main `84b1fb39ad56e22a51d29d4bbf141b03b02e4648`, using PowerShell 7.4.5 and Pester 5.7.1. The occurrence-isolation correction was reproduced on `e2892b088c61cfd7e43b69c8e715abb6cae99907`; the stack-trace correction was reproduced on `7c1ee12b305e83abe996ef042b8ccfdf35466ff7`, the original commit bound to the stack-trace review comment. ```powershell $config = New-PesterConfiguration $config.Run.Path = '.github/skills/review-test-failures/scripts/Gather-TestFailureContext.Tests.ps1' $config.Run.PassThru = $true $config.Output.Verbosity = 'Detailed' $config.Filter.Tag = 'KnownIssueStackTraces' Invoke-Pester -Configuration $config $config.Output.Verbosity = 'Normal' $config.Filter.Tag = 'KnownBuildIssues' Invoke-Pester -Configuration $config $config.Filter.Tag = @() Invoke-Pester -Configuration $config ``` - Focused stack-trace cases: **9 passed, 0 failed**. - Complete KBE boundary cases: **47 passed, 0 failed**, including all 13 original occurrence-isolation cases. - Complete collector suite: **237 passed, 0 failed**, including all 228 cases from the previous PR head. - Before adding each occurrence's `stackTrace`, the 9 new cases on `7c1ee12b305e83abe996ef042b8ccfdf35466ff7` produced **4 expected assertion failures and 5 passing controls**. The tests use production deduplication and the actual caller, including stack-trace-only signatures, an absent message, a message followed by the same occurrence's stack trace, cross-occurrence negatives, unchanged scalar/regex text, and the 20,000-character boundary. - Before the focused correction, the 13 new cases on `e2892b088c61cfd7e43b69c8e715abb6cae99907` produced **4 expected assertion failures and 9 passing controls**, including the real same-test/platform split-occurrence regression through `Get-DeduplicatedFailures` and the actual cross-reference path. - The original parser cases against unfixed pinned-main functions produced **16 expected assertion failures and 9 passing controls**; their corrected results remain green. - A saved public response for #36435 was replayed through the exact original/corrected loader and matcher, replacing only issue-list transport. Its published stack changed from no match to issue `36435`; a scalar rule through the real loader matched before and after; each partial expression stayed unmatched; the flattened same-line false positive changed from a match to no match. - `git diff --check`: **passed**. These are offline parser/matcher-boundary checks, not a full PR-review run or proof of live/deployed Build Analysis/Build Insights parity. No product build, device/UI test, live service match, or CI rerun was performed. No issue enrollment, retry/quarantine/fixer policy, workflow, generated lock, manifest, or `ErrorPattern`-array behavior is changed. A signature match remains a hint, not causal proof or a confirmed flake verdict. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No separate parser-defect issue was filed. #36435 supplies historical public fixture evidence only: this PR does **not** fix or close that FileSystem product issue, establish that it is currently recurring, or assert its resolution. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> ---------
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * PureWeen ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Shane Neuville <5375137+PureWeen@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…ing (refs #39224) (#39348) > [!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! Workflow artifact: ci-fix Artifact kind: help Refs: #39224 Target branch: net11.0 Attempt: 1/10 ## Attempt 1 of 10 Actively scroll to the CollectionView footer before each synchronized footer tap. ### Previous attempts (prior commits on this PR) None; this is the first attempt for this tracking issue. This attempt differs by: locating an off-screen footer through scrolling, rather than only waiting for it to become discoverable. The earlier merged #37578 introduced the existing wait-before-tap helper for a different tracking issue; this change keeps that synchronization and adds the missing navigation operation. ## Root cause The latest completed `maui-pr-uitests` build, 1630214, reports `CollectionViewWithRefreshViewShouldNotReset` failing on iOS 18.5 in both its initial execution and retry. Both stacks reach `Issue24533.TapFooter` at line 38; the caller is line 25, the second footer tap. `src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cs` waits for `Footer` before tapping. The host page initially adds 25 items and appends another batch on refresh, so the footer can be outside the visible CollectionView content after an update. A passive element wait cannot bring an off-screen footer into view. The existing separate scroll operation may precede the updated footer becoming discoverable. This is a candidate test-navigation explanation, not a device-verified root cause. If the footer remains unavailable because of a product layout or accessibility defect, this change may still fail. ## Fix Add `App.ScrollTo("Footer")` inside `TapFooter`, immediately before its existing `WaitForElement` and tap. The existing scroll-to helper searches for the element while scrolling, rather than assuming a passive wait can reveal it. All original refresh interactions, post-refresh scroll operations, offset measurements and both positive-offset assertions remain unchanged. No assertion is removed or weakened, no timeout is increased, no retry attribute is added, and no test or platform is excluded. Product CollectionView and RefreshView code is untouched. ## What is unverified / where I need help - Validation: not run (no iOS device rig on this Linux runner). - Please confirm the additional pre-tap scroll makes the footer discoverable after each item append on iOS, and that the original scroll-position assertions still exercise the intended regression. - If the footer remains absent even after scrolling, investigate the product's layout/accessibility behavior rather than extending the timeout. - Full compilation was not performed: the installed SDKs stop at .NET 10.0.401, while this branch requests .NET 11.0.100-rtm.26480.113. ## Validation - Command: `pwsh -NoProfile -File /tmp/gh-aw/agent/validate-candidate.ps1` - Result: passed static checks that the complete test source differs only by the intended one-line helper addition. Every original assertion, timeout, category and platform guard is preserved. This is not UI execution. - Command: `git diff --check` - Result: passed. - Command: `dotnet format Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cs --exclude Templates/src --exclude-diagnostics CA1822` - Result: did not complete within the bounded 120-second wait and was canceled. The one added line follows the surrounding indentation. - Command: `not run because the failing scenario requires an iOS UI-test device rig` - Result: not run. ## Evidence - Original failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625634 - Latest verified-failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1630214 - Latest iOS failure and retry log: https://dev.azure.com/dnceng-public/public/_apis/build/builds/1630214/logs/4979?api-version=7.1 --- Filed by [`ci-status-fix-net11`](https://github.com/dotnet/maui/blob/main/.github/workflows/ci-status-fix-net11.md). This is the single PR for #39224: the workflow watches its own CI and pushes up to **10 attempts on this same PR** (it never opens a second PR). It advances only when the fix's own build settles red and that red is caused by the fix. Comments, reviews, and commits do not transfer ownership; the loop remains autonomous until this PR is closed. Eligible `CHANGES_REQUESTED` reviews are handled through Track C. After 10 attempts it stops and defers to humans. The trusted CI-fix validator automatically queues maui-pr, uitests, and devicetests for every new PR head. > [!WARNING] > <details> > <summary>Firewall blocked 1 domain</summary> > > The following domain was blocked by the firewall during workflow execution: > > - `ajhvsblobprodcus363.vsblob.vsassets.io` > > To allow these domains, add them to the `network.allowed` list in your workflow frontmatter: > > ```yaml > network: > allowed: > - defaults > - "ajhvsblobprodcus363.vsblob.vsassets.io" > ``` > > See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information. > > </details> > Generated by [CI Failure Fixer (net11.0)](https://github.com/dotnet/maui/actions/runs/38331081805) · ⊞ 29.2K · [◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+%22gh-aw-workflow-id%3A+ci-status-fix-net11%22&type=pullrequests) <!-- gh-aw-agentic-workflow: CI Failure Fixer (net11.0), engine: copilot, model: gpt-6.1-sol, id: 38331081805, workflow_id: ci-status-fix-net11, run: https://github.com/dotnet/maui/actions/runs/38331081805 --> <!-- gh-aw-workflow-id: ci-status-fix-net11 --> <!-- gh-aw-workflow-call-id: dotnet/maui/ci-status-fix-net11 --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
This pull request updates the following dependencies [marker]: <> (Begin:9a046932-c60c-436e-8fc7-8ea2f5902cb5) ## From https://github.com/dotnet/android - **Subscription**: [9a046932-c60c-436e-8fc7-8ea2f5902cb5](https://maestro.dot.net/subscriptions?search=9a046932-c60c-436e-8fc7-8ea2f5902cb5) - **Build**: [11.0.0-rc.2.26512.1+azdo.15653899](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15653899) ([336241](https://maestro.dot.net/channel/8298/github:dotnet:android/build/336241)) - **Date Produced**: October 12, 2026 6:12:53 PM UTC - **Commit**: [c6d965b7ac47aa80f04ddaf5680fdb860fed7e0d](dotnet/android@c6d965b) - **Branch**: [release/11.0.1xx](https://github.com/dotnet/android/tree/release/11.0.1xx) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [37.2.6 to 37.2.7][1] - Microsoft.Android.Sdk.Windows [1]: dotnet/android@b410048...c6d965b [DependencyUpdate]: <> (End) [marker]: <> (End:9a046932-c60c-436e-8fc7-8ea2f5902cb5) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR --> [!NOTE] Are you waiting for the changes in this PR to be merged? It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change Restore lazy page materialization in the new Android Shell: cached offscreen content fragments must not instantiate never-selected `ContentTemplate` pages, their handlers, or navigation hosts. This PR targets **`net11.0`**, where the new Android implementation exists. `main` still uses the compatibility implementation and does not contain these handlers. #### Why this needs investigation A five-tab conference app using DI-created `ContentTemplate` pages showed a large startup difference when switching only the Shell implementation within the same pinned MAUI 11 configuration: | Historical Shell control | Median first frame | p90 | | --- | ---: | ---: | | New Android Shell | 1468 ms | 1502.4 ms | | Compatibility `ShellRenderer` | 1026 ms | 1075.8 ms | The legacy implementation was **442 ms / 30.1% faster**. There were 15 process-cold launches per configuration across three blocks; block improvements were 460 / 426 / 431 ms. Warmups were excluded, every launch had a new process, the device was exclusively reserved, and thermal status was 0. Both displayed the actual populated Home screen, not an empty timing shortcut. This was a Samsung A16 SM-A165F, Android 16, ARM64, using `11.0.0-rc.1.26451.6` (source `484132f9e51f4d1eae72dba038575d6102639730`). App content, registrations, Material 3, and Release compiler/runtime settings were matched. Each Shell variant had a separately collected startup profile, so the builds were not byte-identical. The metric is Android `am start -W` first displayed frame, not reboot-cold startup or completion of agenda initialization. Separately instrumented constructor traces, with no lost events, showed all four inactive pages (Sessions, Speakers, Schedule, Community) being constructed before the first draw. The constructor path was: ```text app ContentTemplate / DI factory -> ElementTemplate.CreateContent -> ShellContent.IShellContentController.GetOrCreateContent -> ShellContentNavigationFragment.OnCreateView ``` Current `net11.0` retained that eager path. The instrumented trace timestamps are not the uninstrumented benchmark numbers or additive CPU time. **The historical comparison is not a benchmark of this PR.** The matched source-built comparison below separately measures the correction; the whole historical 442 ms should not be attributed to one line. The remaining Shell wrapper/pager/tab infrastructure overhead still warrants investigation. #### Matched source-built three-way benchmark (October 12) The PR implementation was also benchmarked against the **unpatched `net11.0` handler** and the **compatibility `ShellRenderer` from that same framework graph**. This is a new controlled comparison, separate from the historical RC1 measurements above; literal `main` is not the baseline because it does not contain the new Android Shell. | Shell implementation | Median first frame | p90 | | --- | ---: | ---: | | Unpatched `net11.0` | 1631.5 ms | 1716.4 ms | | Same-framework compatibility `ShellRenderer` | 1197.5 ms | 1249.2 ms | | This PR | **1251.0 ms** | **1307.4 ms** | The correction reduced the median by **380.5 ms / 23.3%** and closed **87.7%** of the unpatched-to-legacy gap. It remained **53.5 ms / 4.5% slower** than compatibility Shell; that remaining infrastructure overhead still merits investigation. The improvement held in all three blocks: **393.0 / 398.5 / 362.5 ms**. Protocol: Samsung A16 SM-A165F, Android 16, ARM64; **30 measured process-cold launches per implementation** in three counterbalanced blocks of ten. Two warmups per implementation per block were excluded. Every launch reported `COLD`, had a new PID, and had thermal status 0 before and after. App data was not cleared between configurations. `am start -W` `TotalTime` is time to the first displayed frame with warm filesystem caches, not reboot-cold startup or completion of agenda initialization. p90 uses linear interpolation at `(n-1)*0.9`. All variants used public app source `jfversluis/dotnetconf-app` commit `4b2077609680eaec04429ea76efc04833d7aacb6`, a separate benchmark package, target SDK 37, and the repository-pinned SDK `11.0.100-rtm.26480.113`. The graph was pinned to `feffbb381c09049a8ac4d19b9d74a435428c64c4`; the fixed variant applied `9686fd158cbb5eaee278a120535c793e38e61c2a`. Material 3, SourceGen XAML, app content/DI/control registrations, Release compiler/runtime settings, and trimming policy were common. There were **no independently trained profile inputs per variant**. Normalized executable-assembly comparisons confirmed identical app code for unpatched/fixed and changes confined to the PR's three Shell types; compilation identities and native images were not byte-identical. Visual/content equivalence was checked independently from timings. The original saved first-frame and settled screenshots contain **byte-identical, fully opaque Home hero regions** across all three implementations, including the title and “Explore sessions” button. Separate constructor/native-tree probes confirmed **five root pages created at startup in the unpatched handler, versus only Home in compatibility Shell and this PR**, with matching visible Home content. Diagnostic runs were not included in the timing data. Raw measurements, APKs, logs, and screenshots remain local rather than being uploaded automatically. #### Remaining compatibility-renderer gap (hypothesis) Our hypothesis is that the remaining 53.5 ms reflects infrastructure the corrected handler still initializes: nested wrapper fragments, item/section `ViewPager2` and adapter layers (including single-content sections), cached inactive-content containers, and the selected content's shared navigation-host machinery. Compared with the compatibility renderer's on-demand section-fragment path, these can add native-object creation, lifecycle callbacks, layout work, and JNI crossings even though inactive pages are now lazy. The rewrite retained this structure for shared-component reuse, a persistent toolbar, independent navigation stacks, and protection against fragment-state restoration failures. These are design/correctness motivations, not proof that the measured residual cost is unavoidable or belongs to a particular bug fix. We have not profiled the individual costs within that 53.5 ms. This PR deliberately stops at the validated inactive-content correction; single-content fast paths and further deferred wrapper/pager initialization remain possible follow-up investigations, provided they preserve navigation and restoration behavior. #### Design history and retained invariants [#34758](#34758) introduced shared drawer/tab/navigation building blocks, a persistent toolbar, and independent content navigation stacks. Its all-items `OffscreenPageLimit` policy was intentional: it avoids fragment save/restore paths that lose MAUI state and cause crashes. [#37282](#37282) previously reported single-page startup overhead and called out the nested pager/fragments and all-items caching policy. [#37321](#37321) then deferred unnecessary **single-page tab-manager infrastructure** and preserved dynamic growth, appearance replay, badges, and native manager reuse. It did not defer inactive page/navigation-host creation in a multi-tab Shell. This PR keeps the existing offscreen limits, stable fragment IDs, cached fragments, toolbar/tab/badge infrastructure, and the single-page optimization. It does not replace the default handler with the legacy renderer. Two important constraints from the rewrite remain intact: - [Pre-host navigation is reconciled from `ShellSection.Stack`, not replayed](#34758 (comment)), avoiding duplicate pushes and incorrect task completion. - [Destroyed views recreate fresh containers/managers](#34758 (comment)), rather than reconnecting a stale manager; the subsequent [#36133](#36133) cleanup/binary compatibility safeguards are not removed. #### Correction `ShellContentNavigationFragment.OnCreateView` creates the lightweight cached container without materializing never-selected content. The currently selected content still initializes normally. On first selection, the existing bottom/top selection mapper paths initialize the selected destination **before pager scrolling**. This prevents waiting until smooth-scroll completion and showing an empty destination during the first tab animation. `OnResume` remains the fallback for fragments whose views were not ready when selection changed. Activation checks the full active Shell section, and saved-state selection defers to the lifecycle fallback. Initialization remains once-per-live-navigation-host. Existing root-page caching, background setup, navigation subscriptions, stack reconciliation, and destruction/recreation behavior are retained. The API ledger records the inherited `OnResume` override; no new navigation API or configuration switch is introduced. #### Validation Built from the repository-pinned SDK `11.0.100-rtm.26480.113`, with an Android-only local build override and the repository build tasks. Both framework variants used the same in-tree graph and Release settings; pristine source/API files from `feffbb381c09049a8ac4d19b9d74a435428c64c4` were selected through a local compile override without reverting the working tree. Public API analyzers stayed enabled. Logs/APKs remain local and are not uploaded. | Coverage on the reserved Samsung A16 | Pristine / earlier candidate | Final correction | | --- | --- | --- | | Initial 10 startup/lifecycle regressions | 10/10 failed on pristine source: inactive constructor count was 1 instead of 0 | All pass | | Bottom/top first-selection host, before scrolling settles | Both failed on the intermediate `OnResume`-only candidate: destination host was empty | Both pass | | Inactive ancestor with inner `CurrentItem` change | Additional guard coverage | Pass | | Final focused regression class | See the independently captured failure phases above | **13/13 pass** | | Existing native Shell class | **73/76 pass**, 3 failures | **73/76 pass**, identical 3 failures | The combined final run was **86/89 passed**, not a completely green suite. All three failures are `FlyoutCustomContentMargin` (header/content/footer); the pristine baseline produces the same device-density rounding values (`20.266666...` for an expected 20 DIP margin). Coverage includes non-first initial bottom/top selections, only one initial page materialized, once-only first activation, repeated tab visits and independent stacks, cancelled top selection, navigation queued before host creation, overflow/More routing, item/content visibility and collection changes, badges on inactive tabs, pause/resume, adapter-driven recreation before/after a visit, and full Shell disconnect/reconnect. Build/test commands and results (local APK/output paths abbreviated): ```text pwsh .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Controls -Platform android -BuildOnly -Rebuild -IncludeClasses 'Microsoft.Maui.DeviceTests.ShellLazyStartupTests;Microsoft.Maui.DeviceTests.ShellHandlerTests_Shell' PASS: Release Android build and API validation. .dotnet/dotnet xharness android test --app <built-signed-apk> --package-name com.microsoft.maui.controls.devicetests --device-id R58Y30HZ65V --instrumentation com.microsoft.maui.controls.devicetests.TestInstrumentation -o <local-output> --timeout 00:10:00 --arg results-file-name=shell-activation-final-results.xml Final: 86/89 pass, including 13/13 new cases; only the 3 confirmed baseline margin failures remain. .dotnet/dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj -c Release --filter 'FullyQualifiedName~Shell' --logger 'trx;LogFileName=shell-unit-tests.trx' --results-directory <local-output> BLOCKED before execution: pre-existing RS0030 banned generic handler registrations in unchanged unit-test files. No analyzers were disabled and no unrelated source was changed. ``` The prescribed runner's build/class-filter machinery was used. Physical-device execution used explicit XHarness instrumentation because the emulator-start helper rejects physical serials; no emulator or shared adb server was restarted. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> No new issue filed at the author's request. Related historical single-page report: [#37282](#37282); this PR addresses the distinct multi-tab inactive-content case. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
This was referenced Oct 13, 2026
auto-merge was automatically disabled
October 14, 2026 10:12
Pull request was closed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I detected changes in the net11.0 branch which have not been merged yet to release/11.0.1xx-rc2. I'm a robot and am configured to help you automatically keep release/11.0.1xx-rc2 up to date, so I've opened this PR.
This PR merges commits made on net11.0 by the following committers:
Instructions for merging from UI
This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.
If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.
Instructions for merging via command line
Run these commands to merge this pull request from the command line.
or if you are using SSH
After PR checks are complete push the branch
Instructions for resolving conflicts
Instructions for updating this pull request
Contributors to this repo have permission update this pull request by pushing to the branch 'merge/net11.0-to-release/11.0.1xx-rc2'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.
or if you are using SSH
Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.