Skip to content

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

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

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

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 4, 2026

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 4, 2026 00:22
<!-- 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

Increase the navigation timeout in `WebViewShouldLoadEncodedUrl` from 5
seconds to 30 seconds. The final diff is one line in the device test; no
production code or app configuration changes.

In #39103, the non-ASCII URL case timed out on iOS CoreCLR and passed
when the same commit was retried. Giving navigation more time reduces
sensitivity to network latency on CI machines.

All five original external URLs, the successful-navigation assertion,
the existing internet-connectivity guard and the Windows skip for #27425
remain unchanged. There are no new test retries or skips. This does not
eliminate the external-network dependency or guarantee that every future
run will pass.

The initial loopback-server approach was removed in favor of this
timeout-only change. Results from that earlier implementation do not
validate this revision.

**Validation of revision `f57f8cd970`**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Core/tests/DeviceTests/Handlers/WebView/WebViewHandlerTests.cs
--verbosity quiet` — passed.
- `pwsh -NoProfile -File
.github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project
Core -Platform ios -BuildOnly -SkipXcodeVersionCheck` — passed, 0
warnings and 0 errors.
- `git diff --check` — passed. Comparison against the pre-PR baseline
confirms that the only remaining change is the timeout.
- `/azp run maui-pr-devicetests` — accepted; [build
1622269](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1622269)
tested merge `21dc8af989ecbf29d9508f199bad46591ec8316f`, whose parents
include this PR head `f57f8cd970b5046af8dc77db37092b07d5b1e52d`.
- The first iOS submission failed before tests because the SDK feed
returned HTTP 503. Retried only `devicetests_ios` using `az devops
invoke --organization https://dev.azure.com/dnceng-public --area build
--resource stages --route-parameters project=public buildId=1622269
stageRefName=devicetests_ios --http-method PATCH --api-version 7.1
--in-file <retry-ios-stage.json>` with body
`{"state":"retry","forceRetryAllJobs":false}` — accepted, attempt 2
succeeded on the unchanged commit. No failed WebView case was retried.

Actual Core `testResults.xml` files were parsed, selecting `test.method
== WebViewShouldLoadEncodedUrl` rather than inferring coverage from
pipeline badges:

| Platform/runtime | Queue | Encoded-URL results | Core failures/errors
|
| --- | --- | --- | --- |
| Android Mono | Android 33 | 5 passed | 0 / 0 |
| Android CoreCLR | Android 33 | 5 passed | 0 / 0 |
| MacCatalyst Mono | osx.15 | 5 passed | 0 / 0 |
| MacCatalyst Mono | osx.26 | 5 passed | 0 / 0 |
| iOS Mono, attempt 2 | osx.15 | 5 passed | 0 / 0 |
| iOS Mono, attempt 2 | osx.26 | 5 passed | 0 / 0 |
| Windows packaged/unpackaged | Windows 11 | Theory skipped in each | 0
/ 0 |

Result-file evidence: [Android
Mono](https://helix.dot.net/api/2019-06-17/jobs/be010adf-cbec-4c5a-9868-bc512636a429/workitems/com.microsoft.maui.core.devicetests-Signed/files/testResults.xml),
[Android
CoreCLR](https://helix.dot.net/api/2019-06-17/jobs/d86dd43c-39d1-42d9-bf04-2e19202a6fc6/workitems/com.microsoft.maui.core.devicetests-Signed/files/testResults.xml),
[MacCatalyst
osx.15](https://helix.dot.net/api/2019-06-17/jobs/a9dc4f5a-9c3b-48f9-adec-2f31379a0a69/workitems/Core%20Tests/files/testResults.xml),
[MacCatalyst
osx.26](https://helix.dot.net/api/2019-06-17/jobs/5048bbba-93e6-4c33-90f8-4a380c2c9d29/workitems/Core%20Tests/files/testResults.xml),
[iOS
osx.15](https://helix.dot.net/api/2019-06-17/jobs/852b2666-880f-450c-9702-ef022e8b7f4a/workitems/Microsoft.Maui.Core.DeviceTests/files/testResults.xml),
[iOS
osx.26](https://helix.dot.net/api/2019-06-17/jobs/e97499ad-fe26-44f9-85ad-cce3def2ff9f/workitems/Microsoft.Maui.Core.DeviceTests/files/testResults.xml).

**Coverage limit:** The existing connectivity helper returns early and
reports a pass when internet is unavailable, without recording that
branch in the result XML. These 30 passing records establish the test
outcome in this run, not proof that every instance performed navigation
or that increasing the timeout permanently eliminates the flake. Windows
encoding coverage remains absent by the existing skip. Native tests were
not run locally for this revision; no XCTest was used.

**Remaining pipeline failure:** The overall device-test build is still
red because `Controls Tests` on MacCatalyst osx.15 failed `CarouselView
Does Not Leak With Default ItemsLayout` (a retained CarouselView
reference). The Core WebView results above are passing; this PR does not
change that Controls test. [Controls result
XML](https://helix.dot.net/api/2019-06-17/jobs/a9dc4f5a-9c3b-48f9-adec-2f31379a0a69/workitems/Controls%20Tests/files/testResults.xml).
This is not a declaration of overall merge readiness.

### 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 encoded-URL WebView timeout observed in #39103; related to
#34577. This does not change or supersede the dependency-update PR.

<!--
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/*
@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 4, 2026 11:31
@kubaflo
kubaflo merged commit 02c0168 into net11.0 Oct 4, 2026
28 of 35 checks passed
@kubaflo
kubaflo deleted the merge/main-to-net11.0 branch October 4, 2026 11:31
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Oct 4, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 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.

1 participant