Repository navigation
[automated] Merge branch 'main' => 'net11.0' - #39547
Merged
Merged
Conversation
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! 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/*
This comment has been minimized.
This comment has been minimized.
kubaflo
disabled auto-merge
October 22, 2026 17:27
38 tasks done
3 of 4 tasks
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 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:
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/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.
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.