Repository navigation
[automated] Merge branch 'main' => 'net11.0' - #39120
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 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: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
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.