Skip to content

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

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

kubaflo merged 2 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:

  • 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.

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.

kubaflo and others added 2 commits October 22, 2026 11:59
<!-- 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 -->

Explicitly import the installed `Microsoft.PowerShell.Management` and
`Microsoft.PowerShell.Utility` manifests from `$PSHOME` before the
empty-queue helper uses their cmdlets. This avoids relying on automatic
module discovery inside the AWF chroot.

The reported run failed at `Get-Content` even though the queue was
authoritatively empty, so the workflow emitted `report_incomplete`
instead of completing with `noop`. A later scheduled run succeeded with
the unchanged helper, showing that the environment failure is
intermittent.

This five-line change applies to the shared helper used by both `main`
and `net11.0`. Strict snapshot validation, metadata persistence before
expectation registration, registrar exit-code handling, and success-only
`noop` gating are unchanged. No workflow sources, generated locks,
permissions, dependencies, or pipeline tests are changed. This
supplements the helper introduced in #39237; no competing open fix was
found.

**Validation**

- Reproduced the original `Get-Content` resolution error in a fresh
PowerShell process with `$PSModuleAutoLoadingPreference = 'None'`; the
original helper exited 1 without creating completion artifacts. The
original helper succeeds with normal automatic loading.
- With the change, direct invocations succeed with automatic loading
disabled for both `main`/`ci-scan` and `net11.0`/`ci-scan-net11`. Each
produces zero-byte coverage, the exact summary header, and exactly one
`noop` expectation.
- Mismatched branch/label provenance still exits 1 before creating
completion artifacts.
- `gh aw compile ci-status-fix ci-status-fix-net11 --no-emit --strict
--no-check-update` - passed: 2 workflows succeeded, 0 warnings.
- PowerShell parser validation and `git diff --check` - passed.
- Read-only GPT security review - passed; no confirmed vulnerabilities
or changed credential/sandbox controls.
- Actual [PowerShell CI
run](https://github.com/dotnet/maui/actions/runs/39601588471) on commit
`a55a3923b3aaea22ac74a06b1b4d02979d533366`: **all 23 existing
empty-queue/bootstrap cases passed**, confirmed from the uploaded NUnit
results. The complete suite was **2,624 passed, 3 failed**. All three
failures are the same pre-existing reviewer-model policy assertions seen
in the [earlier main-targeting PR
run](https://github.com/dotnet/maui/actions/runs/39475824752), before
this change: two local-reviewer GPT-5.6 pin assertions and the hosted
review-tests model assertion. Those unrelated tests and model settings
were not changed.

**Hosted boundary:** the failing [reported
run](https://github.com/dotnet/maui/actions/runs/39350684403) and the
later [successful
run](https://github.com/dotnet/maui/actions/runs/39524407970) were
inspected. This patched revision has not been dispatched in the
production AWF chroot; local component reproduction and the passing
helper CI cases are not a claim of hosted deployment verification. Azure
product validation was filtered out by its trigger conditions; the AzDO
build query returned no builds for this PR.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Fixes #39476

<!--
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>
Copilot-Session: 8f522b9d-4994-414a-a03e-f3d7a9043385
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
@azure-pipelines

This comment has been minimized.

@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.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Oct 22, 2026
@kubaflo
kubaflo disabled auto-merge October 22, 2026 17:27
@kubaflo
kubaflo merged commit 7b0ea78 into net11.0 Oct 22, 2026
31 of 34 checks passed
@kubaflo
kubaflo deleted the merge/main-to-net11.0 branch October 22, 2026 17:28
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Oct 22, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

s/agent-review-in-progress AI review is currently running for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant