Skip to content

[automated] Merge branch 'main' => 'net11.0' - #39034

Merged
kubaflo merged 6 commits into
net11.0from
merge/main-to-net11.0
Oct 1, 2026
Merged

kubaflo merged 6 commits into
net11.0from
merge/main-to-net11.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.

merge button instructions

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.

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
or if you are using SSH
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or 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
or if you are using SSH
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

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.

Dhivya-SF4094 and others added 6 commits September 30, 2026 12:50
…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">
|
<!-- 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>
…w items" (#39010)

Reverts #37674 It was supposed to be merged to
inflight/current not main
<!-- 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/*
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved automated inter-branch merge.

@kubaflo
kubaflo disabled auto-merge October 1, 2026 10:47
@kubaflo
kubaflo merged commit 325ca5c into net11.0 Oct 1, 2026
30 of 35 checks passed
@kubaflo
kubaflo deleted the merge/main-to-net11.0 branch October 1, 2026 10:47
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Oct 1, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2026
@github-actions github-actions Bot modified the milestones: .NET 11.0-rc2, .NET 11.0 GA Nov 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants